Package org.codehaus.stax2.io
Class Stax2ReferentialResult
- java.lang.Object
-
- org.codehaus.stax2.io.Stax2Result
-
- org.codehaus.stax2.io.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 forStax2Results that refer to a resource in such a way, that an efficientOutputStreamorWritercan be constructed.- See Also:
Stax2FileResult
-
-
Field Summary
-
Fields inherited from class org.codehaus.stax2.io.Stax2Result
mEncoding, mPublicId, mSystemId
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStax2ReferentialResult()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.io.OutputStreamconstructOutputStream()This method creates anOutputStreamvia which underlying output target can be written to.abstract java.io.WriterconstructWriter()This method creates aWritervia which underlying output target can be written to.-
Methods inherited from class org.codehaus.stax2.io.Stax2Result
getEncoding, getPublicId, getSystemId, setEncoding, setPublicId, setSystemId
-
-
-
-
Method Detail
-
constructWriter
public abstract java.io.Writer constructWriter() throws java.io.IOExceptionDescription copied from class:Stax2ResultThis method creates aWritervia 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:
constructWriterin classStax2Result- Throws:
java.io.IOException
-
constructOutputStream
public abstract java.io.OutputStream constructOutputStream() throws java.io.IOExceptionDescription copied from class:Stax2ResultThis method creates anOutputStreamvia 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:
constructOutputStreamin classStax2Result- Throws:
java.io.IOException
-
-