Package org.dom4j.io
Class DocumentResult
- java.lang.Object
-
- javax.xml.transform.sax.SAXResult
-
- org.dom4j.io.DocumentResult
-
- All Implemented Interfaces:
javax.xml.transform.Result
public class DocumentResult extends javax.xml.transform.sax.SAXResult
DocumentResult
implements a JAXPSAXResult
for aDocument
.
-
-
Constructor Summary
Constructors Constructor Description DocumentResult()
DocumentResult(SAXContentHandler contentHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document
getDocument()
DOCUMENT ME!void
setHandler(org.xml.sax.ContentHandler handler)
void
setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
-
-
-
Constructor Detail
-
DocumentResult
public DocumentResult()
-
DocumentResult
public DocumentResult(SAXContentHandler contentHandler)
-
-
Method Detail
-
getDocument
public Document getDocument()
DOCUMENT ME!- Returns:
- the Document created by the transformation
-
setHandler
public void setHandler(org.xml.sax.ContentHandler handler)
- Overrides:
setHandler
in classjavax.xml.transform.sax.SAXResult
-
setLexicalHandler
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
- Overrides:
setLexicalHandler
in classjavax.xml.transform.sax.SAXResult
-
-