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