org.apache.commons.jxpath.xml
Class DOMParser

java.lang.Object
  extended byorg.apache.commons.jxpath.xml.XMLParser2
      extended byorg.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: 1.6 $ $Date: 2004/02/29 14:17:37 $
Author:
Dmitri Plotnikov

Field Summary
 
Fields inherited from class org.apache.commons.jxpath.xml.XMLParser2
 
Constructor Summary
DOMParser()
           
 
Method Summary
 java.lang.Object parseXML(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMParser

public DOMParser()
Method Detail

parseXML

public java.lang.Object parseXML(java.io.InputStream stream)
Description copied from interface: XMLParser
Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.

Specified by:
parseXML in interface XMLParser
Specified by:
parseXML in class XMLParser2