|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.noaa.gdsg.xmldbremote.service.BaseHandler
gov.noaa.gdsg.xmldbremote.service.ResourceHandler
This object is deisnged to keep track of Resource objects
| Constructor Summary | |
ResourceHandler()
Creates a new instance of ResourceHandler |
|
| Method Summary | |
protected BaseTransport |
createTransportObject(java.lang.Object object)
Creates the Resource Transport object. |
java.lang.String |
getContentAsDOMText(ResourceTransport transport)
Returns the resource content as an XML String. |
java.lang.String |
getDocumentId(ResourceTransport transport)
Returns the document id. |
org.xmldb.api.base.Collection |
getParentCollection(ResourceTransport transport)
Wrappes the Resrouce#getParentCollection method. |
void |
setContentAsDOMText(ResourceTransport transport,
java.lang.String xml)
Sets the resource content as the specified DOM String. |
| Methods inherited from class gov.noaa.gdsg.xmldbremote.service.BaseHandler |
getAllStoredObjects, getObjectFromSession, nextId, saveForSession |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceHandler()
| Method Detail |
protected BaseTransport createTransportObject(java.lang.Object object)
throws org.xmldb.api.base.XMLDBException
createTransportObject in class BaseHandlerobject - The object in which to create a lightweight transport object.
org.xmldb.api.base.XMLDBException - IF something goes wrong.
public java.lang.String getContentAsDOMText(ResourceTransport transport)
throws org.xmldb.api.base.XMLDBException
transport - The object representing the object in which the contents
will be extracted.
org.xmldb.api.base.XMLDBException - All exceptions are caught and rethrown.
public java.lang.String getDocumentId(ResourceTransport transport)
throws org.xmldb.api.base.XMLDBException
transport - The transport representing the object in which to tget a document id.
org.xmldb.api.base.XMLDBException - If the wrapped method throws one.
public void setContentAsDOMText(ResourceTransport transport,
java.lang.String xml)
throws org.xmldb.api.base.XMLDBException
transport - The transport object representing the actual object.xml - The XML to set as DOM.
org.xmldb.api.base.XMLDBException - All exceptions are caught and rethrown.
public org.xmldb.api.base.Collection getParentCollection(ResourceTransport transport)
throws org.xmldb.api.base.XMLDBException
Resrouce#getParentCollection method.
transport - The object representing the actual object to work on.
org.xmldb.api.base.XMLDBException - If the wrapped method throws one.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||