public class ValueRetrieverSourceImpl extends Object implements ValueRetrieverSource
ValueRetrieverSource
implementation.Constructor and Description |
---|
ValueRetrieverSourceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
init(boolean isCaseInsensitive)
Initialises.
|
static Object |
retrieveValue(Object object,
Method method)
Retrieves the value from the object.
|
<T> ValueRetriever<T> |
sourceValueRetriever(Class<T> type)
Sources the
ValueRetriever for the type. |
public static Object retrieveValue(Object object, Method method) throws Exception
public void init(boolean isCaseInsensitive) throws Exception
ValueRetrieverSource
init
in interface ValueRetrieverSource
isCaseInsensitive
- Indicates if property name comparison is case insensitive.Exception
- If fails to specify case sensitivity.public <T> ValueRetriever<T> sourceValueRetriever(Class<T> type) throws Exception
ValueRetrieverSource
ValueRetriever
for the type.sourceValueRetriever
in interface ValueRetrieverSource
T
- Type.type
- Type.ValueRetriever
for the type
.Exception
- If fails to obtain the ValueRetriever
.Copyright © 2005–2016. All rights reserved.