Interface ContextTree

All Known Implementing Classes:
ContextBranch, ContextRoot

public interface ContextTree
Represents a tree of contexts used for expression evaluation during document stamping. This interface provides a mechanism to add nested branches to the context hierarchy, allowing for scoped evaluation of expressions (e.g., within repeaters).
  • Method Summary

    Modifier and Type
    Method
    Description
    addBranch(Object subContext)
    Adds a new branch to the context tree with the specified sub-context object.
  • Method Details

    • addBranch

      String addBranch(Object subContext)
      Adds a new branch to the context tree with the specified sub-context object. The new branch will have the current branch as its parent.
      Parameters:
      subContext - the object to be added as a new branch in the context tree
      Returns:
      a unique identifier (key) for the newly created branch