Package ca.phon.query.db.xml
Class XMLQueryManager
java.lang.Object
ca.phon.query.db.QueryManager
ca.phon.query.db.xml.XMLQueryManager
XML-based implementation of
QueryManager
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate an instance of QueryFactoryCreate an instance of ResultSetManagerloadQuery
(InputStream stream) Load query from given streamLoad query from given path.void
Save 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:QueryManager
Create an instance of QueryFactory- Specified by:
createQueryFactory
in classQueryManager
- Returns:
- a QueryFactory instance
-
createResultSetManager
Description copied from class:QueryManager
Create an instance of ResultSetManager- Specified by:
createResultSetManager
in classQueryManager
- Returns:
- a ResultSetManager instance
-
saveQuery
Description copied from class:QueryManager
Save a query description to the given path.- Specified by:
saveQuery
in classQueryManager
- Throws:
IOException
-
loadQuery
Description copied from class:QueryManager
Load query from given stream- Specified by:
loadQuery
in classQueryManager
- Returns:
- the loaded Query
- Throws:
IOException
-
loadQuery
Description copied from class:QueryManager
Load query from given path.- Specified by:
loadQuery
in classQueryManager
- Returns:
- the loaded Query
- Throws:
IOException
-