gr.spinellis.umlgraph.doclet
Class SubclassMatcher
java.lang.Object
gr.spinellis.umlgraph.doclet.SubclassMatcher
- All Implemented Interfaces:
- ClassMatcher
public class SubclassMatcher
- extends Object
- implements ClassMatcher
Matches every class that extends (directly or indirectly) a class
matched by the regular expression provided.
Method Summary |
boolean |
matches(ClassDoc cd)
Returns the options for the specified class. |
boolean |
matches(String name)
Returns the options for the specified class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
root
protected RootDoc root
pattern
protected Pattern pattern
SubclassMatcher
public SubclassMatcher(RootDoc root,
Pattern pattern)
matches
public boolean matches(ClassDoc cd)
- Description copied from interface:
ClassMatcher
- Returns the options for the specified class.
- Specified by:
matches
in interface ClassMatcher
matches
public boolean matches(String name)
- Description copied from interface:
ClassMatcher
- Returns the options for the specified class.
- Specified by:
matches
in interface ClassMatcher