Class RbelPathAble

java.lang.Object
de.gematik.rbellogger.util.RbelPathAble
Direct Known Subclasses:
RbelContentTreeNode, RbelElement

public abstract class RbelPathAble extends Object
Enables the usage of the RbelPathExecutor. The methods are called by the RbelPathExecutor, but not only. The description however focuses on that use-case
  • Constructor Details

    • RbelPathAble

      public RbelPathAble()
  • Method Details

    • getFirst

      public abstract Optional<? extends RbelPathAble> getFirst(String key)
    • getParentNode

      public abstract RbelPathAble getParentNode()
    • getAll

      public abstract List<? extends RbelPathAble> getAll(String subkey)
    • getChildNodes

      public abstract List<? extends RbelPathAble> getChildNodes()
    • getChildNodesWithKey

      public abstract RbelMultiMap<? extends RbelPathAble> getChildNodesWithKey()
    • getKey

      public abstract Optional<String> getKey()
    • getRawStringContent

      public abstract String getRawStringContent()
    • findRbelPathMembers

      public abstract List<? extends RbelPathAble> findRbelPathMembers(String rbelPath)
    • descendToContentNodeIfAdvised

      public List<RbelPathAble> descendToContentNodeIfAdvised()
      Should return the list of search-relevant nodes. Normally this would be the identity (the default implementation given here), but for virtual nodes (content-nodes in a rbel-tree for example) that should not be part of the actual search-tree the child-nodes should be returned.
    • shouldElementBeKeptInFinalResult

      public boolean shouldElementBeKeptInFinalResult()
      Should this element be present in the final RbelPath results?