Search in sources :

Example 1 with XmlStoreConsumerBuilderOperation

use of org.whole.lang.xml.util.XmlStoreConsumerBuilderOperation in project whole by wholeplatform.

the class PersistenceTest method _testXml2Builder.

public void _testXml2Builder() throws ParserConfigurationException, SAXException, IOException {
    ModelBuilderOperation op = new ModelBuilderOperation();
    SaxConsumerHandler.parse(this.getClass().getResourceAsStream("persistenceTest.xwl"), "UTF-8", true, new XmlStoreConsumerBuilderOperation(op));
}
Also used : ModelBuilderOperation(org.whole.lang.builders.ModelBuilderOperation) XmlStoreConsumerBuilderOperation(org.whole.lang.xml.util.XmlStoreConsumerBuilderOperation)

Aggregations

ModelBuilderOperation (org.whole.lang.builders.ModelBuilderOperation)1 XmlStoreConsumerBuilderOperation (org.whole.lang.xml.util.XmlStoreConsumerBuilderOperation)1