Class MatcherTree
java.lang.Object
org.apache.rat.documentation.velocity.MatcherTree
The representation of the Matcher tree found in a License.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The representation of a node in a License Matcher tree. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MatcherTree
Constructor.- Parameters:
root
- the root of the tree. The matcher from a license.
-
-
Method Details
-
getRoot
Gets the description of the root of the tree.- Returns:
- the description of the root of the tree.
-
traverse
Executes an in-order-traversal of the tree.- Returns:
- A list of
MatcherTree.Node
s from an in-order-traversal.
-