Class AbstractModelParser
java.lang.Object
org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
- Direct Known Subclasses:
BpmnParser,CmmnParser,DmnParser
- Author:
- Daniel Meyer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected SchemaFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidallows subclasses to configure theDocumentBuilderFactory.protected abstract ModelInstancecreateModelInstance(DomDocument document) protected SchemacreateSchema(String location, ClassLoader classLoader) protected SchemagetSchema(DomDocument document) parseModelFromStream(InputStream inputStream) protected StringvoidvalidateModel(DomDocument document) Validate DOM document
-
Field Details
-
JAXP_ACCESS_EXTERNAL_SCHEMA
- See Also:
-
JAXP_ACCESS_EXTERNAL_SCHEMA_SYSTEM_PROPERTY
- See Also:
-
JAXP_ACCESS_EXTERNAL_SCHEMA_ALL
- See Also:
-
schemaFactory
-
schemas
-
-
Constructor Details
-
AbstractModelParser
protected AbstractModelParser()
-
-
Method Details
-
configureFactory
allows subclasses to configure theDocumentBuilderFactory.- Parameters:
dbf- the factory to configure
-
resolveAccessExternalSchemaProperty
-
parseModelFromStream
-
getEmptyModel
-
validateModel
Validate DOM document- Parameters:
document- the DOM document to validate
-
getSchema
-
addSchema
-
createSchema
-
createModelInstance
-