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
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.sun.el.parser.SimpleNode
children, id, image, parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static AstMethodArguments
getArguments
(Node n) private Object
getBase
(EvaluationContext ctx) getMethodInfo
(EvaluationContext ctx, Class[] paramTypes) private AstValue.Target
getType
(EvaluationContext ctx) private Object
getValue
(Object base, Node child, EvaluationContext ctx) invoke
(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues) boolean
boolean
void
setValue
(EvaluationContext ctx, 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
-
Constructor Details
-
AstValue
public AstValue(int id)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceNode
- Overrides:
getType
in classSimpleNode
- Throws:
ELException
-
getValueReference
- Specified by:
getValueReference
in interfaceNode
- Overrides:
getValueReference
in classSimpleNode
- Throws:
ELException
-
getArguments
-
getValue
- Throws:
ELException
-
getBase
-
getTarget
- Throws:
ELException
-
getValue
- Specified by:
getValue
in interfaceNode
- Overrides:
getValue
in classSimpleNode
- Throws:
ELException
-
isReadOnly
- Specified by:
isReadOnly
in interfaceNode
- Overrides:
isReadOnly
in classSimpleNode
- Throws:
ELException
-
setValue
- Specified by:
setValue
in interfaceNode
- Overrides:
setValue
in classSimpleNode
- Throws:
ELException
-
getMethodInfo
- Specified by:
getMethodInfo
in interfaceNode
- Overrides:
getMethodInfo
in classSimpleNode
- Throws:
ELException
-
invoke
public Object invoke(EvaluationContext ctx, Class[] paramTypes, 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
-