public class QDOMFactory extends java.lang.Object implements DOMFactory
Constructor and Description |
---|
QDOMFactory() |
Modifier and Type | Method and Description |
---|---|
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) |
public org.w3c.dom.Attr createAttr(java.lang.String name)
createAttr
in interface DOMFactory
public org.w3c.dom.Comment createComment()
createComment
in interface DOMFactory
public org.w3c.dom.Document createDocument()
createDocument
in interface DOMFactory
public org.w3c.dom.Document createDocument(org.w3c.dom.DocumentType docType)
createDocument
in interface DOMFactory
public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName)
createDocumentType
in interface DOMFactory
public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
createDocumentType
in interface DOMFactory
public org.w3c.dom.Element createElement(java.lang.String name)
createElement
in interface DOMFactory
public org.w3c.dom.Element createElement(java.lang.String name, java.lang.String namespace)
createElement
in interface DOMFactory
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
createEntityReference
in interface DOMFactory
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String name)
createProcessingInstruction
in interface DOMFactory
public org.w3c.dom.Text createText()
createText
in interface DOMFactory
public org.w3c.dom.DOMImplementation getImplementation()
getImplementation
in interface DOMFactory
public void parseXMLDocument(org.w3c.dom.Document document, java.io.InputStream is, java.lang.String path) throws java.io.IOException, org.xml.sax.SAXException
parseXMLDocument
in interface DOMFactory
java.io.IOException
org.xml.sax.SAXException
public void parseHTMLDocument(org.w3c.dom.Document document, java.io.InputStream is, java.lang.String path) throws java.io.IOException, org.xml.sax.SAXException
parseHTMLDocument
in interface DOMFactory
java.io.IOException
org.xml.sax.SAXException