public class DocumentBuilderImpl extends DocumentBuilder implements JAXPConstants
JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, W3C_XML_SCHEMA
Modifier and Type | Method and Description |
---|---|
DOMImplementation |
getDOMImplementation() |
Schema |
getSchema() |
boolean |
isNamespaceAware() |
boolean |
isValidating() |
boolean |
isXIncludeAware()
Gets the XInclude processing mode for this parser
|
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.
|
Document |
parse(InputSource is) |
void |
reset() |
void |
setEntityResolver(EntityResolver er) |
void |
setErrorHandler(ErrorHandler eh) |
parse, parse, parse, parse
public Document newDocument()
newDocument
in class DocumentBuilder
public DOMImplementation getDOMImplementation()
getDOMImplementation
in class DocumentBuilder
public Document parse(InputSource is) throws SAXException, IOException
parse
in class DocumentBuilder
SAXException
IOException
public boolean isNamespaceAware()
isNamespaceAware
in class DocumentBuilder
public boolean isValidating()
isValidating
in class DocumentBuilder
public boolean isXIncludeAware()
isXIncludeAware
in class DocumentBuilder
public void setEntityResolver(EntityResolver er)
setEntityResolver
in class DocumentBuilder
public void setErrorHandler(ErrorHandler eh)
setErrorHandler
in class DocumentBuilder
public Schema getSchema()
getSchema
in class DocumentBuilder
public void reset()
reset
in class DocumentBuilder
Copyright © 2016 JBoss by Red Hat. All rights reserved.