uk.org.ogsadai.client.toolkit.activity.xmldb
Class ResourceImpl
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.activity.xmldb.ResourceImpl
- All Implemented Interfaces:
- org.xmldb.api.base.Resource, org.xmldb.api.modules.XMLResource
- public class ResourceImpl
- extends java.lang.Object
- implements org.xmldb.api.base.Resource, org.xmldb.api.modules.XMLResource
A simple read-only implementation of the
org.xmldb.api.base.Resource interface.
- Author:
- The OGSA-DAI Project Team
| Fields inherited from interface org.xmldb.api.modules.XMLResource |
RESOURCE_TYPE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getParentCollection
public org.xmldb.api.base.Collection getParentCollection()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getParentCollection in interface org.xmldb.api.base.Resource
org.xmldb.api.base.XMLDBException
getId
public java.lang.String getId()
- Specified by:
getId in interface org.xmldb.api.base.Resource
getResourceType
public java.lang.String getResourceType()
- Specified by:
getResourceType in interface org.xmldb.api.base.Resource
getContent
public java.lang.Object getContent()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContent in interface org.xmldb.api.base.Resource
org.xmldb.api.base.XMLDBException
setContent
public void setContent(java.lang.Object arg0)
throws org.xmldb.api.base.XMLDBException
- Specified by:
setContent in interface org.xmldb.api.base.Resource
org.xmldb.api.base.XMLDBException
getDocumentId
public java.lang.String getDocumentId()
- Specified by:
getDocumentId in interface org.xmldb.api.modules.XMLResource
getContentAsDOM
public org.w3c.dom.Node getContentAsDOM()
- Specified by:
getContentAsDOM in interface org.xmldb.api.modules.XMLResource
setContentAsDOM
public void setContentAsDOM(org.w3c.dom.Node arg0)
throws org.xmldb.api.base.XMLDBException
- Specified by:
setContentAsDOM in interface org.xmldb.api.modules.XMLResource
org.xmldb.api.base.XMLDBException
getContentAsSAX
public void getContentAsSAX(org.xml.sax.ContentHandler arg0)
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContentAsSAX in interface org.xmldb.api.modules.XMLResource
org.xmldb.api.base.XMLDBException
setContentAsSAX
public org.xml.sax.ContentHandler setContentAsSAX()
throws org.xmldb.api.base.XMLDBException
- Specified by:
setContentAsSAX in interface org.xmldb.api.modules.XMLResource
org.xmldb.api.base.XMLDBException