org.apache.commons.jxpath.xml
Class XMLParser2
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 $
- Author:
- Dmitri Plotnikov
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)
- See Also:
DocumentBuilderFactory#setValidating(boolean)
isValidating
public boolean isValidating()
- See Also:
DocumentBuilderFactory#isValidating()
isNamespaceAware
public boolean isNamespaceAware()
- See Also:
DocumentBuilderFactory#isNamespaceAware()
setNamespaceAware
public void setNamespaceAware(boolean namespaceAware)
- See Also:
DocumentBuilderFactory#setNamespaceAware(boolean)
setIgnoringElementContentWhitespace
public void setIgnoringElementContentWhitespace(boolean whitespace)
- See Also:
DocumentBuilderFactory#setIgnoringElementContentWhitespace(boolean)
isIgnoringElementContentWhitespace
public boolean isIgnoringElementContentWhitespace()
- See Also:
DocumentBuilderFactory#isIgnoringElementContentWhitespace()
isExpandEntityReferences
public boolean isExpandEntityReferences()
- See Also:
DocumentBuilderFactory#isExpandEntityReferences()
setExpandEntityReferences
public void setExpandEntityReferences(boolean expandEntityRef)
- See Also:
DocumentBuilderFactory#setExpandEntityReferences(boolean)
isIgnoringComments
public boolean isIgnoringComments()
- See Also:
DocumentBuilderFactory#isIgnoringComments()
setIgnoringComments
public void setIgnoringComments(boolean ignoreComments)
- See Also:
DocumentBuilderFactory#setIgnoringComments(boolean)
isCoalescing
public boolean isCoalescing()
- See Also:
DocumentBuilderFactory#isCoalescing()
setCoalescing
public void setCoalescing(boolean coalescing)
- See Also:
DocumentBuilderFactory#setCoalescing(boolean)
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