Class Bridge


  • public class Bridge
    extends Object
    Represents a bridge node and provides convenience methods to retrieve attribute values from the node.

    A bridge node holds the state of an execution. Formally, a bridge is a pair of attributes:
  • source: key to an execution context value holding the event visit: name of the visit method that the event is targeting
  • Bridge nodes are meant for nested Smooks executions (i.e., a Smooks execution within another Smooks execution). It allows the outer execution to carry over its visit state to the nested execution with the help of BridgeInterceptor. Without a bridge, the nested Smooks instance cannot join the inner execution to the outer one.