Package org.xmldb.api.reference.modules
Class XMLResourceImpl
- java.lang.Object
-
- org.xmldb.api.sdk.modules.BaseResource
-
- org.xmldb.api.sdk.modules.SimpleXMLResource
-
- org.xmldb.api.reference.modules.XMLResourceImpl
-
- All Implemented Interfaces:
Resource
,XMLResource
public class XMLResourceImpl extends SimpleXMLResource
Provides access to XML resources stored in the file system. This is a default implementation derived from SimpleXMLResource that is part of the SDK.
-
-
Field Summary
-
Fields inherited from interface org.xmldb.api.modules.XMLResource
RESOURCE_TYPE
-
-
Constructor Summary
Constructors Constructor Description XMLResourceImpl(Collection parent, java.lang.String id, java.lang.String documentID)
XMLResourceImpl(Collection parent, java.lang.String id, java.lang.String documentID, java.lang.String content)
-
Method Summary
-
Methods inherited from class org.xmldb.api.sdk.modules.SimpleXMLResource
getContent, getContentAsDOM, getContentAsSAX, getDocumentId, getResourceType, getSAXFeature, setContent, setContentAsDOM, setContentAsSAX, setSAXFeature
-
Methods inherited from class org.xmldb.api.sdk.modules.BaseResource
getId, getParentCollection
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xmldb.api.base.Resource
getId, getParentCollection
-
-
-
-
Constructor Detail
-
XMLResourceImpl
public XMLResourceImpl(Collection parent, java.lang.String id, java.lang.String documentID)
-
XMLResourceImpl
public XMLResourceImpl(Collection parent, java.lang.String id, java.lang.String documentID, java.lang.String content)
-
-