protected abstract class AbstractExecutableTag.ArrayEvaluator<T>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ArrayEvaluator() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createEvaluator(int index) |
protected abstract void |
destroyEvaluator(T evaluator,
int index) |
void |
evaluate(QualifiedValue value) |
protected abstract void |
evaluate(T evaluator,
int index,
QualifiedValue arrayValue) |
int |
getCurrentCount() |
java.util.List<T> |
getEvaluators() |
int |
getMaxCount() |
protected void |
validateEvaluators(int len)
Creates or removes evaluators for the array length.
|
protected int |
validateFor(java.lang.Object potentialArrayValue,
boolean lengthOnly)
Makes sure we have evaluators, and conveniently returns the size of the array.
|
public java.util.List<T> getEvaluators()
public int getCurrentCount()
public int getMaxCount()
protected abstract T createEvaluator(int index)
protected abstract void destroyEvaluator(T evaluator, int index)
protected void validateEvaluators(int len)
protected int validateFor(java.lang.Object potentialArrayValue, boolean lengthOnly)
public void evaluate(QualifiedValue value)
protected abstract void evaluate(T evaluator, int index, QualifiedValue arrayValue)