org.apache.bval.jsr303.util
Interface PathNavigation.Callback<T>

All Known Implementing Classes:
PathNavigation.CallbackProcedure, ValidationContextTraversal
Enclosing class:
PathNavigation

public static interface PathNavigation.Callback<T>

Path traversal callback function interface.


Method Summary
 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


Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.