Class FindPositionVisitor
- java.lang.Object
-
- de.xima.fc.common.tree.TreeVisit.ITreeVisitor.Pathless<Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>>
-
- de.xima.fc.workflow.converter.bpmn.FindPositionVisitor
-
- All Implemented Interfaces:
TreeVisit.ITreeVisitor<Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>>
public final class FindPositionVisitor extends TreeVisit.ITreeVisitor.Pathless<Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.xima.fc.common.tree.TreeVisit.ITreeVisitor
TreeVisit.ITreeVisitor.Pathless<Node>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeVisit.ETreeVisitResultenter(Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble> positioned)Enters a tree node.protected booleanexit(Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble> positioned)Exists a tree node.static Positioned<IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>resolvePositionOfItemByValue(IWorkflowBpmnAlignmentItem<?,?> item, Object value)static <T> Positioned<IWorkflowBpmnAlignmentItem<T,?>,Point2DDouble>resolvePositionOfItemByValue(IWorkflowBpmnAlignmentItem<?,?> item, Object value, Class<T> type)protected booleanvisit(Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble> positioned)Visits a tree node.-
Methods inherited from class de.xima.fc.common.tree.TreeVisit.ITreeVisitor.Pathless
enter, exit, visit
-
-
-
-
Method Detail
-
enter
public TreeVisit.ETreeVisitResult enter(Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble> positioned)
Description copied from class:TreeVisit.ITreeVisitor.PathlessEnters a tree node. This is called when the node is first reached, before any visitor methods are called on child nodes. SeeTreeVisitfor an example of the call order.- Overrides:
enterin classTreeVisit.ITreeVisitor.Pathless<Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>>- Parameters:
positioned- A tree node.- Returns:
- How to proceed with the tree visit.
-
exit
protected boolean exit(Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble> positioned)
Description copied from class:TreeVisit.ITreeVisitor.PathlessExists a tree node. This is called at the end, after all children were visited. No more visitor methods will be called on any children of the node. SeeTreeVisitfor an example of the call order.- Overrides:
exitin classTreeVisit.ITreeVisitor.Pathless<Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>>- Parameters:
positioned- A tree node.- Returns:
trueto continue with the tree visit,falseto exit the visit (seeTreeVisit.ETreeVisitResult.QUIT).
-
visit
protected boolean visit(Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble> positioned)
Description copied from class:TreeVisit.ITreeVisitor.PathlessVisits a tree node. This is called betweenenterandexit. SeeTreeVisitfor an example of the call order.- Overrides:
visitin classTreeVisit.ITreeVisitor.Pathless<Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>>- Parameters:
positioned- A tree node.- Returns:
trueto continue with the tree visit,falseto exit the visit (seeTreeVisit.ETreeVisitResult.QUIT).
-
resolvePositionOfItemByValue
public static <T> Positioned<IWorkflowBpmnAlignmentItem<T,?>,Point2DDouble> resolvePositionOfItemByValue(IWorkflowBpmnAlignmentItem<?,?> item, Object value, Class<T> type)
-
resolvePositionOfItemByValue
public static Positioned<IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble> resolvePositionOfItemByValue(IWorkflowBpmnAlignmentItem<?,?> item, Object value)
-
-