public static interface ValueExtractor.ValueReceiver
ValueExtractor.
The value has to be passed to the method corresponding best to the type of the original value.
| Modifier and Type | Method and Description |
|---|---|
void |
indexedValue(java.lang.String nodeName,
int i,
java.lang.Object object)
Receives the value extracted from an indexed object (e.g.
|
void |
iterableValue(java.lang.String nodeName,
java.lang.Object object)
Receives the value extracted from an iterable object that is not indexed (e.g.
|
void |
keyedValue(java.lang.String nodeName,
java.lang.Object key,
java.lang.Object object)
Receives the value extracted from a keyed object (e.g.
|
void |
value(java.lang.String nodeName,
java.lang.Object object)
Receives the value extracted from an object.
|
void value(java.lang.String nodeName,
java.lang.Object object)
nodeName - the name of the node representing the container element. If not
null, the name will be used when adding a container element node to the
Pathobject - the value to validatevoid iterableValue(java.lang.String nodeName,
java.lang.Object object)
Iterable, Set or a Map).nodeName - the name of the node representing the container element. If not
null, the name will be used when adding a container element node to the
Pathobject - the value to validatevoid indexedValue(java.lang.String nodeName,
int i,
java.lang.Object object)
List).nodeName - the name of the node representing the container element. If not
null, the name will be used when adding a container element node to the
Pathi - the index of the value in the original objectobject - the value to validatevoid keyedValue(java.lang.String nodeName,
java.lang.Object key,
java.lang.Object object)
Map).nodeName - the name of the node representing the container element. If not
null, the name will be used when adding a container element node to the
Pathkey - the key of the value in the original objectobject - the value to validate