Class EventPointer


  • public class EventPointer
    extends Object
    Represents a pointer to an event and provides convenience methods to retrieve attribute values from the event.

    A pointer captures the state of an execution in a point of time. Formally, a pointer is a pair of attributes:
  • reference: key to an execution context value holding the event visit: name of the visit method that the event is targeting
  • Pointer 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 EventPointerStaticProxyInterceptor. Without a pointer, the nested Smooks instance cannot join the inner execution to the outer one.