protected static class AbstractValidator.NestedArrayVisitor extends AbstractExpressionVisitor
Modifier and Type | Field and Description |
---|---|
int |
nestedArraySize
The number of items contained in the nested array or -1 if the
Expression does not
represent a nested array. |
protected boolean |
subExpression
Internal flag used to determine if a sub-expression is traversed, which is required when
representing a nested array.
|
Modifier | Constructor and Description |
---|---|
protected |
NestedArrayVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visit(CollectionExpression expression)
Visits the
CollectionExpression expression. |
void |
visit(SubExpression expression)
Visits the
SubExpression expression. |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public int nestedArraySize
Expression
does not
represent a nested array.protected boolean subExpression
public void visit(CollectionExpression expression)
CollectionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(SubExpression expression)
SubExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visit