Package org.apache.bval.jsr.util
Interface PathNavigation.Callback<T>
-
- All Known Implementing Classes:
PathImpl.Builder
,PathNavigation.CallbackProcedure
,PathNavigation.CompositeCallbackProcedure
- Enclosing class:
- PathNavigation
public static interface PathNavigation.Callback<T>
Path traversal callback function interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleGenericInIterable()
Handle contiguous [].void
handleIndexOrKey(String value)
Handle an index or key embedded in [].void
handleProperty(String name)
Handle a .-delimited property.T
result()
Return a result.
-
-
-
Method Detail
-
handleProperty
void handleProperty(String name)
Handle a .-delimited property.- Parameters:
name
-
-
handleIndexOrKey
void handleIndexOrKey(String value)
Handle an index or key embedded in [].- Parameters:
value
-
-
handleGenericInIterable
void handleGenericInIterable()
Handle contiguous [].
-
result
T result()
Return a result. Called after navigation is complete.- Returns:
- result
-
-