| java.lang.Object org.apache.commons.jxpath.XMLDocumentContainer
XMLDocumentContainer | public class XMLDocumentContainer implements Container(Code) | | An XML document container reads and parses XML only when it is
accessed. JXPath traverses Containers transparently -
you use the same paths to access objects in containers as you
do to access those objects directly. You can create
XMLDocumentContainers for various XML documents that may or
may not be accessed by XPaths. If they are, they will be automatically
read, parsed and traversed. If they are not - they won't be
read at all.
author: Dmitri Plotnikov version: $Revision: 1.11 $ $Date: 2004/02/29 14:17:42 $ |
XMLDocumentContainer | public XMLDocumentContainer(URL xmlURL)(Code) | | Parameters: URL - is a URL for an XML file. Use getClass().getResource(resourceName) to load XML from a resource file. |
XMLDocumentContainer | public XMLDocumentContainer(Source source)(Code) | | |
getValue | public Object getValue()(Code) | | Reads XML, caches it internally and returns the Document.
|
setValue | public void setValue(Object value)(Code) | | Throws an UnsupportedOperationException
|
|
|