Package org.dom4j.io
Class DOMDocumentResult
- java.lang.Object
-
- javax.xml.transform.sax.SAXResult
-
- org.dom4j.io.DOMDocumentResult
-
-
Field Summary
-
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
-
Constructor Summary
Constructors Constructor Description DOMDocumentResult()
DOMDocumentResult(DOMSAXContentHandler contentHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document
getDocument()
Retrieves w3c dom object generated via transformationvoid
setHandler(ContentHandler handler)
void
setLexicalHandler(LexicalHandler handler)
-
Methods inherited from class javax.xml.transform.sax.SAXResult
getHandler, getLexicalHandler, getSystemId, setSystemId
-
-
-
-
Constructor Detail
-
DOMDocumentResult
public DOMDocumentResult()
-
DOMDocumentResult
public DOMDocumentResult(DOMSAXContentHandler contentHandler)
-
-
Method Detail
-
getDocument
public Document getDocument()
Retrieves w3c dom object generated via transformation- Returns:
- the Document created by the transformation
-
setHandler
public void setHandler(ContentHandler handler)
- Overrides:
setHandler
in classSAXResult
-
setLexicalHandler
public void setLexicalHandler(LexicalHandler handler)
- Overrides:
setLexicalHandler
in classSAXResult
-
-