public class BpmnParser extends AbstractModelParser
The parser used when parsing BPMN Files
resolveAccessExternalSchemaProperty
JAXP_ACCESS_EXTERNAL_SCHEMA, JAXP_ACCESS_EXTERNAL_SCHEMA_ALL, JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY, schemaFactory, schemas
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) |
addSchema, createSchema, getSchema, resolveAccessExternalSchemaProperty, 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 © 2019. All rights reserved.