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
schemas
protected Map<String,Schema> schemas
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
getSchema
protected Schema getSchema(DomDocument document)
addSchema
protected void addSchema(String namespaceURI,
Schema schema)
createSchema
protected Schema createSchema(String location,
ClassLoader classLoader)
createModelInstance
protected abstract ModelInstance createModelInstance(DomDocument document)
Copyright © 2015 camunda services GmbH. All rights reserved.