类 MappingTemplate
java.lang.Object
com.dtflys.forest.mapping.MappingTemplate
- 直接已知子类:
MappingURLTemplate
- 从以下版本开始:
- 2016-05-04
- 作者:
- gongjun
-
字段概要
字段修饰符和类型字段说明protected final Class<? extends Annotation>protected final Stringprotected List<MappingExpr>protected final ForestMethod<?>protected final MappingParameter[]protected final ForestPropertiesprotected Stringprotected VariableScope -
构造器概要
构造器构造器说明MappingTemplate(Class<? extends Annotation> annotationType, String attributeName, ForestMethod<?> forestMethod, String template, VariableScope variableScope, ForestProperties properties, MappingParameter[] parameters) -
方法概要
修饰符和类型方法说明clone()voidcompile()static StringgetFormValueString(ForestJsonConverter jsonConverter, Object obj) static StringgetParameterValue(ForestJsonConverter jsonConverter, Object obj) booleanparseInvokeParams(VariableScope variableScope, MappingExpr left, MappingIdentity name) parseMethodParams_inner(VariableScope variableScope, MappingExpr left, MappingIdentity name, List<MappingExpr> argExprList) parseString(char quoteChar) protected StringrenderExpression(ForestJsonConverter jsonConverter, MappingExpr expr, Object[] args) voidsetVariableScope(VariableScope variableScope) toString()
-
字段详细资料
-
annotationType
-
attributeName
-
forestMethod
-
parameters
-
properties
-
template
-
exprList
-
variableScope
-
-
构造器详细资料
-
MappingTemplate
public MappingTemplate(Class<? extends Annotation> annotationType, String attributeName, ForestMethod<?> forestMethod, String template, VariableScope variableScope, ForestProperties properties, MappingParameter[] parameters)
-
-
方法详细资料
-
getVariableScope
-
setVariableScope
-
getProperties
-
compile
public void compile() -
hasIterateVariable
public boolean hasIterateVariable() -
parseProperty
-
parseExpression
-
parseIdentity
-
parsePropertyName
-
parseTextToken
-
parseIndex
-
parseString
-
parseInvokeParams
public MappingInvoke parseInvokeParams(VariableScope variableScope, MappingExpr left, MappingIdentity name) -
parseMethodParams_inner
public MappingInvoke parseMethodParams_inner(VariableScope variableScope, MappingExpr left, MappingIdentity name, List<MappingExpr> argExprList) -
parseLiteral
-
renderExpression
protected String renderExpression(ForestJsonConverter jsonConverter, MappingExpr expr, Object[] args) -
render
-
getParameterValue
-
getFormValueString
-
clone
-
toString
-
valueOf
-