类的使用
org.springframework.expression.spel.ast.Literal
使用Literal的程序包 程序包 说明 org.springframework.expression.spel.ast SpEL's abstract syntax tree.org.springframework.expression.spel.ast中Literal的使用
org.springframework.expression.spel.ast中Literal的子类 修饰符和类型 类 说明 class
BooleanLiteral
Represents the literal valuesTRUE
andFALSE
.class
FloatLiteral
Expression language AST node that represents a float literal.class
IntLiteral
Expression language AST node that represents an integer literal.class
LongLiteral
Expression language AST node that represents a long integer literal.class
NullLiteral
Expression language AST node that represents null.class
RealLiteral
Expression language AST node that represents a real literal.class
StringLiteral
Expression language AST node that represents a string literal.返回Literal的org.springframework.expression.spel.ast中的方法 修饰符和类型 方法 说明 static Literal
Literal. getIntLiteral(String numberToken, int startPos, int endPos, int radix)
Process the string form of a number, using the specified base if supplied and return an appropriate literal to hold it.static Literal
Literal. getLongLiteral(String numberToken, int startPos, int endPos, int radix)
static Literal
Literal. getRealLiteral(String numberToken, int startPos, int endPos, boolean isFloat)