Class DocumentBuilderImpl
- java.lang.Object
-
- javax.xml.parsers.DocumentBuilder
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.jaxp.DocumentBuilderImpl
-
- All Implemented Interfaces:
JAXPConstants
public class DocumentBuilderImpl extends DocumentBuilder implements JAXPConstants
- Version:
- $Id$
- Author:
- Rajiv Mordani, Edwin Goei
-
-
Field Summary
-
Fields inherited from interface org.smooks.engine.delivery.sax.ng.org.apache.xerces.jaxp.JAXPConstants
JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, W3C_XML_SCHEMA
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DOMImplementation
getDOMImplementation()
Schema
getSchema()
boolean
isNamespaceAware()
boolean
isValidating()
boolean
isXIncludeAware()
Gets the XInclude processing mode for this parserDocument
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)
-
Methods inherited from class javax.xml.parsers.DocumentBuilder
parse, parse, parse, parse
-
-
-
-
Method Detail
-
newDocument
public 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.- Specified by:
newDocument
in classDocumentBuilder
-
getDOMImplementation
public DOMImplementation getDOMImplementation()
- Specified by:
getDOMImplementation
in classDocumentBuilder
-
parse
public Document parse(InputSource is) throws SAXException, IOException
- Specified by:
parse
in classDocumentBuilder
- Throws:
SAXException
IOException
-
isNamespaceAware
public boolean isNamespaceAware()
- Specified by:
isNamespaceAware
in classDocumentBuilder
-
isValidating
public boolean isValidating()
- Specified by:
isValidating
in classDocumentBuilder
-
isXIncludeAware
public boolean isXIncludeAware()
Gets the XInclude processing mode for this parser- Overrides:
isXIncludeAware
in classDocumentBuilder
- Returns:
- the state of XInclude processing mode
-
setEntityResolver
public void setEntityResolver(EntityResolver er)
- Specified by:
setEntityResolver
in classDocumentBuilder
-
setErrorHandler
public void setErrorHandler(ErrorHandler eh)
- Specified by:
setErrorHandler
in classDocumentBuilder
-
getSchema
public Schema getSchema()
- Overrides:
getSchema
in classDocumentBuilder
-
reset
public void reset()
- Overrides:
reset
in classDocumentBuilder
-
-