public class NullLiteral extends Expr
| Constructor and Description |
|---|
NullLiteral()
Create the literal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true for equal strings.
|
java.lang.Object |
getValue(ELContext env)
Evaluate the expression as an object.
|
boolean |
isConstant()
Returns true if the expression is constant.
|
boolean |
print(WriteStream out,
ELContext env,
boolean isEscaped)
Evalutes directly to the output.
|
void |
printCreate(WriteStream os)
Prints the code to create an LongLiteral.
|
java.lang.String |
toString()
Returns a printable view.
|
coerceToType, createField, createField, createMethod, error, evalBigDecimal, evalBigInteger, evalBoolean, evalCharacter, evalDouble, evalLong, evalObject, evalPeriod, evalString, evalStringWithNull, getExpectedType, getExpressionString, getMethodInfo, getType, hashCode, invocationError, invoke, isDouble, isDoubleString, isLiteralText, isReadOnly, printEscaped, printEscapedString, setProperty, setValue, toBigDecimal, toBigInteger, toBoolean, toCharacter, toClass, toDouble, toEnum, toLong, toStream, toStream, toStream, toStreamEscaped, toStreamEscaped, toStreamEscaped, toString, toString, toString, toString, toString, toStringWithNullpublic boolean isConstant()
isConstant in class Exprpublic java.lang.Object getValue(ELContext env)
throws ELException
public boolean print(WriteStream out, ELContext env, boolean isEscaped) throws java.io.IOException, ELException
public void printCreate(WriteStream os) throws java.io.IOException
printCreate in class Expros - the stream to the *.java pagejava.io.IOExceptionpublic boolean equals(java.lang.Object o)