Package org.camunda.bpm.model.bpmn.impl
Class BpmnParser
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
-
- org.camunda.bpm.model.bpmn.impl.BpmnParser
-
public class BpmnParser extends AbstractModelParser
The parser used when parsing BPMN Files
- Author:
- Daniel Meyer
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
JAXP_ACCESS_EXTERNAL_SCHEMA, JAXP_ACCESS_EXTERNAL_SCHEMA_ALL, JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY, schemaFactory, schemas
-
-
Constructor Summary
Constructors Constructor Description BpmnParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureFactory(DocumentBuilderFactory dbf)
allows subclasses to configure theDocumentBuilderFactory
.protected BpmnModelInstanceImpl
createModelInstance(DomDocument document)
BpmnModelInstanceImpl
getEmptyModel()
BpmnModelInstanceImpl
parseModelFromStream(InputStream inputStream)
-
Methods inherited from class org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
addSchema, createSchema, getSchema, resolveAccessExternalSchemaProperty, validateModel
-
-
-
-
Method Detail
-
configureFactory
protected void configureFactory(DocumentBuilderFactory dbf)
Description copied from class:AbstractModelParser
allows subclasses to configure theDocumentBuilderFactory
.- Overrides:
configureFactory
in classAbstractModelParser
- Parameters:
dbf
- the factory to configure
-
createModelInstance
protected BpmnModelInstanceImpl createModelInstance(DomDocument document)
- Specified by:
createModelInstance
in classAbstractModelParser
-
parseModelFromStream
public BpmnModelInstanceImpl parseModelFromStream(InputStream inputStream)
- Overrides:
parseModelFromStream
in classAbstractModelParser
-
getEmptyModel
public BpmnModelInstanceImpl getEmptyModel()
- Overrides:
getEmptyModel
in classAbstractModelParser
-
-