com.ebmwebsourcing.easybpmn.bpmn20.api
Class DefinitionsHelper
java.lang.Object
com.ebmwebsourcing.easybpmn.bpmn20.api.DefinitionsHelper
public class DefinitionsHelper
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefinitionsHelper
public DefinitionsHelper()
findBPMNObject
public static <T extends com.ebmwebsourcing.easybox.api.XmlObject> T findBPMNObject(Definitions defs,
javax.xml.namespace.QName ref,
java.lang.Class<T> wantedClass)
throws BPMNException
- Searches for a BPMN element in the given Definitions and its BPMN 2.0 imports
- Type Parameters:
T - - Parameters:
defs - ref - Id or {import namespace}IdwantedClass -
- Returns:
-
- Throws:
BPMNException
findObjectInDefinitions
public static <T extends com.ebmwebsourcing.easybox.api.XmlObject> T findObjectInDefinitions(Definitions defs,
java.lang.String id,
java.lang.Class<T> wantedClass)
throws BPMNException
- Throws:
BPMNException
getProcess
public static Process getProcess(FlowElement fe,
Definitions defs)
getSequenceFlow
public static SequenceFlow getSequenceFlow(Process proc,
java.lang.String sourceId,
java.lang.String targetId)
getParentDefinitions
public static Definitions getParentDefinitions(TBaseElement be)
getParentContainer
public static WithFlowElements getParentContainer(TFlowElement fe)
Copyright © 2011 Petals Link. All Rights Reserved.