|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.sixdml.excelon.xlnServiceBase
|
+--org.sixdml.excelon.xlnNamespaceAwareService
|
+--org.sixdml.excelon.xlnSixdmlQueryService
xlnSixdmlQueryService.java Used to perform XPath queries over collections. Created: Wed Jan 16 03:43:42 2002
| Field Summary | |
private org.sixdml.SixdmlNamespaceMap |
namespaceMap
This is the table of prefix to namespace mapping used when performing XPath queries against the database. |
private HashMap |
properties
This is the table of properties for the needed by the Configurable interface. |
private com.exln.dxe.Session |
session
A session provides the context in which an application can access XMLStores. |
| Fields inherited from class org.sixdml.excelon.xlnServiceBase |
collection |
| Fields inherited from interface org.sixdml.SixdmlConstants |
SIXDML_NS, SIXDML_VERSION |
| Constructor Summary | |
(package private) |
xlnSixdmlQueryService(com.exln.dxe.Session session)
Default constructor initializes service. |
| Method Summary | |
org.sixdml.query.SixdmlQueryResultsMap |
executeQuery(String query,
org.sixdml.SixdmlCollection collection)
Executes an XPath query against the specified collection. |
org.sixdml.query.SixdmlXpathObject |
executeQuery(String query,
org.sixdml.SixdmlResource resource)
Executes an XPath query against the specified collection. |
org.sixdml.query.SixdmlXpathObject |
executeQuery(com.exln.dxe.XPath query,
org.sixdml.SixdmlResource resource)
Executes an XPath query against the specified collection. |
String |
getName()
Gets the name of the service. |
| Methods inherited from class org.sixdml.excelon.xlnNamespaceAwareService |
addNamespaceMapping, clearNamespaceMappings, getNamespaceMapping, removeNamespaceMapping, setNamespaceMap |
| Methods inherited from class org.sixdml.excelon.xlnServiceBase |
getProperty, getVersion, setCollection, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.sixdml.query.SixdmlQueryService |
addNamespaceMapping, clearNamespaceMappings, getNamespaceMapping, removeNamespaceMapping, setNamespaceMap |
| Methods inherited from interface org.xmldb.api.base.Service |
getVersion, setCollection |
| Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
| Field Detail |
private com.exln.dxe.Session session
private HashMap properties
Configurable interface.
Configurableprivate org.sixdml.SixdmlNamespaceMap namespaceMap
| Constructor Detail |
xlnSixdmlQueryService(com.exln.dxe.Session session)
session - the DXE session associated with the class.| Method Detail |
public String getName()
getName in interface ServicegetName in class xlnServiceBase
public org.sixdml.query.SixdmlQueryResultsMap executeQuery(String query,
org.sixdml.SixdmlCollection collection)
throws InvalidQueryException,
XMLDBException
executeQuery in interface SixdmlQueryServicequery - the XPath query.collection - the collection to execute the query against.
InvalidQueryException - if the query is not valid XPath.
XMLDBException - if a database error occursSixdmlXpathObject
public org.sixdml.query.SixdmlXpathObject executeQuery(com.exln.dxe.XPath query,
org.sixdml.SixdmlResource resource)
throws XMLDBException
query - the XPath query as an eXcelon DXE XPath object.
XMLDBException - if a database error occurs
public org.sixdml.query.SixdmlXpathObject executeQuery(String query,
org.sixdml.SixdmlResource resource)
throws InvalidQueryException,
XMLDBException
executeQuery in interface SixdmlQueryServicequery - the XPath query as a string.
InvalidQueryException - if the query is not valid XPath.
XMLDBException - if a database error occursSixdmlXpathObject,
executeQuery(XPath, SixdmlResource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||