|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.noaa.eds.xapi.generic.GenericConfigurable
gov.noaa.eds.xapi.generic.modules.GenericXPathQueryService
A slow query service that examines each resource one by one. It uses
Xalan Xpath implementation http://xml.apache.org/xalan-j.
| Field Summary |
| Fields inherited from class gov.noaa.eds.xapi.generic.GenericConfigurable |
properties |
| Constructor Summary | |
GenericXPathQueryService()
Creates a new instance of GenericXPathQueryService |
|
| Method Summary | |
void |
clearNamespaces()
Unsupported |
java.lang.String |
getName()
Returns XPathQueryService, which is the name of this service |
java.lang.String |
getNamespace(java.lang.String str)
Unsupported |
java.lang.String |
getVersion()
Returns the version, currently 1.0 |
org.xmldb.api.base.ResourceSet |
query(java.lang.String query)
Grabs each Resource from a collection and runs an XPath query on the DOM. |
org.xmldb.api.base.ResourceSet |
queryResource(java.lang.String str,
java.lang.String str1)
Unsupported |
void |
removeNamespace(java.lang.String str)
Unsupported |
void |
setCollection(org.xmldb.api.base.Collection collection)
Sets the collection in which to do queries against |
void |
setNamespace(java.lang.String str,
java.lang.String str1)
Unsupported |
| Methods inherited from class gov.noaa.eds.xapi.generic.GenericConfigurable |
getProperty, setProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xmldb.api.base.Configurable |
getProperty, setProperty |
| Constructor Detail |
public GenericXPathQueryService()
| Method Detail |
public void removeNamespace(java.lang.String str)
removeNamespace in interface org.xmldb.api.modules.XPathQueryService
public org.xmldb.api.base.ResourceSet query(java.lang.String query)
throws org.xmldb.api.base.XMLDBException
query in interface org.xmldb.api.modules.XPathQueryServicequery - The string query to perform on the collection
org.xmldb.api.base.XMLDBExceptionpublic java.lang.String getNamespace(java.lang.String str)
getNamespace in interface org.xmldb.api.modules.XPathQueryServicepublic void setCollection(org.xmldb.api.base.Collection collection)
setCollection in interface org.xmldb.api.base.Servicecollection - The collection to do a query against
public void setNamespace(java.lang.String str,
java.lang.String str1)
setNamespace in interface org.xmldb.api.modules.XPathQueryService
public org.xmldb.api.base.ResourceSet queryResource(java.lang.String str,
java.lang.String str1)
queryResource in interface org.xmldb.api.modules.XPathQueryServicepublic java.lang.String getVersion()
getVersion in interface org.xmldb.api.base.Servicepublic java.lang.String getName()
getName in interface org.xmldb.api.base.Servicepublic void clearNamespaces()
clearNamespaces in interface org.xmldb.api.modules.XPathQueryService
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||