|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.xml.parsers.DocumentBuilder | +--weblogic.apache.xerces.jaxp.DocumentBuilderImpl
The DocumentBuilder
implementation for the Apache Xerces XML
parser.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Constructor Summary | |
protected |
DocumentBuilderImpl(boolean namespaces,
boolean validation)
Create a new SAXParserFactoryImpl instance. |
Method Summary | |
boolean |
isNamespaceAware()
Returns whether or not this parser supports XML namespaces. |
boolean |
isValidating()
Returns whether or not this parser supports validating XML content. |
org.w3c.dom.Document |
newDocument()
Creates an new Document instance from the underlying DOM
implementation. |
org.w3c.dom.Document |
parse(org.xml.sax.InputSource source)
Parses the content of the given InputSource and returns
a Document object. |
void |
setEntityResolver(org.xml.sax.EntityResolver er)
Specifies the EntityResolver to be used by this
DocumentBuilderImpl . |
void |
setErrorHandler(org.xml.sax.ErrorHandler eh)
Specifies the ErrorHandler to be used by this
DocumentBuilderImpl . |
Methods inherited from class javax.xml.parsers.DocumentBuilder |
parse,
parse,
parse |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected DocumentBuilderImpl(boolean namespaces, boolean validation) throws javax.xml.parsers.ParserConfigurationException
SAXParserFactoryImpl
instance.Method Detail |
public org.w3c.dom.Document parse(org.xml.sax.InputSource source) throws org.xml.sax.SAXException, java.io.IOException, java.lang.IllegalArgumentException
InputSource
and returns
a Document
object.
public org.w3c.dom.Document newDocument()
Document
instance from the underlying DOM
implementation.
public boolean isNamespaceAware()
public boolean isValidating()
public void setEntityResolver(org.xml.sax.EntityResolver er)
EntityResolver
to be used by this
DocumentBuilderImpl
.
public void setErrorHandler(org.xml.sax.ErrorHandler eh)
ErrorHandler
to be used by this
DocumentBuilderImpl
.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |