Class LabelNode
java.lang.Object
com.regnosys.rosetta.lib.labelprovider.LabelNode
A representation of a node in a directed graph for finding labels.
Each node has a map of labels for a given path. If a given input matches one of the paths
in the node, a label is found.
Each directed edge has a path element which is consumed when traversing the edge.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddOutgoingEdge(String pathElement, LabelNode connectedNode) findLabelByTraversingGraph(LinkedList<String> inputPath)
-
Constructor Details
-
LabelNode
public LabelNode()
-
-
Method Details
-
addLabel
-
addOutgoingEdge
-
findLabelByTraversingGraph
-