Class ValueRetrieverSource
java.lang.Object
net.officefloor.web.value.retrieve.ValueRetrieverSource
Sources the
ValueRetriever.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectretrieveValue(Object object, Method method) Retrieves the value from the object.<T> ValueRetriever<T>sourceValueRetriever(Class<T> type) Sources theValueRetrieverfor the type.
-
Constructor Details
-
ValueRetrieverSource
public ValueRetrieverSource(boolean isCaseInsensitive) Instantiate.- Parameters:
isCaseInsensitive- Indicates if property name comparison is case insensitive.
-
-
Method Details
-
retrieveValue
Retrieves the value from the object. -
sourceValueRetriever
Sources theValueRetrieverfor the type.- Type Parameters:
T- Type.- Parameters:
type- Type.- Returns:
ValueRetrieverfor thetype.
-