|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.beans.beancontext.BeanContextChildSupport | +--java.beans.beancontext.BeanContextSupport | +--xdoclet.beans.BeanContextSupportEx | +--xdoclet.Accept
Accept is an aggregator of predicates used to filter out certain classes.
Predicate
,
PredicateFactory
,
Serialized FormField Summary |
Fields inherited from class java.beans.beancontext.BeanContextSupport |
bcmListeners, children, designTime, locale, okToUseGui |
Fields inherited from class java.beans.beancontext.BeanContextChildSupport |
beanContext, beanContextChildPeer, pcSupport, rejectedSetBCOnce, vcSupport |
Fields inherited from interface java.beans.beancontext.BeanContext |
globalHierarchyLock |
Fields inherited from interface java.beans.DesignMode |
PROPERTYNAME |
Constructor Summary | |
Accept()
|
Method Summary | |
Object |
createElement(String predicateType)
This method is here so that the predicate can be set from Ant. |
boolean |
evaluate(Object o)
Evaluates the predicate. |
void |
setPredicate(Predicate predicate)
Sets the predicate to use. |
Methods inherited from class xdoclet.beans.BeanContextSupportEx |
add, createInvocations, getInvocations, getParent, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.beans.beancontext.BeanContextChild |
addPropertyChangeListener, addVetoableChangeListener, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext |
Methods inherited from interface java.util.Collection |
equals, hashCode |
Constructor Detail |
public Accept()
Method Detail |
public Object createElement(String predicateType) throws XDocletException
predicateType
- the name of the predicate to add.
XDocletException
- if there is no registered Predicate class for the predicateTypepublic void setPredicate(Predicate predicate)
predicate
- the predicate to use.public boolean evaluate(Object o)
evaluate
in interface Predicate
setPredicate(org.apache.commons.collections.Predicate)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |