Class PathNavigation


  • public class PathNavigation
    extends Object
    Defines a path navigation algorithm and a means of interacting with same.
    Version:
    $Rev: 1136233 $ $Date: 2011-06-15 17:49:27 -0500 (Wed, 15 Jun 2011) $
    • Method Detail

      • navigateAndReturn

        public static <T> T navigateAndReturn​(CharSequence propertyPath,
                                              PathNavigation.Callback<? extends T> callback)
        Navigate a path using the specified callback, returning its result.
        Type Parameters:
        T -
        Parameters:
        propertyPath - , null is assumed empty/root
        callback -
        Returns:
        T result
      • navigate

        public static void navigate​(CharSequence propertyPath,
                                    PathNavigation.Callback<?> callback)
        Navigate a path using the specified callback.
        Parameters:
        propertyPath -
        callback -