public final class TemplateExpression extends Object implements URITemplateExpression
This class ultimately handles all {...} sequences found in a
URI template.
ValueRenderer| Constructor and Description |
|---|
TemplateExpression(ExpressionType expressionType,
List<VariableSpec> variableSpecs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
expand(VariableMap vars)
Compute an expanded string given a map of variables
|
int |
hashCode() |
public TemplateExpression(ExpressionType expressionType, List<VariableSpec> variableSpecs)
public String expand(VariableMap vars) throws URITemplateException
URITemplateExpressionexpand in interface URITemplateExpressionvars - the variables (names and values)URITemplateException - incompatible variable/expansion pair