public class BeanMapFillerWrapper extends Object implements Filler
Filler
that supports getting values from a map of plain-old Java
objects (POJOs) via the Java bean property mechanism.
The dot convention is used to recursively delve into properties. For example,
the key obj1.prop1.prop2.prop3
would be identical to the Java call
obj.getProp1().getProp2().getProp3()
.
Constructor and Description |
---|
BeanMapFillerWrapper(Map<String,Object> baseValues) |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Filler> |
getFillers(String iteratorKey) |
Object |
getValue(String key) |
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.