java.lang.Object
org.apache.commons.jxpath.xml.XMLParser2
- All Implemented Interfaces:
- XMLParser
- Direct Known Subclasses:
- DocumentContainer, DOMParser, JDOMParser
- public abstract class XMLParser2
- extends java.lang.Object
- implements XMLParser
The abstract superclass of XML parsers that produce DOM Documents.
The features have the same defaults as DocumentBuilderFactory.
- Version:
- $Revision: 1.3 $ $Date: 2004/02/29 14:17:37 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validating
private boolean validating
namespaceAware
private boolean namespaceAware
whitespace
private boolean whitespace
expandEntityRef
private boolean expandEntityRef
ignoreComments
private boolean ignoreComments
coalescing
private boolean coalescing
XMLParser2
public XMLParser2()
setValidating
public void setValidating(boolean validating)
isValidating
public boolean isValidating()
isNamespaceAware
public boolean isNamespaceAware()
setNamespaceAware
public void setNamespaceAware(boolean namespaceAware)
setIgnoringElementContentWhitespace
public void setIgnoringElementContentWhitespace(boolean whitespace)
isIgnoringElementContentWhitespace
public boolean isIgnoringElementContentWhitespace()
isExpandEntityReferences
public boolean isExpandEntityReferences()
setExpandEntityReferences
public void setExpandEntityReferences(boolean expandEntityRef)
isIgnoringComments
public boolean isIgnoringComments()
setIgnoringComments
public void setIgnoringComments(boolean ignoreComments)
isCoalescing
public boolean isCoalescing()
setCoalescing
public void setCoalescing(boolean coalescing)
parseXML
public abstract 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