public class PathNavigation extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PathNavigation.Callback<T>
Path traversal callback function interface.
|
static class |
PathNavigation.CallbackProcedure
Callback "procedure" that always returns null.
|
static class |
PathNavigation.CompositeCallbackProcedure |
| Modifier and Type | Method and Description |
|---|---|
static void |
navigate(CharSequence propertyPath,
PathNavigation.Callback<?> callback)
Navigate a path using the specified callback.
|
static <T> T |
navigateAndReturn(CharSequence propertyPath,
PathNavigation.Callback<? extends T> callback)
Navigate a path using the specified callback, returning its result.
|
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 - Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.