Interface Navigable

All Known Implementing Classes:
AttributeMap, UnmanagedMetadata

public interface Navigable
Describes a class that can be navigated using PathFinder (wf-mdmap). Given a key relative to this object, the navigate(String) method returns the associated object if any. If the value is Iterable, it can be used in a bracketed expression. If the value itself is Navigable, it too will be processed using this method. Objects not falling into these categories will be handled on a best effort basis and will likely only be supported as terminal values. If the implementing class has hierarchical data, it is valid and recommended to create anonymous chains of classes implementing the Navigable interface to traverse the internal structure one keyed instance or Iterable thereof at a time.
Author:
Markus MÃ¥rtensson
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Object
    navigate(@NonNull String key)
    Given a key relative to this object, returns the associated object if any.
  • Method Details