org.umlgraph.doclet
Class InterfaceMatcher
java.lang.Object
org.umlgraph.doclet.InterfaceMatcher
- All Implemented Interfaces:
- ClassMatcher
public class InterfaceMatcher
- extends java.lang.Object
- implements ClassMatcher
Matches every class that implements (directly or indirectly) an
interfaces matched by regular expression provided.
|
Field Summary |
protected java.util.regex.Pattern |
pattern
|
protected com.sun.javadoc.RootDoc |
root
|
|
Constructor Summary |
InterfaceMatcher(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
InterfaceMatcher
public InterfaceMatcher(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