org.umlgraph.doclet
Class PatternMatcher

Show UML class diagram
java.lang.Object
  extended by org.umlgraph.doclet.PatternMatcher
All Implemented Interfaces:
ClassMatcher

public class PatternMatcher
extends Object
implements ClassMatcher

Matches classes performing a regular expression match on the qualified class name


Field Summary
(package private)  Pattern pattern
           
 
Constructor Summary
PatternMatcher(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

pattern

Pattern pattern
Constructor Detail

PatternMatcher

public PatternMatcher(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