public class DOMDocumentResult
extends javax.xml.transform.sax.SAXResult
DOMDocumentResult
implements a JAXP SAXResult
for a
Document
.
Constructor and Description |
---|
DOMDocumentResult() |
DOMDocumentResult(DOMSAXContentHandler contentHandler) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getDocument()
Retrieves w3c dom object generated via transformation
|
void |
setHandler(org.xml.sax.ContentHandler handler) |
void |
setLexicalHandler(org.xml.sax.ext.LexicalHandler handler) |
public DOMDocumentResult()
public DOMDocumentResult(DOMSAXContentHandler contentHandler)
public org.w3c.dom.Document getDocument()
public void setHandler(org.xml.sax.ContentHandler handler)
setHandler
in class javax.xml.transform.sax.SAXResult
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
setLexicalHandler
in class javax.xml.transform.sax.SAXResult