org.apache.xerces.jaxp

Class DocumentBuilderImpl

Implemented Interfaces:
JAXPConstants

public class DocumentBuilderImpl
extends DocumentBuilder
implements JAXPConstants

Version:
$Id: DocumentBuilderImpl.java,v 1.33 2005/06/21 17:19:08 mrglavas Exp $
Authors:
Rajiv Mordani
Edwin Goei

Fields inherited from interface org.apache.xerces.jaxp.JAXPConstants

JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, W3C_XML_SCHEMA

Method Summary

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)

Method Details

getDOMImplementation

public DOMImplementation getDOMImplementation()

getSchema

public Schema getSchema()

isNamespaceAware

public boolean isNamespaceAware()

isValidating

public boolean isValidating()

isXIncludeAware

public boolean isXIncludeAware()
Gets the XInclude processing mode for this parser
Returns:
the state of XInclude processing mode

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.

parse

public Document parse(InputSource is)
            throws SAXException,
                   IOException

reset

public void reset()

setEntityResolver

public void setEntityResolver(EntityResolver er)

setErrorHandler

public void setErrorHandler(ErrorHandler eh)

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.