org.activiti.engine.impl.bpmn.parser.handler
类 AbstractBpmnParseHandler<T extends org.activiti.bpmn.model.BaseElement>
java.lang.Object
org.activiti.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler<T>
- 所有已实现的接口:
- BpmnParseHandler
- 直接已知子类:
- AbstractFlowNodeBpmnParseHandler, BoundaryEventParseHandler, CancelEventDefinitionParseHandler, CompensateEventDefinitionParseHandler, ErrorEventDefinitionParseHandler, MessageEventDefinitionParseHandler, ProcessHistoryParseHandler, ProcessParseHandler, SequenceFlowParseHandler, SignalEventDefinitionParseHandler, StartEventHistoryParseHandler, TimerEventDefinitionParseHandler, UserTaskHistoryParseHandler
public abstract class AbstractBpmnParseHandler<T extends org.activiti.bpmn.model.BaseElement>
- extends Object
- implements BpmnParseHandler
- 作者:
- Joram Barrez
方法摘要 |
protected void |
addEventSubscriptionDeclaration(BpmnParse bpmnParse,
EventSubscriptionDeclaration subscription,
org.activiti.bpmn.model.EventDefinition parsedEventDefinition,
ScopeImpl scope)
|
ActivityImpl |
createActivityOnCurrentScope(BpmnParse bpmnParse,
org.activiti.bpmn.model.FlowElement flowElement,
String xmlLocalName)
|
ActivityImpl |
createActivityOnScope(BpmnParse bpmnParse,
org.activiti.bpmn.model.FlowElement flowElement,
String xmlLocalName,
ScopeImpl scopeElement)
|
protected void |
createAssociation(BpmnParse bpmnParse,
org.activiti.bpmn.model.Association association,
ScopeImpl parentScope)
|
protected ExecutionListener |
createExecutionListener(BpmnParse bpmnParse,
org.activiti.bpmn.model.ActivitiListener activitiListener)
|
protected void |
createExecutionListenersOnScope(BpmnParse bpmnParse,
List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList,
ScopeImpl scope)
|
protected void |
createExecutionListenersOnTransition(BpmnParse bpmnParse,
List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList,
TransitionImpl transition)
|
protected IOSpecification |
createIOSpecification(BpmnParse bpmnParse,
org.activiti.bpmn.model.IOSpecification specificationModel)
|
protected abstract void |
executeParse(BpmnParse bpmnParse,
T element)
|
protected ActivityImpl |
findActivity(BpmnParse bpmnParse,
String id)
|
protected Class<? extends org.activiti.bpmn.model.BaseElement> |
getHandledType()
|
Set<Class<? extends org.activiti.bpmn.model.BaseElement>> |
getHandledTypes()
The types for which this handler must be calleding during process parsing. |
protected String |
getPrecedingEventBasedGateway(BpmnParse bpmnParse,
org.activiti.bpmn.model.IntermediateCatchEvent event)
|
void |
parse(BpmnParse bpmnParse,
org.activiti.bpmn.model.BaseElement element)
The actual delegation method. |
protected void |
processArtifacts(BpmnParse bpmnParse,
Collection<org.activiti.bpmn.model.Artifact> artifacts,
ScopeImpl scope)
|
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTYNAME_IS_FOR_COMPENSATION
public static final String PROPERTYNAME_IS_FOR_COMPENSATION
- 另请参见:
- 常量字段值
PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION
public static final String PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION
- 另请参见:
- 常量字段值
PROPERTYNAME_ERROR_EVENT_DEFINITIONS
public static final String PROPERTYNAME_ERROR_EVENT_DEFINITIONS
- 另请参见:
- 常量字段值
PROPERTYNAME_TIMER_DECLARATION
public static final String PROPERTYNAME_TIMER_DECLARATION
- 另请参见:
- 常量字段值
AbstractBpmnParseHandler
public AbstractBpmnParseHandler()
getHandledTypes
public Set<Class<? extends org.activiti.bpmn.model.BaseElement>> getHandledTypes()
- 从接口
BpmnParseHandler
复制的描述
- The types for which this handler must be calleding during process parsing.
- 指定者:
- 接口
BpmnParseHandler
中的 getHandledTypes
getHandledType
protected Class<? extends org.activiti.bpmn.model.BaseElement> getHandledType()
parse
public void parse(BpmnParse bpmnParse,
org.activiti.bpmn.model.BaseElement element)
- 从接口
BpmnParseHandler
复制的描述
- The actual delegation method. The parser will calls this method on a
match with the
BpmnParseHandler.getHandledTypes()
return value.
- 指定者:
- 接口
BpmnParseHandler
中的 parse
- 参数:
bpmnParse
- The BpmnParse
instance that acts as container
for all things produced during the parsing.
executeParse
protected abstract void executeParse(BpmnParse bpmnParse,
T element)
findActivity
protected ActivityImpl findActivity(BpmnParse bpmnParse,
String id)
createActivityOnCurrentScope
public ActivityImpl createActivityOnCurrentScope(BpmnParse bpmnParse,
org.activiti.bpmn.model.FlowElement flowElement,
String xmlLocalName)
createActivityOnScope
public ActivityImpl createActivityOnScope(BpmnParse bpmnParse,
org.activiti.bpmn.model.FlowElement flowElement,
String xmlLocalName,
ScopeImpl scopeElement)
createExecutionListenersOnScope
protected void createExecutionListenersOnScope(BpmnParse bpmnParse,
List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList,
ScopeImpl scope)
createExecutionListenersOnTransition
protected void createExecutionListenersOnTransition(BpmnParse bpmnParse,
List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList,
TransitionImpl transition)
createExecutionListener
protected ExecutionListener createExecutionListener(BpmnParse bpmnParse,
org.activiti.bpmn.model.ActivitiListener activitiListener)
addEventSubscriptionDeclaration
protected void addEventSubscriptionDeclaration(BpmnParse bpmnParse,
EventSubscriptionDeclaration subscription,
org.activiti.bpmn.model.EventDefinition parsedEventDefinition,
ScopeImpl scope)
getPrecedingEventBasedGateway
protected String getPrecedingEventBasedGateway(BpmnParse bpmnParse,
org.activiti.bpmn.model.IntermediateCatchEvent event)
createIOSpecification
protected IOSpecification createIOSpecification(BpmnParse bpmnParse,
org.activiti.bpmn.model.IOSpecification specificationModel)
processArtifacts
protected void processArtifacts(BpmnParse bpmnParse,
Collection<org.activiti.bpmn.model.Artifact> artifacts,
ScopeImpl scope)
createAssociation
protected void createAssociation(BpmnParse bpmnParse,
org.activiti.bpmn.model.Association association,
ScopeImpl parentScope)
Copyright © 2013 Alfresco. All rights reserved.