net.sf.fastxmldb.impl
Class LocalXMLResource
java.lang.Object
|
+--net.sf.fastxmldb.impl.LocalXMLResource
- All Implemented Interfaces:
- org.xmldb.api.base.Resource, org.xmldb.api.modules.XMLResource
- public class LocalXMLResource
- extends java.lang.Object
- implements org.xmldb.api.modules.XMLResource
- Author:
- jbirchfield
Field Summary |
static java.lang.String |
RESOURCE_TYPE
The XMLResource type |
Constructor Summary |
LocalXMLResource(java.lang.String docId)
Default COnstructor |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- The XMLResource type
LocalXMLResource
public LocalXMLResource(java.lang.String docId)
- Default COnstructor
- Parameters:
docId
- the document id
getContentAsDOM
public org.w3c.dom.Node getContentAsDOM()
throws org.xmldb.api.base.XMLDBException
- not yet implemented
- Specified by:
getContentAsDOM
in interface org.xmldb.api.modules.XMLResource
- See Also:
XMLResource.getContentAsDOM()
getContentAsSAX
public void getContentAsSAX(org.xml.sax.ContentHandler contentHandler)
throws org.xmldb.api.base.XMLDBException
- not yet implemented
- Specified by:
getContentAsSAX
in interface org.xmldb.api.modules.XMLResource
- See Also:
XMLResource.getContentAsSAX(ContentHandler)
getDocumentId
public java.lang.String getDocumentId()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getDocumentId
in interface org.xmldb.api.modules.XMLResource
- See Also:
XMLResource.getDocumentId()
setContentAsDOM
public void setContentAsDOM(org.w3c.dom.Node node)
throws org.xmldb.api.base.XMLDBException
- not yet implemented
- Specified by:
setContentAsDOM
in interface org.xmldb.api.modules.XMLResource
- See Also:
XMLResource.setContentAsDOM(Node)
setContentAsSAX
public org.xml.sax.ContentHandler setContentAsSAX()
throws org.xmldb.api.base.XMLDBException
- not yet implemented
- Specified by:
setContentAsSAX
in interface org.xmldb.api.modules.XMLResource
- See Also:
XMLResource.setContentAsSAX()
getContent
public java.lang.Object getContent()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContent
in interface org.xmldb.api.base.Resource
- See Also:
Resource.getContent()
getId
public java.lang.String getId()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getId
in interface org.xmldb.api.base.Resource
- See Also:
Resource.getId()
getParentCollection
public org.xmldb.api.base.Collection getParentCollection()
throws org.xmldb.api.base.XMLDBException
- not yet implemented
- Specified by:
getParentCollection
in interface org.xmldb.api.base.Resource
- See Also:
Resource.getParentCollection()
getResourceType
public java.lang.String getResourceType()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getResourceType
in interface org.xmldb.api.base.Resource
- See Also:
Resource.getResourceType()
setContent
public void setContent(java.lang.Object o)
throws org.xmldb.api.base.XMLDBException
- Specified by:
setContent
in interface org.xmldb.api.base.Resource
- See Also:
Resource.setContent(Object)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(Object)
Copyright © 2003-2003 Birchfield & Associates, Inc.. All Rights Reserved.