com.github.fge.uritemplate.render
Class MapRenderer
java.lang.Object
com.github.fge.uritemplate.render.ValueRenderer
com.github.fge.uritemplate.render.MultiValueRenderer
com.github.fge.uritemplate.render.MapRenderer
public final class MapRenderer
- extends MultiValueRenderer
Renderer for map variable values
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapRenderer
public MapRenderer(ExpressionType type)
renderNamedExploded
protected List<String> renderNamedExploded(String varname,
VariableValue value)
- Description copied from class:
MultiValueRenderer
- Rendering method for named expressions and exploded varspecs
- Specified by:
renderNamedExploded
in class MultiValueRenderer
- Parameters:
varname
- name of the variable (used in lists)value
- value of the variable
- Returns:
- list of rendered elements
renderUnnamedExploded
protected List<String> renderUnnamedExploded(VariableValue value)
- Description copied from class:
MultiValueRenderer
- Rendering method for non named expressions and exploded varspecs
- Specified by:
renderUnnamedExploded
in class MultiValueRenderer
- Parameters:
value
- value of the variable
- Returns:
- list of rendered elements
renderNamedNormal
protected List<String> renderNamedNormal(String varname,
VariableValue value)
- Description copied from class:
MultiValueRenderer
- Rendering method for named expressions and non exploded varspecs
- Specified by:
renderNamedNormal
in class MultiValueRenderer
- Parameters:
varname
- name of the variable (used in lists)value
- value of the variable
- Returns:
- list of rendered elements
renderUnnamedNormal
protected List<String> renderUnnamedNormal(VariableValue value)
- Description copied from class:
MultiValueRenderer
- Rendering method for non named expressions and non exploded varspecs
- Specified by:
renderUnnamedNormal
in class MultiValueRenderer
- Parameters:
value
- value of the variable
- Returns:
- list of rendered elements