xdoclet.util.predicates
Class IsA

java.lang.Object
  |
  +--xdoclet.util.predicates.IsA
All Implemented Interfaces:
Predicate

public class IsA
extends Object
implements Predicate

Version:
$Revision: 1.6 $
Author:
Aslak Hellesøy

Constructor Summary
IsA()
          Constructs a new IsA.
IsA(String className)
          Constructs a new IsA.
 
Method Summary
 boolean evaluate(Object o)
           
 void setClassName(String className)
          Sets the name of the class to evaluate against.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsA

public IsA()
Constructs a new IsA.


IsA

public IsA(String className)
Constructs a new IsA.

Parameters:
className - the name of the class to evaluate against
Method Detail

setClassName

public void setClassName(String className)
Sets the name of the class to evaluate against.

Parameters:
className - the name of the class to evaluate against

evaluate

public final boolean evaluate(Object o)
Specified by:
evaluate in interface Predicate


Copyright © 2000-2003 XDoclet Team. All Rights Reserved.