类 ParserStringObject

java.lang.Object
com.sh.wf.module.parser.po.ParserStringObject
所有已实现的接口:
ParserThisExp_I, Serializable, Cloneable

public class ParserStringObject extends Object implements ParserThisExp_I, Serializable, Cloneable

Description: 解析的对象是字符串的情况 三级以上表达式,如:[request.paramName.trim]

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2016年7月4日
另请参阅:
  • 字段详细资料

    • KEY_METHODLEVEL_PREFIX

      public static final String KEY_METHODLEVEL_PREFIX
      另请参阅:
    • define_isSqlIn

      public boolean define_isSqlIn
  • 构造器详细资料

  • 方法详细资料

    • plusMethodLevel

      public void plusMethodLevel()
    • parser

      public String parser(String value)
      解析数据
      返回:
      String
    • isSqlVar

      public boolean isSqlVar()
    • getArg

      public String getArg(int index, String defaultValue)
      获取参数
      参数:
      index - 从0开始
      defaultValue - 默认值
      返回:
      String
    • toLowerFunc

      public void toLowerFunc()
    • toUpperFunc

      public void toUpperFunc()
    • minmaxFunc

      public void minmaxFunc()
      值取值范围
    • getPaserStringObjectFunc

      public static PaserStringObjectFunc_I getPaserStringObjectFunc(String method)
    • addParserStringObjectFunc

      public static void addParserStringObjectFunc(String method, PaserStringObjectFunc_I func)
      添加自定义接口
      参数:
      method - 方法名
      func - PaserStringObjectFunc_I
    • setMethodLevel

      public void setMethodLevel(int methodLevel)
    • getValue

      public String getValue()
    • getValueOri

      public Object getValueOri()
      中间原始值
      返回:
    • isArray

      public boolean isArray()
      中间变量是否为数组
      返回:
    • setValue

      public void setValue(String value)
    • getExp

      public String getExp()
    • setExp

      public void setExp(String exp)
    • getExpArray

      public String[] getExpArray()
    • setExpArray

      public void setExpArray(String[] expArray)
    • setValueOri

      public void setValueOri(Object valueOri)
    • parserThisValue

      public String parserThisValue(ModuleContext context, String thisExpStr)
      从接口复制的说明: ParserThisExp_I
      解析当前对象的this表达式
      指定者:
      parserThisValue 在接口中 ParserThisExp_I
      参数:
      context - 上下文
      thisExpStr - 表达式,如:[this.col],则此值为col
      返回:
      表达式值
    • isCheckSqlInjection

      public boolean isCheckSqlInjection()