类的使用
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的子类 修饰符和类型 类 说明 classBooleanLiteralRepresents the literal valuesTRUEandFALSE.classFloatLiteralExpression language AST node that represents a float literal.classIntLiteralExpression language AST node that represents an integer literal.classLongLiteralExpression language AST node that represents a long integer literal.classNullLiteralExpression language AST node that represents null.classRealLiteralExpression language AST node that represents a real literal.classStringLiteralExpression language AST node that represents a string literal.返回Literal的org.springframework.expression.spel.ast中的方法 修饰符和类型 方法 说明 static LiteralLiteral. 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 LiteralLiteral. getLongLiteral(String numberToken, int startPos, int endPos, int radix)static LiteralLiteral. getRealLiteral(String numberToken, int startPos, int endPos, boolean isFloat)