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 Object
getContent()
Node
getContentAsDOM()
void
getContentAsSAX(ContentHandler handler)
String
getDocumentId()
String
getId()
org.xmldb.api.base.Collection
getParentCollection()
String
getResourceType()
void
setContent(Object value)
void
setContentAsDOM(Node cont)
ContentHandler
setContentAsSAX()
-
-
-
Method Detail
-
getParentCollection
public org.xmldb.api.base.Collection getParentCollection()
- Specified by:
getParentCollection
in interfaceorg.xmldb.api.base.Resource
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.xmldb.api.base.Resource
-
getResourceType
public String getResourceType()
- Specified by:
getResourceType
in interfaceorg.xmldb.api.base.Resource
-
getContent
public Object getContent() throws org.xmldb.api.base.XMLDBException
- Specified by:
getContent
in 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:
setContent
in interfaceorg.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
-
getDocumentId
public String getDocumentId() throws org.xmldb.api.base.XMLDBException
- Specified by:
getDocumentId
in interfaceorg.xmldb.api.modules.XMLResource
- Throws:
org.xmldb.api.base.XMLDBException
-
getContentAsDOM
public Node getContentAsDOM()
- Specified by:
getContentAsDOM
in interfaceorg.xmldb.api.modules.XMLResource
-
setContentAsDOM
public void setContentAsDOM(Node cont) throws org.xmldb.api.base.XMLDBException
- Specified by:
setContentAsDOM
in 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:
getContentAsSAX
in interfaceorg.xmldb.api.modules.XMLResource
- Throws:
org.xmldb.api.base.XMLDBException
-
setContentAsSAX
public ContentHandler setContentAsSAX()
- Specified by:
setContentAsSAX
in interfaceorg.xmldb.api.modules.XMLResource
-
-