Class Stax2BlockResult

java.lang.Object
org.codehaus.stax2.io.Stax2Result
org.codehaus.stax2.io.Stax2BlockResult
All Implemented Interfaces:
Result

public abstract class Stax2BlockResult extends Stax2Result
This is the mid-level abstract base class for 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.
  • Constructor Details

    • Stax2BlockResult

      protected Stax2BlockResult()
  • Method Details