public class MappingTemplate extends Object
Constructor and Description |
---|
MappingTemplate(String template,
VariableScope variableScope) |
Modifier and Type | Method and Description |
---|---|
void |
compile() |
static String |
getFormValueString(ForestJsonConverter jsonConverter,
Object obj) |
static String |
getParameterValue(ForestJsonConverter jsonConverter,
Object obj) |
VariableScope |
getVariableScope() |
boolean |
hasIterateVariable() |
MappingExpr |
parseExpression() |
MappingIdentity |
parseIdentity() |
MappingIndex |
parseIndex() |
MappingInvoke |
parseInvokeParams(VariableScope variableScope,
MappingExpr left,
MappingIdentity name) |
MappingExpr |
parseLiteral() |
MappingInvoke |
parseMethodParams_inner(VariableScope variableScope,
MappingExpr left,
MappingIdentity name,
List<MappingExpr> argExprList) |
MappingString |
parseString(char quoteChar) |
MappingExpr |
parseTextToken() |
String |
render(Object[] args) |
void |
setVariableScope(VariableScope variableScope) |
String |
toString() |
MappingTemplate |
valueOf(String value,
ForestMethod forestMethod) |
public MappingTemplate(String template, VariableScope variableScope)
public VariableScope getVariableScope()
public void setVariableScope(VariableScope variableScope)
public void compile()
public boolean hasIterateVariable()
public MappingExpr parseExpression()
public MappingIdentity parseIdentity()
public MappingExpr parseTextToken()
public MappingIndex parseIndex()
public MappingString parseString(char quoteChar)
public MappingInvoke parseInvokeParams(VariableScope variableScope, MappingExpr left, MappingIdentity name)
public MappingInvoke parseMethodParams_inner(VariableScope variableScope, MappingExpr left, MappingIdentity name, List<MappingExpr> argExprList)
public MappingExpr parseLiteral()
public static String getParameterValue(ForestJsonConverter jsonConverter, Object obj)
public static String getFormValueString(ForestJsonConverter jsonConverter, Object obj)
public MappingTemplate valueOf(String value, ForestMethod forestMethod)
Copyright © 2020. All rights reserved.