Class XMLQueryManager
java.lang.Object
ca.phon.query.db.QueryManager
ca.phon.query.db.xml.XMLQueryManager
XML-based implementation of
QueryManager.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an instance of QueryFactoryCreate an instance of ResultSetManagerloadQuery(InputStream stream) Load query from given streamLoad query from given path.voidSave a query description to the given path.Methods inherited from class ca.phon.query.db.QueryManager
getInstance, getSharedInstance
-
Constructor Details
-
XMLQueryManager
public XMLQueryManager()
-
-
Method Details
-
createQueryFactory
Description copied from class:QueryManagerCreate an instance of QueryFactory- Specified by:
createQueryFactoryin classQueryManager- Returns:
- a QueryFactory instance
-
createResultSetManager
Description copied from class:QueryManagerCreate an instance of ResultSetManager- Specified by:
createResultSetManagerin classQueryManager- Returns:
- a ResultSetManager instance
-
saveQuery
Description copied from class:QueryManagerSave a query description to the given path.- Specified by:
saveQueryin classQueryManager- Parameters:
query-path-- Throws:
IOException
-
loadQuery
Description copied from class:QueryManagerLoad query from given stream- Specified by:
loadQueryin classQueryManager- Parameters:
stream-- Returns:
- the loaded Query
- Throws:
IOException
-
loadQuery
Description copied from class:QueryManagerLoad query from given path.- Specified by:
loadQueryin classQueryManager- Parameters:
path-- Returns:
- the loaded Query
- Throws:
IOException
-