org.openexi.sax
Interface BinaryDataHandler

All Known Subinterfaces:
SAXTransmogrifier

public interface BinaryDataHandler


Method Summary
 void binaryData(byte[] byteArray, int offset, int length, BinaryDataSink binaryDataSink)
          Writes a binary value where the schema expects a binary value.
 void endBinaryData(BinaryDataSink binaryDataSink)
          Mark the end of a binary value.
 BinaryDataSink startBinaryData(long totalSize)
          Mark the start of a binary value.
 

Method Detail

startBinaryData

BinaryDataSink startBinaryData(long totalSize)
                               throws org.xml.sax.SAXException
Mark the start of a binary value.

Throws:
org.xml.sax.SAXException

binaryData

void binaryData(byte[] byteArray,
                int offset,
                int length,
                BinaryDataSink binaryDataSink)
                throws org.xml.sax.SAXException
Writes a binary value where the schema expects a binary value.

Throws:
org.xml.sax.SAXException

endBinaryData

void endBinaryData(BinaryDataSink binaryDataSink)
                   throws org.xml.sax.SAXException
Mark the end of a binary value.

Throws:
org.xml.sax.SAXException