Top Description Fields Constructors Methods
org.codehaus.stax2.io

public abstract Class Stax2ReferentialResult

extends Stax2Result
Class Inheritance
Known Direct Subclasses
org.codehaus.stax2.io.Stax2FileResult
Imports
java.io.*

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

Field Summary

Inherited from org.codehaus.stax2.io.Stax2Result:
mEncodingmPublicIdmSystemId

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public abstract OutputStream
constructOutputStream()

Implements abstract org.codehaus.stax2.io.Stax2Result.constructOutputStream.

This method creates an OutputStream via which underlying output target can be written to.
public abstract Writer
constructWriter()

Implements abstract org.codehaus.stax2.io.Stax2Result.constructWriter.

This method creates a Writer via which underlying output target can be written to.
Inherited from org.codehaus.stax2.io.Stax2Result:
getEncodinggetPublicIdgetSystemIdsetEncodingsetPublicIdsetSystemId

Constructor Detail

Stax2ReferentialResultback to summary
protected Stax2ReferentialResult()

Method Detail

constructOutputStreamback to summary
public abstract OutputStream constructOutputStream() throws IOException

Implements abstract org.codehaus.stax2.io.Stax2Result.constructOutputStream.

Doc from org.codehaus.stax2.io.Stax2Result.constructOutputStream.

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

Annotations
@Override
constructWriterback to summary
public abstract Writer constructWriter() throws IOException

Implements abstract org.codehaus.stax2.io.Stax2Result.constructWriter.

Doc from org.codehaus.stax2.io.Stax2Result.constructWriter.

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.

Annotations
@Override