Class Stax2ReferentialResult

  • All Implemented Interfaces:
    javax.xml.transform.Result
    Direct Known Subclasses:
    Stax2FileResult

    public abstract class Stax2ReferentialResult
    extends Stax2Result
    This is the mid-level abstract base class for Stax2Results that refer to a resource in such a way, that an efficient OutputStream or Writer can be constructed.
    See Also:
    Stax2FileResult
    • Constructor Detail

      • Stax2ReferentialResult

        protected Stax2ReferentialResult()
    • Method Detail

      • constructWriter

        public abstract java.io.Writer constructWriter()
                                                throws java.io.IOException
        Description copied from class: Stax2Result
        This method creates a Writer via which underlying output target can be written to. Note that caller is responsible for closing that Writer when it is done reading it.
        Specified by:
        constructWriter in class Stax2Result
        Throws:
        java.io.IOException
      • constructOutputStream

        public abstract java.io.OutputStream constructOutputStream()
                                                            throws java.io.IOException
        Description copied from class: Stax2Result
        This method creates an OutputStream via which underlying output target can be written to. Note that caller is responsible for closing that OutputStream when it is done reading it
        Specified by:
        constructOutputStream in class Stax2Result
        Throws:
        java.io.IOException