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
Implementation of the XMLResource Interface for the XMLDB:API.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields inherited from interface org.xmldb.api.modules.XMLResource
RESOURCE_TYPE -
Method Summary
Modifier and TypeMethodDescriptionvoidgetContentAsSAX(ContentHandler handler) getId()org.xmldb.api.base.CollectionvoidsetContent(Object value) voidsetContentAsDOM(Node cont)
-
Method Details
-
getParentCollection
public org.xmldb.api.base.Collection getParentCollection()- Specified by:
getParentCollectionin interfaceorg.xmldb.api.base.Resource
-
getId
- Specified by:
getIdin interfaceorg.xmldb.api.base.Resource
-
getResourceType
- Specified by:
getResourceTypein interfaceorg.xmldb.api.base.Resource
-
getContent
- Specified by:
getContentin interfaceorg.xmldb.api.base.Resource- Throws:
org.xmldb.api.base.XMLDBException
-
setContent
- Specified by:
setContentin interfaceorg.xmldb.api.base.Resource- Throws:
org.xmldb.api.base.XMLDBException
-
getDocumentId
- Specified by:
getDocumentIdin interfaceorg.xmldb.api.modules.XMLResource- Throws:
org.xmldb.api.base.XMLDBException
-
getContentAsDOM
- Specified by:
getContentAsDOMin interfaceorg.xmldb.api.modules.XMLResource
-
setContentAsDOM
- Specified by:
setContentAsDOMin interfaceorg.xmldb.api.modules.XMLResource- Throws:
org.xmldb.api.base.XMLDBException
-
getContentAsSAX
- Specified by:
getContentAsSAXin interfaceorg.xmldb.api.modules.XMLResource- Throws:
org.xmldb.api.base.XMLDBException
-
setContentAsSAX
- Specified by:
setContentAsSAXin interfaceorg.xmldb.api.modules.XMLResource
-