Package org.apache.commons.jxpath.xml
Class DOMParser
- java.lang.Object
-
- org.apache.commons.jxpath.xml.XMLParser2
-
- org.apache.commons.jxpath.xml.DOMParser
-
- All Implemented Interfaces:
XMLParser
public class DOMParser extends XMLParser2
An implementation of the XMLParser interface that produces a DOM Document.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
-
-
Constructor Summary
Constructors Constructor Description DOMParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectparseXML(java.io.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
-
-
-
-
Method Detail
-
parseXML
public java.lang.Object parseXML(java.io.InputStream stream)
Description copied from interface:XMLParserReads the supplied XML file and returns the resulting model, which is not necessarily DOM.- Specified by:
parseXMLin interfaceXMLParser- Specified by:
parseXMLin classXMLParser2- Parameters:
stream- InputStream- Returns:
- Object
-
-