net.sf.nxqd.xmldb
Class NxqdXPathQueryService
java.lang.Object
net.sf.nxqd.xmldb.NxqdService
net.sf.nxqd.xmldb.NxqdXPathQueryService
- All Implemented Interfaces:
- Configurable, Service, XPathQueryService
public class NxqdXPathQueryService
- extends NxqdService
- implements XPathQueryService
The class NxqdXPathQueryService
is an implemenation of
org.xmldb.api.modules.XPathQueryService
.
- Version:
- 1.0
- Author:
- webhiker
- See Also:
XPathQueryService
NxqdXPathQueryService
public NxqdXPathQueryService(NxqdCollection parent)
throws XMLDBException
- Throws:
XMLDBException
setNamespace
public void setNamespace(String prefix,
String uri)
throws XMLDBException
- Specified by:
setNamespace
in interface XPathQueryService
- Throws:
XMLDBException
- See Also:
XPathQueryService.setNamespace(java.lang.String,
java.lang.String)
getNamespace
public String getNamespace(String prefix)
throws XMLDBException
- Specified by:
getNamespace
in interface XPathQueryService
- Throws:
XMLDBException
- See Also:
XPathQueryService.getNamespace(java.lang.String)
removeNamespace
public void removeNamespace(String prefix)
throws XMLDBException
- Specified by:
removeNamespace
in interface XPathQueryService
- Throws:
XMLDBException
- See Also:
XPathQueryService.removeNamespace(java.lang.String)
clearNamespaces
public void clearNamespaces()
throws XMLDBException
- Specified by:
clearNamespaces
in interface XPathQueryService
- Throws:
XMLDBException
- See Also:
XPathQueryService.clearNamespaces()
query
public ResourceSet query(String query)
throws XMLDBException
- Specified by:
query
in interface XPathQueryService
- Throws:
XMLDBException
- See Also:
XPathQueryService.query(java.lang.String)
queryCollection
public static void queryCollection(String query,
NxqdCollection collection,
Map namespaces,
ResourceSet results,
boolean recurseChildren)
throws XMLDBException
- Throws:
XMLDBException
queryResource
public ResourceSet queryResource(String id,
String query)
throws XMLDBException
- Specified by:
queryResource
in interface XPathQueryService
- Throws:
XMLDBException
- See Also:
XPathQueryService.queryResource(java.lang.String,
java.lang.String)
Copyright © 2005-2006 nxqd. All Rights Reserved.