Some infoset serializer (such as XOP encoder, FastInfoset) uses a format that can represent binary data more efficiently than base64 encoding. Such infoset serializer may choose to implement this interface, to allow the caller to pass in binary data more efficiently without first converting it to binary data.
Callers capable of using this interface can see if the serializer supports it by simply downcasting {@link XMLStreamWriter} to {@link XMLStreamWriterEx}.
|
|