org.apache.crimson.jaxp
Class DocumentBuilderImpl

java.lang.Object
  extended byjavax.xml.parsers.DocumentBuilder
      extended byorg.apache.crimson.jaxp.DocumentBuilderImpl

public class DocumentBuilderImpl
extends javax.xml.parsers.DocumentBuilder

Author:
Rajiv Mordani

Field Summary
private  XmlDocumentBuilder builder
           
private  javax.xml.parsers.DocumentBuilderFactory dbf
           
private  org.xml.sax.ErrorHandler eh
           
private  org.xml.sax.EntityResolver er
           
private  boolean namespaceAware
           
private  boolean validating
           
private  org.xml.sax.XMLReader xmlReader
           
 
Constructor Summary
(package private) DocumentBuilderImpl(javax.xml.parsers.DocumentBuilderFactory dbf)
           
 
Method Summary
 org.w3c.dom.DOMImplementation getDOMImplementation()
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 org.w3c.dom.Document newDocument()
           
 org.w3c.dom.Document parse(org.xml.sax.InputSource is)
           
 void setEntityResolver(org.xml.sax.EntityResolver er)
           
 void setErrorHandler(org.xml.sax.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

dbf

private javax.xml.parsers.DocumentBuilderFactory dbf

er

private org.xml.sax.EntityResolver er

eh

private org.xml.sax.ErrorHandler eh

xmlReader

private org.xml.sax.XMLReader xmlReader

builder

private XmlDocumentBuilder builder

namespaceAware

private boolean namespaceAware

validating

private boolean validating
Constructor Detail

DocumentBuilderImpl

DocumentBuilderImpl(javax.xml.parsers.DocumentBuilderFactory dbf)
              throws javax.xml.parsers.ParserConfigurationException
Method Detail

newDocument

public org.w3c.dom.Document newDocument()

getDOMImplementation

public org.w3c.dom.DOMImplementation getDOMImplementation()

parse

public org.w3c.dom.Document parse(org.xml.sax.InputSource is)
                           throws org.xml.sax.SAXException,
                                  IOException
Throws:
org.xml.sax.SAXException
IOException

isNamespaceAware

public boolean isNamespaceAware()

isValidating

public boolean isValidating()

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver er)

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler eh)