|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.runtime.ParameterElementFilter
A parameter element filter filters objects based on their parameter values. Parameter values of elements can be matched against required values, or recursively against other filters. When more than one value and / or filter is specified for an attribute, only one of those has to match.
Field Summary |
Fields inherited from interface jadex.runtime.IFilter |
ALWAYS, NEVER |
Constructor Summary | |
ParameterElementFilter()
Create an attribute filter. |
Method Summary | |
void |
addValue(String name,
Object value)
Add a required attribute value. |
boolean |
filter(Object object)
Match an object against the filter. |
String |
toString()
Create a string representation of this filter. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ParameterElementFilter()
Method Detail |
public void addValue(String name, Object value)
name
- The attribute name.value
- The attribute value.public boolean filter(Object object) throws Exception
filter
in interface IFilter
object
- The object.
Exception
public String toString()
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.