org.camunda.bpm.model.bpmn.impl
Class BpmnParser

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
      extended by org.camunda.bpm.model.bpmn.impl.BpmnParser

public class BpmnParser
extends org.camunda.bpm.model.xml.impl.parser.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
schemaFactory, schemas
 
Constructor Summary
BpmnParser()
           
 
Method Summary
protected  void configureFactory(DocumentBuilderFactory dbf)
           
protected  BpmnModelInstanceImpl createModelInstance(org.camunda.bpm.model.xml.instance.DomDocument document)
           
 BpmnModelInstanceImpl getEmptyModel()
           
 BpmnModelInstanceImpl parseModelFromStream(InputStream inputStream)
           
 
Methods inherited from class org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
addSchema, createSchema, getSchema, validateModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BpmnParser

public BpmnParser()
Method Detail

configureFactory

protected void configureFactory(DocumentBuilderFactory dbf)
Overrides:
configureFactory in class org.camunda.bpm.model.xml.impl.parser.AbstractModelParser

createModelInstance

protected BpmnModelInstanceImpl createModelInstance(org.camunda.bpm.model.xml.instance.DomDocument document)
Specified by:
createModelInstance in class org.camunda.bpm.model.xml.impl.parser.AbstractModelParser

parseModelFromStream

public BpmnModelInstanceImpl parseModelFromStream(InputStream inputStream)
Overrides:
parseModelFromStream in class org.camunda.bpm.model.xml.impl.parser.AbstractModelParser

getEmptyModel

public BpmnModelInstanceImpl getEmptyModel()
Overrides:
getEmptyModel in class org.camunda.bpm.model.xml.impl.parser.AbstractModelParser


Copyright © 2017 camunda services GmbH. All rights reserved.