org.activiti.engine.parse

## Interface BpmnParseHandler

-     public interface BpmnParseHandler

  Allows to hook into the parsing of one or more elements during the parsing of a BPMN 2.0 process. For more details, see the userguide section on bpmn parse handlers. Instances of this class can be injected into the `ProcessEngineConfigurationImpl`. The handler will then be called whenever a BPMN 2.0 element is parsed that matches the types returned by the `getHandledTypes()` method.
  Author:
    Joram Barrez
  See Also:
    `AbstractBpmnParseHandler`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Collection<Class<? extends org.activiti.bpmn.model.BaseElement>>` | `getHandledTypes()` The types for which this handler must be calleding during process parsing.
    `void` | `parse(org.activiti.engine.impl.bpmn.parser.BpmnParse bpmnParse, org.activiti.bpmn.model.BaseElement element)` The actual delegation method.

- - ### Method Detail

    - #### getHandledTypes

          Collection<Class<? extends org.activiti.bpmn.model.BaseElement>> getHandledTypes()

      The types for which this handler must be calleding during process parsing.

    - #### parse

          void parse(org.activiti.engine.impl.bpmn.parser.BpmnParse bpmnParse,
                     org.activiti.bpmn.model.BaseElement element)

      The actual delegation method. The parser will calls this method on a match with the `getHandledTypes()` return value.
      Parameters:
        `bpmnParse` - The `BpmnParse` instance that acts as container for all things produced during the parsing.

Copyright © 2016 Alfresco. All rights reserved.