XML:DB API

org.xmldb.api.reference.modules
Class XMLResourceImpl

java.lang.Object
  extended byorg.xmldb.api.sdk.modules.BaseResource
      extended byorg.xmldb.api.sdk.modules.SimpleXMLResource
          extended byorg.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
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)
           
 
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)

XML:DB API

Copyright (C) XML:DB Initiative. All rights reserved.%lt;/font>