|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.bellows.query.QueryProcessor org.umber.bellows.query.AttributeFilter
A query filter to extract Datum objects from a List based on the existence and/or value of a property within that node. Can return multiple results.
DatumQuery
Constructor Summary | |
AttributeFilter(java.lang.String attribute)
Creates a new instance of AttributeFilter which will collect objects with the given attribute set. |
|
AttributeFilter(java.lang.String attribute,
java.lang.String value)
Creates a new instance of AttributeFilter which will collect objects with the given attribute set to the given value. |
Method Summary | |
protected boolean |
shouldProcess(java.lang.Object node)
Determines if the given object should be processed during the traversal. |
Methods inherited from class org.umber.bellows.query.QueryProcessor |
end, processNode, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeFilter(java.lang.String attribute)
attribute
- the name of the attribute to search forpublic AttributeFilter(java.lang.String attribute, java.lang.String value)
attribute
- the name of the attribute to search forvalue
- the value the attribute must haveMethod Detail |
protected boolean shouldProcess(java.lang.Object node)
shouldProcess
in class QueryProcessor
node
- the object to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |