|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientResource
gov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientXMLResource
public class XmldbClientXMLResource
Tranforms SOAP calls into the XML:DB API. This represents XMLResource objects.
| Field Summary |
|---|
| Fields inherited from class gov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientResource |
|---|
parentCollection, resourceTransport, stub |
| Fields inherited from interface org.xmldb.api.modules.XMLResource |
|---|
RESOURCE_TYPE |
| Constructor Summary | |
|---|---|
XmldbClientXMLResource(gov.noaa.gdsg.xmldbremote.Resource resourceTransport,
gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub,
XmldbClientCollection parentCollection)
Creates a new instance of XmldbClientXMLResource |
|
| Method Summary | |
|---|---|
org.w3c.dom.Node |
getContentAsDOM()
Retrieves the Resource content as an org.w3c.dom.Node object. |
void |
getContentAsSAX(org.xml.sax.ContentHandler contentHandler)
Throws a NOT_IMPLEMENTED Exception. |
java.lang.String |
getDocumentId()
Returns the id identifying this document this XMLResource is part of. |
gov.noaa.gdsg.xmldbremote.Resource |
getResourceTransport()
Getter for property resourceTransport. |
java.lang.String |
getResourceType()
Returns 'XMLResource' string. |
boolean |
getSAXFeature(java.lang.String feature)
|
void |
setContentAsDOM(org.w3c.dom.Node node)
Sets the content using an org.w3c.dom.Node. |
org.xml.sax.ContentHandler |
setContentAsSAX()
Throws a NOT_IMPLEMENTED Exception. |
void |
setResourceTransport(gov.noaa.gdsg.xmldbremote.Resource resourceTransport)
Setter for property resourceTransport. |
void |
setSAXFeature(java.lang.String feature,
boolean setting)
|
void |
syncDomWithService()
This syncronises the local DOM on the server with the local DOM. |
| Methods inherited from class gov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientResource |
|---|
getContent, getId, getParentCollection, setContent |
| 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.Resource |
|---|
getContent, getId, getParentCollection, setContent |
| Constructor Detail |
|---|
public XmldbClientXMLResource(gov.noaa.gdsg.xmldbremote.Resource resourceTransport,
gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub,
XmldbClientCollection parentCollection)
resourceTransport - The resource which represents the object on the remote server.stub - used to make SOAP callsparentCollection - The collection this resource belongs to.| Method Detail |
|---|
public gov.noaa.gdsg.xmldbremote.Resource getResourceTransport()
getResourceTransport in class XmldbClientResourcepublic void setResourceTransport(gov.noaa.gdsg.xmldbremote.Resource resourceTransport)
resourceTransport - New value of property resourceTransport.
public java.lang.String getResourceType()
throws org.xmldb.api.base.XMLDBException
getResourceType in interface org.xmldb.api.base.ResourcegetResourceType in class XmldbClientResourceorg.xmldb.api.base.XMLDBException - Never
public org.w3c.dom.Node getContentAsDOM()
throws org.xmldb.api.base.XMLDBException
getContentAsDOM in interface org.xmldb.api.modules.XMLResourceorg.xmldb.api.base.XMLDBException - All is caught and rethrown as one.
public void getContentAsSAX(org.xml.sax.ContentHandler contentHandler)
throws org.xmldb.api.base.XMLDBException
getContentAsSAX in interface org.xmldb.api.modules.XMLResourcecontentHandler - ignored.
org.xmldb.api.base.XMLDBException - With ErrorCodes.NOT_IMPLEMENTED.
public java.lang.String getDocumentId()
throws org.xmldb.api.base.XMLDBException
Resource#getId if this resource is an org.w3c.dom.Document
getDocumentId in interface org.xmldb.api.modules.XMLResourceorg.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.
public void syncDomWithService()
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.
public void setContentAsDOM(org.w3c.dom.Node node)
throws org.xmldb.api.base.XMLDBException
setContentAsDOM in interface org.xmldb.api.modules.XMLResourcenode - The Node which should replace the current node
org.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.
public org.xml.sax.ContentHandler setContentAsSAX()
throws org.xmldb.api.base.XMLDBException
setContentAsSAX in interface org.xmldb.api.modules.XMLResourceorg.xmldb.api.base.XMLDBException - With ErrorCodes.NOT_IMPLEMENTED.public boolean getSAXFeature(java.lang.String feature)
getSAXFeature in interface org.xmldb.api.modules.XMLResource
public void setSAXFeature(java.lang.String feature,
boolean setting)
setSAXFeature in interface org.xmldb.api.modules.XMLResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||