|
||||||||||
| 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.StaticMethodExpr
public class StaticMethodExpr
Represents a method call. The expr will evaluate to a method.
| Field Summary |
|---|
| Fields inherited from class com.caucho.el.Expr |
|---|
L, log |
| Constructor Summary | |
|---|---|
StaticMethodExpr(java.lang.reflect.Method method)
Creates a new method expression. |
|
StaticMethodExpr(java.lang.String signature)
Creates a new static method. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true for equal strings. |
java.lang.Object |
evalMethod(Expr[] args,
ELContext env)
Evaluate the expression as an object. |
java.lang.Object |
getValue(ELContext env)
Evaluate the expression as an object. |
void |
printCreate(WriteStream os)
Prints the code to create an LongLiteral. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.el.Expr |
|---|
coerceToType, createField, createField, createMethod, 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, toDouble, toLong, toStream, toStream, toStream, toStreamEscaped, toStreamEscaped, toStreamEscaped, toString, toString, toString, toString, toString, toStringWithNull |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StaticMethodExpr(java.lang.reflect.Method method)
expr - the expression generating the method to be calledargs - the arguments for the methodpublic StaticMethodExpr(java.lang.String signature)
signature - signature| Method Detail |
|---|
public java.lang.Object getValue(ELContext env)
throws ELException
getValue in class Exprenv - the variable environment
ELException
public java.lang.Object evalMethod(Expr[] args,
ELContext env)
throws ELException
env - the variable environment
ELException
public void printCreate(WriteStream os)
throws java.io.IOException
printCreate in class Expros - the stream to the *.java page
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class Exprpublic java.lang.String toString()
toString in class Expr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||