Class XMLQueryFactory

java.lang.Object
ca.phon.query.db.xml.XMLQueryFactory
All Implemented Interfaces:
QueryFactory

public class XMLQueryFactory extends Object implements QueryFactory
XML-based implementation of QueryFactory.
  • Constructor Details

    • XMLQueryFactory

      public XMLQueryFactory()
  • Method Details

    • createQuery

      public Query createQuery()
      Description copied from interface: QueryFactory
      Create a query instance without an attached project. This type of query is used to save a script along with entered parameters.
      Specified by:
      createQuery in interface QueryFactory
      Returns:
      a Query instance
    • createQuery

      public Query createQuery(Project project)
      Description copied from interface: QueryFactory
      Create a Query instance for the specified project.
      Specified by:
      createQuery in interface QueryFactory
      Parameters:
      project - the project this query will be created for
      Returns:
      a Query instance
    • createResultSet

      public ResultSet createResultSet()
      Description copied from interface: QueryFactory
      Create a ResultSet instance.
      Specified by:
      createResultSet in interface QueryFactory
      Returns:
      a ResultSet instance
    • createResult

      public Result createResult()
      Description copied from interface: QueryFactory
      Create a Result instance.
      Specified by:
      createResult in interface QueryFactory
      Returns:
      a Result instance
    • createScript

      public Script createScript()
      Description copied from interface: QueryFactory
      Create a Script instance.
      Specified by:
      createScript in interface QueryFactory
      Returns:
      a Script instance
    • createResultValue

      public ResultValue createResultValue()
      Description copied from interface: QueryFactory
      Create a ResultValue instance.
      Specified by:
      createResultValue in interface QueryFactory
      Returns:
      a ResultValue instance