org.apache.el.parser
Class AstValue
java.lang.Object
org.apache.el.lang.ELSupport
org.apache.el.parser.SimpleNode
org.apache.el.parser.AstValue
- All Implemented Interfaces:
- Node
public final class AstValue
- extends SimpleNode
- Version:
- $Id: AstValue.java 1304933 2012-03-24 21:33:47Z markt $
- Author:
- Jacob Hookom [jacob@hookom.net]
Methods inherited from class org.apache.el.parser.SimpleNode |
accept, equals, getImage, hashCode, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setImage, toString, toString |
Methods inherited from class org.apache.el.lang.ELSupport |
coerceToBoolean, coerceToCharacter, coerceToEnum, coerceToNumber, coerceToNumber, coerceToNumber, coerceToString, coerceToType, compare, equals, isBigDecimalOp, isBigIntegerOp, isDoubleOp, isLongOp, isStringFloat |
COERCE_TO_ZERO
protected static final boolean COERCE_TO_ZERO
AstValue
public AstValue(int id)
getType
public Class<?> getType(EvaluationContext ctx)
throws ELException
- Specified by:
getType
in interface Node
- Overrides:
getType
in class SimpleNode
- Throws:
ELException
getValue
public Object getValue(EvaluationContext ctx)
throws ELException
- Specified by:
getValue
in interface Node
- Overrides:
getValue
in class SimpleNode
- Throws:
ELException
isReadOnly
public boolean isReadOnly(EvaluationContext ctx)
throws ELException
- Specified by:
isReadOnly
in interface Node
- Overrides:
isReadOnly
in class SimpleNode
- Throws:
ELException
setValue
public void setValue(EvaluationContext ctx,
Object value)
throws ELException
- Specified by:
setValue
in interface Node
- Overrides:
setValue
in class SimpleNode
- Throws:
ELException
getMethodInfo
public MethodInfo getMethodInfo(EvaluationContext ctx,
Class[] paramTypes)
throws ELException
- Specified by:
getMethodInfo
in interface Node
- Overrides:
getMethodInfo
in class SimpleNode
- Throws:
ELException
invoke
public Object invoke(EvaluationContext ctx,
Class[] paramTypes,
Object[] paramValues)
throws ELException
- Specified by:
invoke
in interface Node
- Overrides:
invoke
in class SimpleNode
- Throws:
ELException
getValueReference
public ValueReference getValueReference(EvaluationContext ctx)
- Specified by:
getValueReference
in interface Node
- Overrides:
getValueReference
in class SimpleNode
- Since:
- EL 2.2
isParametersProvided
public boolean isParametersProvided()
- Specified by:
isParametersProvided
in interface Node
- Overrides:
isParametersProvided
in class SimpleNode
- Since:
- EL 2.2
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.