// serialising the DOM back to WBXML.
WBSAXContentHandler producer = super.createWBXMLProducer(output);
// This will serialise the DOM to WBSAX events.
SerialisationConfiguration configuration = createConfiguration();
WBSAXSerialiser serialiser = new WBSAXSerialiser(producer,
configuration, urlListener);
return new TestWBDOMWBSAXFilter(
new WBSAXParser(new DefaultWBDOMFactory(), configuration),
serialiser);