01: /*
02: * Contibuted by Andrea Aime
03: * (C) Copyright 2005 Diomidis Spinellis
04: *
05: * Permission to use, copy, and distribute this software and its
06: * documentation for any purpose and without fee is hereby granted,
07: * provided that the above copyright notice appear in all copies and that
08: * both that copyright notice and this permission notice appear in
09: * supporting documentation.
10: *
11: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
12: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
13: * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14: *
15: * $Id: ClassMatcher.java,v 1.3 2007/11/27 09:04:22 dds Exp $
16: *
17: */
18:
19: package org.umlgraph.doclet;
20:
21: import com.sun.javadoc.ClassDoc;
22:
23: /**
24: * A ClassMatcher is used to check if a class definition matches a
25: * specific condition. The nature of the condition is dependent on
26: * the kind of matcher
27: * @author wolf
28: */
29: public interface ClassMatcher {
30: /**
31: * Returns the options for the specified class.
32: */
33: public boolean matches(ClassDoc cd);
34:
35: /**
36: * Returns the options for the specified class.
37: */
38: public boolean matches(String name);
39: }
|