textProducer = new WBSAXDisassembler(textProducer);
}
// Create a producer for WBXML.
ByteArrayOutputStream binaryBuffer = new ByteArrayOutputStream();
WBXMLProducer binaryProducer = new WBXMLProducer(binaryBuffer);
// Create a "tee" producer which will generate the XML and WBXML
// simultaneously.
WBSAXContentHandler producer = new WBSAXTeeHandler(
textProducer, binaryProducer);
// Create content handler used by the dissector to serialise with.