T - the literal java typepublic abstract class Literal<T> extends Object implements Serializable
| Constructor and Description |
|---|
Literal(T value)
Creates a literal with the given value.
|
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getLiteralType()
Returns the literal type.
|
T |
getValue()
Returns the value.
|
T |
interpret(ExpressionContext context)
Interprets a literal and resolves its value.
|
String |
toString() |
public Literal(T value)
value - the literal valuepublic T getValue()
public T interpret(ExpressionContext context)
context - the interpreter contextCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.