Package org.zkoss.zel.impl.parser
Class AstValue
- java.lang.Object
-
- org.zkoss.zel.impl.lang.ELSupport
-
- org.zkoss.zel.impl.parser.SimpleNode
-
- org.zkoss.zel.impl.parser.AstValue
-
- All Implemented Interfaces:
Node
public final class AstValue extends SimpleNode
- Author:
- Jacob Hookom [jacob@hookom.net]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AstValue.Target
-
Field Summary
-
Fields inherited from class org.zkoss.zel.impl.parser.SimpleNode
children, id, image, parent
-
Fields inherited from class org.zkoss.zel.impl.lang.ELSupport
COERCE_NULL_TO_NULL, COERCE_TO_ZERO
-
-
Constructor Summary
Constructors Constructor Description AstValue(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodInfo
getMethodInfo(EvaluationContext ctx, java.lang.Class[] paramTypes)
java.lang.Class<?>
getType(EvaluationContext ctx)
java.lang.Object
getValue(EvaluationContext ctx)
ValueReference
getValueReference(EvaluationContext ctx)
java.lang.Object
invoke(EvaluationContext ctx, java.lang.Class[] paramTypes, java.lang.Object[] paramValues)
boolean
isParametersProvided()
boolean
isReadOnly(EvaluationContext ctx)
void
setValue(EvaluationContext ctx, java.lang.Object value)
-
Methods inherited from class org.zkoss.zel.impl.parser.SimpleNode
accept, equals, getImage, hashCode, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetNumSiblings, jjtGetParent, jjtOpen, jjtSetParent, setImage, toString
-
Methods inherited from class org.zkoss.zel.impl.lang.ELSupport
coerceToBoolean, coerceToDateTime, coerceToEnum, coerceToNumber, coerceToNumber, coerceToNumber, coerceToString, coerceToType, coerceToTypeForSetValue, compare, equals, isBigDecimalOp, isBigIntegerOp, isDateTimeType, isDoubleOp, isLongOp, isStringFloat
-
-
-
-
Method Detail
-
getType
public java.lang.Class<?> getType(EvaluationContext ctx) throws ELException
- Specified by:
getType
in interfaceNode
- Overrides:
getType
in classSimpleNode
- Throws:
ELException
-
getValue
public java.lang.Object getValue(EvaluationContext ctx) throws ELException
- Specified by:
getValue
in interfaceNode
- Overrides:
getValue
in classSimpleNode
- Throws:
ELException
-
isReadOnly
public boolean isReadOnly(EvaluationContext ctx) throws ELException
- Specified by:
isReadOnly
in interfaceNode
- Overrides:
isReadOnly
in classSimpleNode
- Throws:
ELException
-
setValue
public void setValue(EvaluationContext ctx, java.lang.Object value) throws ELException
- Specified by:
setValue
in interfaceNode
- Overrides:
setValue
in classSimpleNode
- Throws:
ELException
-
getMethodInfo
public MethodInfo getMethodInfo(EvaluationContext ctx, java.lang.Class[] paramTypes) throws ELException
- Specified by:
getMethodInfo
in interfaceNode
- Overrides:
getMethodInfo
in classSimpleNode
- Throws:
ELException
-
invoke
public java.lang.Object invoke(EvaluationContext ctx, java.lang.Class[] paramTypes, java.lang.Object[] paramValues) throws ELException
- Specified by:
invoke
in interfaceNode
- Overrides:
invoke
in classSimpleNode
- Throws:
ELException
-
getValueReference
public ValueReference getValueReference(EvaluationContext ctx)
- Specified by:
getValueReference
in interfaceNode
- Overrides:
getValueReference
in classSimpleNode
- Since:
- EL 2.2
-
isParametersProvided
public boolean isParametersProvided()
- Specified by:
isParametersProvided
in interfaceNode
- Overrides:
isParametersProvided
in classSimpleNode
- Since:
- EL 2.2
-
-