Package org.basex.api.xmldb
Class BXXMLResource
- java.lang.Object
-
- org.basex.api.xmldb.BXXMLResource
-
- All Implemented Interfaces:
org.xmldb.api.base.Resource,org.xmldb.api.modules.XMLResource
public final class BXXMLResource extends Object implements org.xmldb.api.modules.XMLResource
Implementation of the XMLResource Interface for the XMLDB:API.- Author:
- BaseX Team 2005-23, BSD License, Christian Gruen
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetContent()NodegetContentAsDOM()voidgetContentAsSAX(ContentHandler handler)StringgetDocumentId()StringgetId()org.xmldb.api.base.CollectiongetParentCollection()StringgetResourceType()voidsetContent(Object value)voidsetContentAsDOM(Node cont)ContentHandlersetContentAsSAX()
-
-
-
Method Detail
-
getParentCollection
public org.xmldb.api.base.Collection getParentCollection()
- Specified by:
getParentCollectionin interfaceorg.xmldb.api.base.Resource
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.xmldb.api.base.Resource
-
getResourceType
public String getResourceType()
- Specified by:
getResourceTypein interfaceorg.xmldb.api.base.Resource
-
getContent
public Object getContent() throws org.xmldb.api.base.XMLDBException
- Specified by:
getContentin interfaceorg.xmldb.api.base.Resource- Throws:
org.xmldb.api.base.XMLDBException
-
setContent
public void setContent(Object value) throws org.xmldb.api.base.XMLDBException
- Specified by:
setContentin interfaceorg.xmldb.api.base.Resource- Throws:
org.xmldb.api.base.XMLDBException
-
getDocumentId
public String getDocumentId() throws org.xmldb.api.base.XMLDBException
- Specified by:
getDocumentIdin interfaceorg.xmldb.api.modules.XMLResource- Throws:
org.xmldb.api.base.XMLDBException
-
getContentAsDOM
public Node getContentAsDOM()
- Specified by:
getContentAsDOMin interfaceorg.xmldb.api.modules.XMLResource
-
setContentAsDOM
public void setContentAsDOM(Node cont) throws org.xmldb.api.base.XMLDBException
- Specified by:
setContentAsDOMin interfaceorg.xmldb.api.modules.XMLResource- Throws:
org.xmldb.api.base.XMLDBException
-
getContentAsSAX
public void getContentAsSAX(ContentHandler handler) throws org.xmldb.api.base.XMLDBException
- Specified by:
getContentAsSAXin interfaceorg.xmldb.api.modules.XMLResource- Throws:
org.xmldb.api.base.XMLDBException
-
setContentAsSAX
public ContentHandler setContentAsSAX()
- Specified by:
setContentAsSAXin interfaceorg.xmldb.api.modules.XMLResource
-
-