com.caucho.quercus.lib.dom
Class DOMImplementation

java.lang.Object
  extended by com.caucho.quercus.lib.dom.DOMImplementation

public class DOMImplementation
extends java.lang.Object


Constructor Summary
DOMImplementation()
           
 
Method Summary
 DOMComment createComment()
           
 DOMDocument createDocument()
           
 DOMDocument createDocument(DOMDocumentType docType)
           
static DOMDocument createDocument(Env env, java.lang.String namespaceURI, java.lang.String name, DOMDocumentType docType)
           
static DOMDocumentType createDocumentType(Env env, java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
           
 DOMDocumentType createDocumentType(java.lang.String qualifiedName)
           
 DOMDocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
           
 DOMElement createElement(java.lang.String name)
           
 DOMElement createElement(java.lang.String name, java.lang.String namespace)
           
 DOMEntityReference createEntityReference(java.lang.String name)
           
 DOMProcessingInstruction createProcessingInstruction(java.lang.String name)
           
 DOMText createText()
           
static boolean hasFeature(Env env, java.lang.String feature, java.lang.String version)
           
 void parseHTMLDocument(org.w3c.dom.Document document, ReadStream is, java.lang.String path)
           
 void parseXMLDocument(org.w3c.dom.Document document, ReadStream is, java.lang.String path)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DOMImplementation

public DOMImplementation()
Method Detail

hasFeature

public static boolean hasFeature(Env env,
                                 java.lang.String feature,
                                 java.lang.String version)

createDocument

public static DOMDocument createDocument(Env env,
                                         java.lang.String namespaceURI,
                                         java.lang.String name,
                                         DOMDocumentType docType)

createDocumentType

public static DOMDocumentType createDocumentType(Env env,
                                                 java.lang.String qualifiedName,
                                                 java.lang.String publicId,
                                                 java.lang.String systemId)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createComment

public DOMComment createComment()

createDocument

public DOMDocument createDocument()

createDocument

public DOMDocument createDocument(DOMDocumentType docType)

createDocumentType

public DOMDocumentType createDocumentType(java.lang.String qualifiedName)

createDocumentType

public DOMDocumentType createDocumentType(java.lang.String qualifiedName,
                                          java.lang.String publicId,
                                          java.lang.String systemId)

createElement

public DOMElement createElement(java.lang.String name)

createElement

public DOMElement createElement(java.lang.String name,
                                java.lang.String namespace)

createEntityReference

public DOMEntityReference createEntityReference(java.lang.String name)

createProcessingInstruction

public DOMProcessingInstruction createProcessingInstruction(java.lang.String name)

createText

public DOMText createText()

parseHTMLDocument

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

parseXMLDocument

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