Package org.apache.commons.jxpath
Class XMLDocumentContainer
java.lang.Object
org.apache.commons.jxpath.XMLDocumentContainer
- All Implemented Interfaces:
Serializable,Container
Deprecated.
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DocumentContainerDeprecated.The delegate document container.private ObjectDeprecated.The DOM document.private static final longDeprecated.private SourceDeprecated.The transformation source.private URLDeprecated.The document source. -
Constructor Summary
ConstructorsConstructorDescriptionXMLDocumentContainer(URL xmlURL) Deprecated.Constructs a new XMLDocumentContainer.XMLDocumentContainer(Source source) Deprecated.Constructs a new XMLDocumentContainer. -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
delegate
Deprecated.The delegate document container. -
document
Deprecated.The DOM document. -
xmlURL
Deprecated.The document source. -
source
Deprecated.The transformation source.
-
-
Constructor Details
-
XMLDocumentContainer
Deprecated.Constructs a new XMLDocumentContainer.- Parameters:
source- XML source
-
XMLDocumentContainer
Deprecated.Constructs a new XMLDocumentContainer.- Parameters:
xmlURL- a URL for an XML file. Use getClass().getResource(resourceName) to load XML from a resource file.
-
-
Method Details
DocumentContainer