-
public interface PropertyVisibilityStrategyProvides mechanism how to define customized property visibility strategy.
This strategy can be set via
JsonbConfig.- Since:
- JSON Binding 1.0
- See Also:
JsonbConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisVisible(java.lang.reflect.Field field)Responds whether the given field should be considered as the JsonbProperty.booleanisVisible(java.lang.reflect.Method method)Responds whether the given method should be considered as the JsonbProperty.
-
-
-
Method Detail
-
isVisible
boolean isVisible(java.lang.reflect.Field field)
Responds whether the given field should be considered as the JsonbProperty.- Parameters:
field- member of the class- Returns:
- true if member should be visible
-
isVisible
boolean isVisible(java.lang.reflect.Method method)
Responds whether the given method should be considered as the JsonbProperty.- Parameters:
method- member of the class- Returns:
- true if member should be visible
-
-