Package com.sun.el.parser
Class AstValue
- java.lang.Object
-
- com.sun.el.lang.ELSupport
-
- com.sun.el.parser.SimpleNode
-
- com.sun.el.parser.AstValue
-
- All Implemented Interfaces:
Node
public final class AstValue extends SimpleNode
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AstValue.Target
-
Field Summary
-
Fields inherited from class com.sun.el.parser.SimpleNode
children, id, image, parent
-
-
Constructor Summary
Constructors Constructor Description AstValue(int id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static AstMethodArguments
getArguments(Node n)
private java.lang.Object
getBase(EvaluationContext ctx)
MethodInfo
getMethodInfo(EvaluationContext ctx, java.lang.Class[] paramTypes)
private AstValue.Target
getTarget(EvaluationContext ctx)
java.lang.Class
getType(EvaluationContext ctx)
java.lang.Object
getValue(EvaluationContext ctx)
private java.lang.Object
getValue(java.lang.Object base, Node child, 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 com.sun.el.parser.SimpleNode
accept, dump, equals, getImage, hashCode, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setImage, toString, toString
-
Methods inherited from class com.sun.el.lang.ELSupport
checkType, coerceToBoolean, coerceToCharacter, coerceToEnum, coerceToNumber, coerceToNumber, coerceToNumber, coerceToNumber, coerceToString, coerceToType, coerceToType, compare, containsNulls, equals, isBigDecimalOp, isBigIntegerOp, isDoubleOp, isDoubleStringOp, isLongOp, isStringFloat, throwUnhandled, toFloat, toNumber
-
-
-
-
Method Detail
-
getType
public java.lang.Class getType(EvaluationContext ctx) throws ELException
- Specified by:
getType
in interfaceNode
- Overrides:
getType
in classSimpleNode
- Throws:
ELException
-
getValueReference
public ValueReference getValueReference(EvaluationContext ctx) throws ELException
- Specified by:
getValueReference
in interfaceNode
- Overrides:
getValueReference
in classSimpleNode
- Throws:
ELException
-
getArguments
private static AstMethodArguments getArguments(Node n)
-
getValue
private java.lang.Object getValue(java.lang.Object base, Node child, EvaluationContext ctx) throws ELException
- Throws:
ELException
-
getBase
private final java.lang.Object getBase(EvaluationContext ctx)
-
getTarget
private final AstValue.Target getTarget(EvaluationContext ctx) throws ELException
- 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
-
isParametersProvided
public boolean isParametersProvided()
- Specified by:
isParametersProvided
in interfaceNode
- Overrides:
isParametersProvided
in classSimpleNode
-
-