public abstract class Stax2ReferentialResult extends Stax2Result
Stax2Result
s
that refer to a resource in such a way, that an efficient
OutputStream
or Writer
can be constructed.Stax2FileResult
mEncoding, mPublicId, mSystemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Modifier | Constructor and Description |
---|---|
protected |
Stax2ReferentialResult() |
Modifier and Type | Method and Description |
---|---|
abstract OutputStream |
constructOutputStream()
This method creates an
OutputStream via which underlying output
target can be written to. |
abstract Writer |
constructWriter()
This method creates a
Writer via which underlying output
target can be written to. |
getEncoding, getPublicId, getSystemId, setEncoding, setPublicId, setSystemId
public abstract Writer constructWriter() throws 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
IOException
public abstract OutputStream constructOutputStream() throws 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 itconstructOutputStream
in class Stax2Result
IOException
Copyright © 2015 fasterxml.com. All Rights Reserved.