Package org.dom4j.io

Class DocumentResult

  • All Implemented Interfaces:
    javax.xml.transform.Result

    public class DocumentResult
    extends javax.xml.transform.sax.SAXResult

    DocumentResult implements a JAXP SAXResultfor a Document.

    • Field Summary

      • Fields inherited from class javax.xml.transform.sax.SAXResult

        FEATURE
      • Fields inherited from interface javax.xml.transform.Result

        PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
    • 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)  
      • Methods inherited from class javax.xml.transform.sax.SAXResult

        getHandler, getLexicalHandler, getSystemId, setSystemId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocumentResult

        public DocumentResult()
    • 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 class javax.xml.transform.sax.SAXResult
      • setLexicalHandler

        public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
        Overrides:
        setLexicalHandler in class javax.xml.transform.sax.SAXResult