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 classAstValue.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 MethodInfogetMethodInfo(EvaluationContext ctx, java.lang.Class[] paramTypes)java.lang.Class<?>getType(EvaluationContext ctx)java.lang.ObjectgetValue(EvaluationContext ctx)ValueReferencegetValueReference(EvaluationContext ctx)java.lang.Objectinvoke(EvaluationContext ctx, java.lang.Class[] paramTypes, java.lang.Object[] paramValues)booleanisParametersProvided()booleanisReadOnly(EvaluationContext ctx)voidsetValue(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:
getTypein interfaceNode- Overrides:
getTypein classSimpleNode- Throws:
ELException
-
getValue
public java.lang.Object getValue(EvaluationContext ctx) throws ELException
- Specified by:
getValuein interfaceNode- Overrides:
getValuein classSimpleNode- Throws:
ELException
-
isReadOnly
public boolean isReadOnly(EvaluationContext ctx) throws ELException
- Specified by:
isReadOnlyin interfaceNode- Overrides:
isReadOnlyin classSimpleNode- Throws:
ELException
-
setValue
public void setValue(EvaluationContext ctx, java.lang.Object value) throws ELException
- Specified by:
setValuein interfaceNode- Overrides:
setValuein classSimpleNode- Throws:
ELException
-
getMethodInfo
public MethodInfo getMethodInfo(EvaluationContext ctx, java.lang.Class[] paramTypes) throws ELException
- Specified by:
getMethodInfoin interfaceNode- Overrides:
getMethodInfoin classSimpleNode- Throws:
ELException
-
invoke
public java.lang.Object invoke(EvaluationContext ctx, java.lang.Class[] paramTypes, java.lang.Object[] paramValues) throws ELException
- Specified by:
invokein interfaceNode- Overrides:
invokein classSimpleNode- Throws:
ELException
-
getValueReference
public ValueReference getValueReference(EvaluationContext ctx)
- Specified by:
getValueReferencein interfaceNode- Overrides:
getValueReferencein classSimpleNode- Since:
- EL 2.2
-
isParametersProvided
public boolean isParametersProvided()
- Specified by:
isParametersProvidedin interfaceNode- Overrides:
isParametersProvidedin classSimpleNode- Since:
- EL 2.2
-
-