Package org.apache.commons.jxpath.xml
Class JDOMParser
java.lang.Object
org.apache.commons.jxpath.xml.XMLParser2
org.apache.commons.jxpath.xml.JDOMParser
- All Implemented Interfaces:
XMLParser
An implementation of the XMLParser interface that produces a JDOM Document.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseXML
(InputStream stream) Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.Methods inherited from class org.apache.commons.jxpath.xml.XMLParser2
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setValidating
-
Constructor Details
-
JDOMParser
public JDOMParser()Constructs a new instance.
-
-
Method Details
-
parseXML
Description copied from interface:XMLParser
Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.- Specified by:
parseXML
in interfaceXMLParser
- Specified by:
parseXML
in classXMLParser2
- Parameters:
stream
- InputStream- Returns:
- Object
-