|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springmodules.validation.valang.predicates.AbstractPropertyPredicate
public abstract class AbstractPropertyPredicate
AbstractPropertyPredicate deals with extracting values from properties and as such is a utilty base class.
| Constructor Summary | |
|---|---|
AbstractPropertyPredicate(Function leftFunction,
Operator operator,
Function rightFunction,
int line,
int column)
Constructor |
|
| Method Summary | |
|---|---|
abstract boolean |
evaluate(Object target)
Evaluate expression. |
protected Object[] |
getArray(Object literal)
Gets array. |
int |
getColumn()
Sets line. |
protected Iterator |
getIterator(Object literal)
Gets Iterator. |
Function |
getLeftFunction()
Gets left function. |
int |
getLine()
Gets line. |
Operator |
getOperator()
Gets operator. |
Function |
getRightFunction()
Gets right function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPropertyPredicate(Function leftFunction,
Operator operator,
Function rightFunction,
int line,
int column)
| Method Detail |
|---|
public final Function getLeftFunction()
public final Operator getOperator()
public final Function getRightFunction()
public int getLine()
public int getColumn()
protected final Iterator getIterator(Object literal)
Iterator.
protected final Object[] getArray(Object literal)
public abstract boolean evaluate(Object target)
evaluate in interface org.apache.commons.collections.Predicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||