类 ParserStringObject
java.lang.Object
com.sh.wf.module.parser.po.ParserStringObject
- 所有已实现的接口:
ParserThisExp_I,Serializable,Cloneable
Description: 解析的对象是字符串的情况 三级以上表达式,如:[request.paramName.trim]
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- 2016年7月4日
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidaddParserStringObjectFunc(String method, PaserStringObjectFunc_I func) 添加自定义接口获取参数getExp()String[]static PaserStringObjectFunc_IgetPaserStringObjectFunc(String method) getValue()中间原始值booleanisArray()中间变量是否为数组booleanbooleanisSqlVar()void值取值范围解析数据parserThisValue(ModuleContext context, String thisExpStr) 解析当前对象的this表达式voidvoidvoidsetExpArray(String[] expArray) voidsetMethodLevel(int methodLevel) voidvoidsetValueOri(Object valueOri) voidvoid
-
字段详细资料
-
KEY_METHODLEVEL_PREFIX
- 另请参阅:
-
define_isSqlIn
public boolean define_isSqlIn
-
-
构造器详细资料
-
ParserStringObject
-
-
方法详细资料
-
plusMethodLevel
public void plusMethodLevel() -
parser
解析数据- 返回:
- String
-
isSqlVar
public boolean isSqlVar() -
getArg
获取参数- 参数:
index- 从0开始defaultValue- 默认值- 返回:
- String
-
toLowerFunc
public void toLowerFunc() -
toUpperFunc
public void toUpperFunc() -
minmaxFunc
public void minmaxFunc()值取值范围 -
getPaserStringObjectFunc
-
addParserStringObjectFunc
添加自定义接口- 参数:
method- 方法名func- PaserStringObjectFunc_I
-
setMethodLevel
public void setMethodLevel(int methodLevel) -
getValue
-
getValueOri
中间原始值- 返回:
-
isArray
public boolean isArray()中间变量是否为数组- 返回:
-
setValue
-
getExp
-
setExp
-
getExpArray
-
setExpArray
-
setValueOri
-
parserThisValue
从接口复制的说明:ParserThisExp_I解析当前对象的this表达式- 指定者:
parserThisValue在接口中ParserThisExp_I- 参数:
context- 上下文thisExpStr- 表达式,如:[this.col],则此值为col- 返回:
- 表达式值
-
isCheckSqlInjection
public boolean isCheckSqlInjection()
-