Interface AttributeExtractor<T>
- Type Parameters:
T- type to extract
public interface AttributeExtractor<T>
Helper interface for extracting and simplifying single attributes from objects supported by
specific
SimplifierAccessor.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classException to be thrown when the result of this extractor should be omitted in the response -
Method Summary
-
Method Details
-
extract
Extract the real value from a given value- Parameters:
value- to extract from- Returns:
- the extracted value
- Throws:
AttributeExtractor.SkipAttributeException- if this value which is about to be extracted should be omitted in the result
-