|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientService
gov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientXPathQueryService
public class XmldbClientXPathQueryService
Wraps the SOAP Calls in a XML:DB Database API compliant Xpath Query Service.
| Field Summary |
|---|
| Fields inherited from class gov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientService |
|---|
parentCollection, service, stub |
| Constructor Summary | |
|---|---|
XmldbClientXPathQueryService(gov.noaa.gdsg.xmldbremote.Service service,
gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub,
XmldbClientCollection parentCollection)
Creates a new instance of XmldbClientXPathQueryService |
|
| Method Summary | |
|---|---|
void |
clearNamespaces()
Clears the name space. |
java.lang.String |
getNamespace(java.lang.String prefix)
Returns the namespace of this Service |
org.xmldb.api.base.ResourceSet |
query(java.lang.String query)
Runs the specified XPath query. |
org.xmldb.api.base.ResourceSet |
queryResource(java.lang.String id,
java.lang.String query)
Queries a result |
void |
removeNamespace(java.lang.String prefix)
Removes the namespace |
void |
setNamespace(java.lang.String prefix,
java.lang.String uri)
Sets the namespace |
| Methods inherited from class gov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientService |
|---|
getName, 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.xmldb.api.base.Service |
|---|
getName, getVersion, setCollection |
| Methods inherited from interface org.xmldb.api.base.Configurable |
|---|
getProperty, setProperty |
| Constructor Detail |
|---|
public XmldbClientXPathQueryService(gov.noaa.gdsg.xmldbremote.Service service,
gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub,
XmldbClientCollection parentCollection)
service - The object reprenting the Service object on the serverstub - Used to make SOAP callsparentCollection - The collection this Service belongs to.| Method Detail |
|---|
public void clearNamespaces()
throws org.xmldb.api.base.XMLDBException
clearNamespaces in interface org.xmldb.api.modules.XPathQueryServiceorg.xmldb.api.base.XMLDBException - all is caught and rethrown as one.
public java.lang.String getNamespace(java.lang.String prefix)
throws org.xmldb.api.base.XMLDBException
getNamespace in interface org.xmldb.api.modules.XPathQueryServiceprefix - The prefix (stupid comment eh?)
org.xmldb.api.base.XMLDBException - all is caught and rethrown as one.
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 xpath query to execute.
org.xmldb.api.base.XMLDBException - all is caught and rethrown as one.
public org.xmldb.api.base.ResourceSet queryResource(java.lang.String id,
java.lang.String query)
throws org.xmldb.api.base.XMLDBException
queryResource in interface org.xmldb.api.modules.XPathQueryServiceid - The id of the resultquery - The query to run against the result
org.xmldb.api.base.XMLDBException - All is caught and rethrown as one.
public void removeNamespace(java.lang.String prefix)
throws org.xmldb.api.base.XMLDBException
removeNamespace in interface org.xmldb.api.modules.XPathQueryServiceprefix - The prefix.
org.xmldb.api.base.XMLDBException - All is caught and rethrown as one.
public void setNamespace(java.lang.String prefix,
java.lang.String uri)
throws org.xmldb.api.base.XMLDBException
setNamespace in interface org.xmldb.api.modules.XPathQueryServiceprefix - The prefixuri - The uri
org.xmldb.api.base.XMLDBException - All is caught and rethrown as one.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||