com.hp.hpl.thermopylae
Class DocumentBuilderImpl

java.lang.Object
  |
  +--javax.xml.parsers.DocumentBuilder
        |
        +--com.hp.hpl.thermopylae.DocumentBuilderImpl

public class DocumentBuilderImpl
extends javax.xml.parsers.DocumentBuilder

Standard wrapper around sparta parser.

Copyright (C) 2002 Hewlett-Packard Company. This file is part of Sparta, an XML Parser, DOM, and XPath library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Version:
$Date: 2002/08/19 05:04:18 $ $Revision: 1.1.1.1 $
Author:
Eamonn O'Brien-Strain
See Also:
ParseSource

Constructor Summary
DocumentBuilderImpl()
           
 
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 in)
           
 void setEntityResolver(org.xml.sax.EntityResolver parm1)
           
 void setErrorHandler(org.xml.sax.ErrorHandler handler)
          Precondition handler.error() should not throw an exception.
 
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
 

Constructor Detail

DocumentBuilderImpl

public DocumentBuilderImpl()
Method Detail

isNamespaceAware

public boolean isNamespaceAware()
Overrides:
isNamespaceAware in class javax.xml.parsers.DocumentBuilder

getDOMImplementation

public org.w3c.dom.DOMImplementation getDOMImplementation()
Overrides:
getDOMImplementation in class javax.xml.parsers.DocumentBuilder

parse

public org.w3c.dom.Document parse(org.xml.sax.InputSource in)
                           throws org.xml.sax.SAXException,
                                  java.io.IOException
Overrides:
parse in class javax.xml.parsers.DocumentBuilder

setEntityResolver

public void setEntityResolver(org.xml.sax.EntityResolver parm1)
Overrides:
setEntityResolver in class javax.xml.parsers.DocumentBuilder

isValidating

public boolean isValidating()
Overrides:
isValidating in class javax.xml.parsers.DocumentBuilder

newDocument

public org.w3c.dom.Document newDocument()
Overrides:
newDocument in class javax.xml.parsers.DocumentBuilder

setErrorHandler

public void setErrorHandler(org.xml.sax.ErrorHandler handler)
Precondition handler.error() should not throw an exception.
Overrides:
setErrorHandler in class javax.xml.parsers.DocumentBuilder