|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.runtime.ParameterElementFilter
public abstract class 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. |
void |
setMatchExpression(IMExpression match)
Add a match expression for a parameter/set. |
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 void setMatchExpression(IMExpression match)
public boolean filter(Object object) throws Exception
filter
in interface IFilter
object
- The object.
Exception
public String toString()
toString
in class Object
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.