public class ImplicitObjectExpr extends Expr
Modifier and Type | Class and Description |
---|---|
static class |
ImplicitObjectExpr.AttributeMap |
Constructor and Description |
---|
ImplicitObjectExpr(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
Expr |
createField(Expr field)
Creates a field reference using this expression as the base object.
|
java.lang.Object |
getValue(ELContext env)
Evaluate the expr as an object.
|
void |
printCreate(WriteStream os)
Prints the code to create an IdExpr.
|
java.lang.String |
toString() |
coerceToType, createField, createMethod, equals, error, evalBigDecimal, evalBigInteger, evalBoolean, evalCharacter, evalDouble, evalLong, evalObject, evalPeriod, evalString, evalStringWithNull, getExpectedType, getExpressionString, getMethodInfo, getType, hashCode, invocationError, invoke, isConstant, isDouble, isDoubleString, isLiteralText, isReadOnly, print, print, printEscaped, printEscapedString, setProperty, setValue, toBigDecimal, toBigInteger, toBoolean, toCharacter, toClass, toDouble, toEnum, toLong, toStream, toStream, toStream, toStreamEscaped, toStreamEscaped, toStreamEscaped, toString, toString, toString, toString, toString, toStringWithNull
getValueReference
public Expr createField(Expr field)
Expr
createField
in class Expr
field
- the expression for the field.public java.lang.Object getValue(ELContext env) throws ELException
getValue
in class Expr
env
- the page contextELException
public void printCreate(WriteStream os) throws java.io.IOException
printCreate
in class Expr
os
- the stream to the *.java pagejava.io.IOException