public class ValueFillerWrapper extends Object implements Filler
Filler
interface by
casting itself as the value
tag. No other cast tag and no subcasts
are supported. Note that the object should support Object.toString()
in order for templates to make use of the value.Constructor and Description |
---|
ValueFillerWrapper(Object object) |
ValueFillerWrapper(Object object,
Filler parentFiller) |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Filler> |
getFillers(String iteratorKey) |
Object |
getValue(String key) |
static Filler |
newTemplateFillerValueWrapper(Object object,
Filler parentFiller) |
public ValueFillerWrapper(Object object)
public static Filler newTemplateFillerValueWrapper(Object object, Filler parentFiller)
public Object getValue(String key) throws CastException
getValue
in interface Filler
CastException
public Iterable<? extends Filler> getFillers(String iteratorKey) throws CastException
getFillers
in interface Filler
CastException
Copyright © 2009-2015 Three Crickets LLC.