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.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract OutputStream | constructOutputStream()
Implements abstract org. OutputStream via which underlying output
target can be written to.
|
| public abstract Writer | constructWriter()
Implements abstract org. Writer via which underlying output
target can be written to.
|
| Stax2BlockResult | back to summary |
|---|---|
| protected Stax2BlockResult() | |
| constructOutputStream | back to summary |
|---|---|
| public abstract OutputStream constructOutputStream() throws IOException Implements abstract org. Doc from org. This method creates an
| |
| constructWriter | back to summary |
|---|---|
| public abstract Writer constructWriter() throws IOException Implements abstract org. Doc from org. This method creates a
| |