The protocol created should be ready for use.
This is suitable for use by protocol integration test cases and as the basis for {@link NamedProtocolBuilder} which normal runtime code uses.
5960616263646566676869
super(name); } protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestXHTMLBasic_Netfront3Factory(), internalDevice); return protocol; }
81828384858687888990
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(), internalDevice); }