|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.stax2.io.Stax2Result
org.codehaus.stax2.io.Stax2ReferentialResult
public abstract class Stax2ReferentialResult
This is the mid-level abstract base class for Stax2Result
s
that refer to a resource in such a way, that an efficient
OutputStream
or Writer
can be constructed.
Stax2FileResult
Field Summary |
---|
Fields inherited from class org.codehaus.stax2.io.Stax2Result |
---|
mEncoding, mPublicId, mSystemId |
Fields inherited from interface javax.xml.transform.Result |
---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
Constructor Summary | |
---|---|
protected |
Stax2ReferentialResult()
|
Method Summary | |
---|---|
abstract java.io.OutputStream |
constructOutputStream()
This method creates an OutputStream via which underlying output
target can be written to. |
abstract java.io.Writer |
constructWriter()
This method creates a Writer via which underlying output
target can be written to. |
Methods inherited from class org.codehaus.stax2.io.Stax2Result |
---|
getEncoding, getPublicId, getSystemId, setEncoding, setPublicId, setSystemId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Stax2ReferentialResult()
Method Detail |
---|
public abstract java.io.Writer constructWriter() throws java.io.IOException
Stax2Result
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.
constructWriter
in class Stax2Result
java.io.IOException
public abstract java.io.OutputStream constructOutputStream() throws java.io.IOException
Stax2Result
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
constructOutputStream
in class Stax2Result
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |