org.enhydra.apache.xerces.jaxp
Class DocumentBuilderImpl

java.lang.Object
  |
  +--javax.xml.parsers.DocumentBuilder
        |
        +--org.enhydra.apache.xerces.jaxp.DocumentBuilderImpl

public class DocumentBuilderImpl
extends DocumentBuilder

Version:
$Revision: 1.1.1.1 $
Author:
Rajiv Mordani, Edwin Goei

Field Summary
(package private) static String CREATE_ENTITY_REF_NODES_FEATURE
           
(package private) static String INCLUDE_IGNORABLE_WHITESPACE
           
(package private) static String XERCES_FEATURE_PREFIX
          Xerces features
 
Constructor Summary
(package private) DocumentBuilderImpl(DocumentBuilderFactory dbf, Hashtable dbfAttrs)
           
 
Method Summary
 DOMImplementation getDOMImplementation()
           
(package private)  DOMParser getDOMParser()
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 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 setEntityResolver(EntityResolver er)
           
 void setErrorHandler(ErrorHandler eh)
           
 
Methods inherited from class javax.xml.parsers.DocumentBuilder
parse, parse, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XERCES_FEATURE_PREFIX

static final String XERCES_FEATURE_PREFIX
Xerces features

See Also:
Constant Field Values

CREATE_ENTITY_REF_NODES_FEATURE

static final String CREATE_ENTITY_REF_NODES_FEATURE
See Also:
Constant Field Values

INCLUDE_IGNORABLE_WHITESPACE

static final String INCLUDE_IGNORABLE_WHITESPACE
See Also:
Constant Field Values
Constructor Detail

DocumentBuilderImpl

DocumentBuilderImpl(DocumentBuilderFactory dbf,
                    Hashtable dbfAttrs)
              throws SAXNotRecognizedException,
                     SAXNotSupportedException
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 class DocumentBuilder

getDOMImplementation

public DOMImplementation getDOMImplementation()
Specified by:
getDOMImplementation in class DocumentBuilder

parse

public Document parse(InputSource is)
               throws SAXException,
                      IOException
Specified by:
parse in class DocumentBuilder
SAXException
IOException

isNamespaceAware

public boolean isNamespaceAware()
Specified by:
isNamespaceAware in class DocumentBuilder

isValidating

public boolean isValidating()
Specified by:
isValidating in class DocumentBuilder

setEntityResolver

public void setEntityResolver(EntityResolver er)
Specified by:
setEntityResolver in class DocumentBuilder

setErrorHandler

public void setErrorHandler(ErrorHandler eh)
Specified by:
setErrorHandler in class DocumentBuilder

getDOMParser

DOMParser getDOMParser()


Copyright © 1999 The Apache Software Foundation. All Rights reserved.