|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.el.Expression
javax.el.ValueExpression
com.caucho.el.Expr
com.caucho.el.IdExpr
public class IdExpr
Identifier expression.
Field Summary |
---|
Fields inherited from class com.caucho.el.Expr |
---|
L, log |
Constructor Summary | |
---|---|
IdExpr(java.lang.String id)
Creates the identifier |
Method Summary | |
---|---|
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()
|
Methods inherited from class com.caucho.el.Expr |
---|
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, toStringWithNull |
Methods inherited from class javax.el.ValueExpression |
---|
getValueReference |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IdExpr(java.lang.String id)
Method Detail |
---|
public boolean isReadOnly(ELContext env)
isReadOnly
in class Expr
public Expr createField(java.lang.String field)
createField
in class Expr
field
- the string reference for the field.public java.lang.Class getType(ELContext env) throws ELException
getType
in class Expr
env
- the variable environment
ELException
public java.lang.Object getValue(ELContext env) throws ELException
getValue
in class Expr
env
- the variable environment
ELException
public void setValue(ELContext env, java.lang.Object value) throws ELException
setValue
in class Expr
env
- the variable environment
ELException
public void printCreate(WriteStream os) throws java.io.IOException
printCreate
in class Expr
os
- the stream to the *.java page
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class Expr
public java.lang.String toString()
toString
in class Expr
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |