public class DocumentBuilderImpl extends javax.xml.parsers.DocumentBuilder implements JAXPConstants
JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, W3C_XML_SCHEMA
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.DOMImplementation |
getDOMImplementation() |
javax.xml.validation.Schema |
getSchema() |
boolean |
isNamespaceAware() |
boolean |
isValidating() |
boolean |
isXIncludeAware()
Gets the XInclude processing mode for this parser
|
org.w3c.dom.Document |
newDocument()
Non-preferred: use the getDOMImplementation() method instead of this
one to get a DOM Level 2 DOMImplementation object and then use DOM
Level 2 methods to create a DOM Document object.
|
org.w3c.dom.Document |
parse(org.xml.sax.InputSource is) |
void |
reset() |
void |
setEntityResolver(org.xml.sax.EntityResolver er) |
void |
setErrorHandler(org.xml.sax.ErrorHandler eh) |
public org.w3c.dom.Document newDocument()
newDocument
in class javax.xml.parsers.DocumentBuilder
public org.w3c.dom.DOMImplementation getDOMImplementation()
getDOMImplementation
in class javax.xml.parsers.DocumentBuilder
public org.w3c.dom.Document parse(org.xml.sax.InputSource is) throws org.xml.sax.SAXException, java.io.IOException
parse
in class javax.xml.parsers.DocumentBuilder
org.xml.sax.SAXException
java.io.IOException
public boolean isNamespaceAware()
isNamespaceAware
in class javax.xml.parsers.DocumentBuilder
public boolean isValidating()
isValidating
in class javax.xml.parsers.DocumentBuilder
public boolean isXIncludeAware()
isXIncludeAware
in class javax.xml.parsers.DocumentBuilder
public void setEntityResolver(org.xml.sax.EntityResolver er)
setEntityResolver
in class javax.xml.parsers.DocumentBuilder
public void setErrorHandler(org.xml.sax.ErrorHandler eh)
setErrorHandler
in class javax.xml.parsers.DocumentBuilder
public javax.xml.validation.Schema getSchema()
getSchema
in class javax.xml.parsers.DocumentBuilder
public void reset()
reset
in class javax.xml.parsers.DocumentBuilder
Copyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.