Class Matcher
java.lang.Object
org.apache.rat.documentation.velocity.Matcher
- Direct Known Subclasses:
MatcherTree.Node
The Matcher representation for documentation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal class
The definition of an attribute.final class
The description of an enclosed matcher. -
Method Summary
Modifier and TypeMethodDescriptionGets the attributes of this matcher.Gets the description of the matcher type.If the matcher encloses another matcher return the definition of that enclosure.getName()
Get the name of the matcher type.
-
Method Details
-
getName
Get the name of the matcher type.- Returns:
- the name of the matcher type.
-
getDescription
Gets the description of the matcher type.- Returns:
- The description of the matcher type or an empty string.
-
getEnclosed
If the matcher encloses another matcher return the definition of that enclosure.- Returns:
- the description of the enclose matcher. May be
null
.
-
getAttributes
Gets the attributes of this matcher.- Returns:
- a collection of attributes for this matcher. May be empty but not
null
.
-