org.camunda.bpm.model.xml.impl.parser
Class AbstractModelParser
java.lang.Object
org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
public abstract class AbstractModelParser
- extends Object
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schemaFactory
protected SchemaFactory schemaFactory
schema
protected Schema schema
AbstractModelParser
protected AbstractModelParser()
configureFactory
protected void configureFactory(DocumentBuilderFactory dbf)
- allows subclasses to configure the
DocumentBuilderFactory.
- Parameters:
dbf - the factory to configure
parseModelFromStream
public ModelInstance parseModelFromStream(InputStream inputStream)
getEmptyModel
public ModelInstance getEmptyModel()
validateModel
public void validateModel(DomDocument document)
- Validate DOM document
- Parameters:
document - the DOM document to validate
createModelInstance
protected abstract ModelInstance createModelInstance(DomDocument document)
Copyright © 2015 camunda services GmbH. All rights reserved.