public abstract class Stax2BlockResult extends Stax2Result
Stax2Results
 that an be used to write to in-memory (low-level) data structures,
 such as byte and char arrays, StringBuffers and so forth.
 The main reason for using such a result object (instead of constructing
 wrapper Readers or InputStreams) is that concrete implementations
 usually also allow more direct access to the underlying data, so
 that stream reader implementations may be able to do more optimal
 access.mEncoding, mPublicId, mSystemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Modifier | Constructor and Description | 
|---|---|
protected  | 
Stax2BlockResult()  | 
| 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, setSystemIdpublic abstract Writer constructWriter() throws IOException
Stax2ResultWriter 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 Stax2ResultIOExceptionpublic abstract OutputStream constructOutputStream() throws IOException
Stax2ResultOutputStream 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 Stax2ResultIOExceptionCopyright © 2015 fasterxml.com. All Rights Reserved.