public class DOMImplementation
extends java.lang.Object
Constructor and Description |
---|
DOMImplementation() |
Modifier and Type | Method and Description |
---|---|
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() |
public static boolean hasFeature(Env env, java.lang.String feature, java.lang.String version)
public static DOMDocument createDocument(Env env, java.lang.String namespaceURI, java.lang.String name, DOMDocumentType docType)
public static DOMDocumentType createDocumentType(Env env, java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
public java.lang.String toString()
toString
in class java.lang.Object
public DOMComment createComment()
public DOMDocument createDocument()
public DOMDocument createDocument(DOMDocumentType docType)
public DOMDocumentType createDocumentType(java.lang.String qualifiedName)
public DOMDocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
public DOMElement createElement(java.lang.String name)
public DOMElement createElement(java.lang.String name, java.lang.String namespace)
public DOMEntityReference createEntityReference(java.lang.String name)
public DOMProcessingInstruction createProcessingInstruction(java.lang.String name)
public DOMText createText()
public void parseHTMLDocument(org.w3c.dom.Document document, ReadStream is, java.lang.String path) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void parseXMLDocument(org.w3c.dom.Document document, ReadStream is, java.lang.String path) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException