General contract for encoding is that caller must call things in following sequence:
MIN_CHARS_WITHOUT_FLUSH)
Main restrictions for use are that value serializations must produce only 7-bit ascii characters, and that the value can be produced incrementally using limited size buffers. This is true for all current value types of the Typed Access API.
Finally, details of how encoders are created and/or reused is outside scope of this public interface. Stax2 reference implementation handles this using an encoder factory that knows construction details. @since 3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|