use of org.whole.lang.xml.util.XmlStoreProducerBuilderOperation in project whole by wholeplatform.
the class PersistenceTest method testMultipleBuilders2Xml.
@Test
public void testMultipleBuilders2Xml() {
ModelBuilderOperation op = new ModelBuilderOperation();
XmlStoreProducerBuilderOperation xmlOp = new XmlStoreProducerBuilderOperation(op);
((XmlStoreProducerBuilder) xmlOp.wGetBuilder()).buildStartDocument();
new WholeLanguage().apply(xmlOp);
((XmlStoreProducerBuilder) xmlOp.wGetBuilder()).buildEndDocument();
IEntity xmlModel = op.wGetResult();
PrettyPrinterOperation.prettyPrint(xmlModel);
}
Aggregations