Class AbstractModelParser

java.lang.Object
org.camunda.bpm.model.xml.impl.parser.AbstractModelParser
Direct Known Subclasses:
BpmnParser, CmmnParser, DmnParser

public abstract class AbstractModelParser extends Object
Author:
Daniel Meyer
  • Field Details

  • Constructor Details

    • AbstractModelParser

      protected AbstractModelParser()
  • Method Details

    • configureFactory

      protected void configureFactory(DocumentBuilderFactory dbf)
      allows subclasses to configure the DocumentBuilderFactory.
      Parameters:
      dbf - the factory to configure
    • resolveAccessExternalSchemaProperty

      protected String resolveAccessExternalSchemaProperty()
    • 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)