public class AstChoice extends AstRightValue
| Constructor and Description |
|---|
AstChoice(AstNode question,
AstNode yes,
AstNode no) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendStructure(StringBuilder b,
Bindings bindings) |
Object |
eval(Bindings bindings,
ELContext context) |
int |
getCardinality()
Get the node's number of children.
|
AstNode |
getChild(int i)
Get i'th child
|
String |
toString() |
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValuegetStructuralId, getValuepublic Object eval(Bindings bindings, ELContext context) throws ELException
eval in class AstNodeELExceptionpublic void appendStructure(StringBuilder b, Bindings bindings)
appendStructure in class AstNodepublic int getCardinality()
NodeCopyright © 2022. All rights reserved.