buffer.clear();
vdStyleFactory = new VDXMLStyleFactory();
writer = new CharArrayWriter();
docWriter = new VDXMLDocumentWriter(new XMLDocumentWriter(writer));
outputter = new DOMDocumentOutputter(
docWriter, new DebugCharacterEncoder());
empty = StylesBuilder.getEmptyStyles();
transformer = new VDXMLBlockTransformer();
builder = new ProtocolBuilder();
protocol = (DOMProtocol) builder.build(
new TestProtocolRegistry.TestDOMProtocolFactory(),