|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.jsr303.util.PathNavigation
public class PathNavigation
Defines a path navigation algorithm and a means of interacting with same.
Nested Class Summary | |
---|---|
static interface |
PathNavigation.Callback<T>
Path traversal callback function interface. |
static class |
PathNavigation.CallbackProcedure
Callback "procedure" that always returns null. |
Method Summary | ||
---|---|---|
static void |
navigate(CharSequence propertyPath,
PathNavigation.Callback<?> callback)
Navigate a path using the specified callback. |
|
static
|
navigateAndReturn(CharSequence propertyPath,
PathNavigation.Callback<? extends T> callback)
Navigate a path using the specified callback, returning its result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> T navigateAndReturn(CharSequence propertyPath, PathNavigation.Callback<? extends T> callback)
T
- propertyPath
- , null is assumed empty/rootcallback
-
public static void navigate(CharSequence propertyPath, PathNavigation.Callback<?> callback)
propertyPath
- callback
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |