Class AbstractModelParser
java.lang.Object
org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
- Direct Known Subclasses:
BpmnParser
,CmmnParser
,DmnParser
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected SchemaFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
allows subclasses to configure theDocumentBuilderFactory
.protected abstract ModelInstance
createModelInstance
(DomDocument document) protected Schema
createSchema
(String location, ClassLoader classLoader) protected Schema
getSchema
(DomDocument document) parseModelFromStream
(InputStream inputStream) protected String
void
validateModel
(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
-