public interface ValueSource
Modifier and Type | Interface and Description |
---|---|
static class |
ValueSource.ByteValue |
static class |
ValueSource.ListValue |
static class |
ValueSource.MapValue |
static class |
ValueSource.ObjectValue |
static class |
ValueSource.TemplatedValue |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
copyAndResolve(java.util.Map<java.lang.String,java.lang.Object> model)
Returns a copy of the value this ValueSource holds and resolves templates if there're any.
|
static ValueSource |
wrap(java.lang.Object value,
TemplateService templateService) |
java.lang.Object copyAndResolve(java.util.Map<java.lang.String,java.lang.Object> model)
model
- The model to be used when resolving any templatesstatic ValueSource wrap(java.lang.Object value, TemplateService templateService)