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.DocumentBuilderpublic org.w3c.dom.DOMImplementation getDOMImplementation()
getDOMImplementation in class javax.xml.parsers.DocumentBuilderpublic org.w3c.dom.Document parse(org.xml.sax.InputSource is)
throws org.xml.sax.SAXException,
java.io.IOException
parse in class javax.xml.parsers.DocumentBuilderorg.xml.sax.SAXExceptionjava.io.IOExceptionpublic boolean isNamespaceAware()
isNamespaceAware in class javax.xml.parsers.DocumentBuilderpublic boolean isValidating()
isValidating in class javax.xml.parsers.DocumentBuilderpublic boolean isXIncludeAware()
isXIncludeAware in class javax.xml.parsers.DocumentBuilderpublic void setEntityResolver(org.xml.sax.EntityResolver er)
setEntityResolver in class javax.xml.parsers.DocumentBuilderpublic void setErrorHandler(org.xml.sax.ErrorHandler eh)
setErrorHandler in class javax.xml.parsers.DocumentBuilderpublic javax.xml.validation.Schema getSchema()
getSchema in class javax.xml.parsers.DocumentBuilderpublic void reset()
reset in class javax.xml.parsers.DocumentBuilderCopyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.