org.umlgraph.doclet
Class SubclassMatcher
java.lang.Object
org.umlgraph.doclet.SubclassMatcher
- All Implemented Interfaces:
- ClassMatcher
public class SubclassMatcher
- extends java.lang.Object
- implements ClassMatcher
Matches every class that extends (directly or indirectly) a class
matched by the regular expression provided.
Field Summary |
protected java.util.regex.Pattern |
pattern
|
protected com.sun.javadoc.RootDoc |
root
|
Constructor Summary |
SubclassMatcher(com.sun.javadoc.RootDoc root,
java.util.regex.Pattern pattern)
|
Method Summary |
boolean |
matches(com.sun.javadoc.ClassDoc cd)
Returns the options for the specified class. |
boolean |
matches(java.lang.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 com.sun.javadoc.RootDoc root
pattern
protected java.util.regex.Pattern pattern
SubclassMatcher
public SubclassMatcher(com.sun.javadoc.RootDoc root,
java.util.regex.Pattern pattern)
matches
public boolean matches(com.sun.javadoc.ClassDoc cd)
- Description copied from interface:
ClassMatcher
- Returns the options for the specified class.
- Specified by:
matches
in interface ClassMatcher
matches
public boolean matches(java.lang.String name)
- Description copied from interface:
ClassMatcher
- Returns the options for the specified class.
- Specified by:
matches
in interface ClassMatcher