org.apache.commons.jxpath.xml

Class XMLParser2

Implemented Interfaces:
XMLParser
Known Direct 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

Method Summary

boolean
isCoalescing()
boolean
isExpandEntityReferences()
boolean
isIgnoringComments()
boolean
isIgnoringElementContentWhitespace()
boolean
isNamespaceAware()
boolean
isValidating()
abstract Object
parseXML(InputStream stream)
void
setCoalescing(boolean coalescing)
void
setExpandEntityReferences(boolean expandEntityRef)
void
setIgnoringComments(boolean ignoreComments)
void
setIgnoringElementContentWhitespace(boolean whitespace)
void
setNamespaceAware(boolean namespaceAware)
void
setValidating(boolean validating)

Method Details

isCoalescing

public boolean isCoalescing()
See Also:
DocumentBuilderFactory.isCoalescing()

isExpandEntityReferences

public boolean isExpandEntityReferences()
See Also:
DocumentBuilderFactory.isExpandEntityReferences()

isIgnoringComments

public boolean isIgnoringComments()
See Also:
DocumentBuilderFactory.isIgnoringComments()

isIgnoringElementContentWhitespace

public boolean isIgnoringElementContentWhitespace()
See Also:
DocumentBuilderFactory.isIgnoringElementContentWhitespace()

isNamespaceAware

public boolean isNamespaceAware()
See Also:
DocumentBuilderFactory.isNamespaceAware()

isValidating

public boolean isValidating()
See Also:
DocumentBuilderFactory.isValidating()

parseXML

public abstract Object parseXML(InputStream stream)
Specified by:
parseXML in interface XMLParser

setCoalescing

public void setCoalescing(boolean coalescing)
See Also:
DocumentBuilderFactory.setCoalescing(boolean)

setExpandEntityReferences

public void setExpandEntityReferences(boolean expandEntityRef)
See Also:
DocumentBuilderFactory.setExpandEntityReferences(boolean)

setIgnoringComments

public void setIgnoringComments(boolean ignoreComments)
See Also:
DocumentBuilderFactory.setIgnoringComments(boolean)

setIgnoringElementContentWhitespace

public void setIgnoringElementContentWhitespace(boolean whitespace)
See Also:
DocumentBuilderFactory.setIgnoringElementContentWhitespace(boolean)

setNamespaceAware

public void setNamespaceAware(boolean namespaceAware)
See Also:
DocumentBuilderFactory.setNamespaceAware(boolean)

setValidating

public void setValidating(boolean validating)
See Also:
DocumentBuilderFactory.setValidating(boolean)