com.caucho.quercus.lib.dom
Class QDOMFactory

java.lang.Object
  extended by com.caucho.quercus.lib.dom.QDOMFactory
All Implemented Interfaces:
DOMFactory

public class QDOMFactory
extends java.lang.Object
implements DOMFactory


Constructor Summary
QDOMFactory()
           
 
Method Summary
 org.w3c.dom.Attr createAttr(java.lang.String name)
           
 org.w3c.dom.Comment createComment()
           
 org.w3c.dom.Document createDocument()
           
 org.w3c.dom.Document createDocument(org.w3c.dom.DocumentType docType)
           
 org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName)
           
 org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
           
 org.w3c.dom.Element createElement(java.lang.String name)
           
 org.w3c.dom.Element createElement(java.lang.String name, java.lang.String namespace)
           
 org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
           
 org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String name)
           
 org.w3c.dom.Text createText()
           
 org.w3c.dom.DOMImplementation getImplementation()
           
 void parseHTMLDocument(org.w3c.dom.Document document, java.io.InputStream is, java.lang.String path)
           
 void parseXMLDocument(org.w3c.dom.Document document, java.io.InputStream is, java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QDOMFactory

public QDOMFactory()
Method Detail

createAttr

public org.w3c.dom.Attr createAttr(java.lang.String name)
Specified by:
createAttr in interface DOMFactory

createComment

public org.w3c.dom.Comment createComment()
Specified by:
createComment in interface DOMFactory

createDocument

public org.w3c.dom.Document createDocument()
Specified by:
createDocument in interface DOMFactory

createDocument

public org.w3c.dom.Document createDocument(org.w3c.dom.DocumentType docType)
Specified by:
createDocument in interface DOMFactory

createDocumentType

public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName)
Specified by:
createDocumentType in interface DOMFactory

createDocumentType

public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName,
                                                   java.lang.String publicId,
                                                   java.lang.String systemId)
Specified by:
createDocumentType in interface DOMFactory

createElement

public org.w3c.dom.Element createElement(java.lang.String name)
Specified by:
createElement in interface DOMFactory

createElement

public org.w3c.dom.Element createElement(java.lang.String name,
                                         java.lang.String namespace)
Specified by:
createElement in interface DOMFactory

createEntityReference

public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
Specified by:
createEntityReference in interface DOMFactory

createProcessingInstruction

public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String name)
Specified by:
createProcessingInstruction in interface DOMFactory

createText

public org.w3c.dom.Text createText()
Specified by:
createText in interface DOMFactory

getImplementation

public org.w3c.dom.DOMImplementation getImplementation()
Specified by:
getImplementation in interface DOMFactory

parseXMLDocument

public void parseXMLDocument(org.w3c.dom.Document document,
                             java.io.InputStream is,
                             java.lang.String path)
                      throws java.io.IOException,
                             org.xml.sax.SAXException
Specified by:
parseXMLDocument in interface DOMFactory
Throws:
java.io.IOException
org.xml.sax.SAXException

parseHTMLDocument

public void parseHTMLDocument(org.w3c.dom.Document document,
                              java.io.InputStream is,
                              java.lang.String path)
                       throws java.io.IOException,
                              org.xml.sax.SAXException
Specified by:
parseHTMLDocument in interface DOMFactory
Throws:
java.io.IOException
org.xml.sax.SAXException