com.caucho.quercus.lib.dom
Interface DOMFactory

All Known Implementing Classes:
QDOMFactory

public interface DOMFactory


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)
           
 

Method Detail

createAttr

org.w3c.dom.Attr createAttr(java.lang.String name)

createComment

org.w3c.dom.Comment createComment()

createDocument

org.w3c.dom.Document createDocument()

createDocument

org.w3c.dom.Document createDocument(org.w3c.dom.DocumentType docType)

createDocumentType

org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName)

createDocumentType

org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName,
                                            java.lang.String publicId,
                                            java.lang.String systemId)

createElement

org.w3c.dom.Element createElement(java.lang.String name)

createElement

org.w3c.dom.Element createElement(java.lang.String name,
                                  java.lang.String namespace)

createEntityReference

org.w3c.dom.EntityReference createEntityReference(java.lang.String name)

createProcessingInstruction

org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String name)

createText

org.w3c.dom.Text createText()

getImplementation

org.w3c.dom.DOMImplementation getImplementation()

parseXMLDocument

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

parseHTMLDocument

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