org.umlgraph.doclet
Class SubclassMatcher

Show UML class diagram
java.lang.Object
  extended by org.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.


Field Summary
protected  Pattern pattern
           
protected  RootDoc root
           
 
Constructor Summary
SubclassMatcher(RootDoc root, Pattern pattern)
           
 
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
 

Field Detail

root

protected RootDoc root

pattern

protected Pattern pattern
Constructor Detail

SubclassMatcher

public SubclassMatcher(RootDoc root,
                       Pattern pattern)
Method Detail

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