public class BpmnParser extends AbstractModelParser
The parser used when parsing BPMN Files
schema, schemaFactory
Constructor and Description |
---|
BpmnParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureFactory(DocumentBuilderFactory dbf)
allows subclasses to configure the
DocumentBuilderFactory . |
protected BpmnModelInstanceImpl |
createModelInstance(DomDocument document) |
BpmnModelInstanceImpl |
getEmptyModel() |
BpmnModelInstanceImpl |
parseModelFromStream(InputStream inputStream) |
validateModel
protected void configureFactory(DocumentBuilderFactory dbf)
AbstractModelParser
DocumentBuilderFactory
.configureFactory
in class AbstractModelParser
dbf
- the factory to configureprotected BpmnModelInstanceImpl createModelInstance(DomDocument document)
createModelInstance
in class AbstractModelParser
public BpmnModelInstanceImpl parseModelFromStream(InputStream inputStream)
parseModelFromStream
in class AbstractModelParser
public BpmnModelInstanceImpl getEmptyModel()
getEmptyModel
in class AbstractModelParser
Copyright © 2015. All rights reserved.