Package org.apache.commons.jxpath.xml
Interface XMLParser
- All Known Implementing Classes:
DocumentContainer,DOMParser,JDOMParser,XMLParser2
public interface XMLParser
Common interface for XML parsers. We are not using JAXP because some of the parsers we want to support may not be JAXP compliant.
-
Method Summary
Modifier and TypeMethodDescriptionparseXML(InputStream stream) Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.
-
Method Details
-
parseXML
Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.- Parameters:
stream- InputStream- Returns:
- Object
-