Package ca.phon.query.db.xml
Class XMLQueryFactory
java.lang.Object
ca.phon.query.db.xml.XMLQueryFactory
- All Implemented Interfaces:
QueryFactory
XML-based implementation of
QueryFactory
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a query instance without an attached project.createQuery
(Project project) Create a Query instance for the specified project.Create a Result instance.Create a ResultSet instance.Create a ResultValue instance.Create a Script instance.
-
Constructor Details
-
XMLQueryFactory
public XMLQueryFactory()
-
-
Method Details
-
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 interfaceQueryFactory
- Returns:
- a Query instance
-
createQuery
Description copied from interface:QueryFactory
Create a Query instance for the specified project.- Specified by:
createQuery
in interfaceQueryFactory
- Parameters:
project
- the project this query will be created for- Returns:
- a Query instance
-
createResultSet
Description copied from interface:QueryFactory
Create a ResultSet instance.- Specified by:
createResultSet
in interfaceQueryFactory
- Returns:
- a ResultSet instance
-
createResult
Description copied from interface:QueryFactory
Create a Result instance.- Specified by:
createResult
in interfaceQueryFactory
- Returns:
- a Result instance
-
createScript
Description copied from interface:QueryFactory
Create a Script instance.- Specified by:
createScript
in interfaceQueryFactory
- Returns:
- a Script instance
-
createResultValue
Description copied from interface:QueryFactory
Create a ResultValue instance.- Specified by:
createResultValue
in interfaceQueryFactory
- Returns:
- a ResultValue instance
-