Interface Scope.Visitor

All Known Implementing Classes:
GenericScope.Branch.Visitor
Enclosing interface:
Scope

public static interface Scope.Visitor
A scope visitor responsible for determining the loading of a node.
  • Method Summary

    Modifier and Type
    Method
    Description
    enter(int depth, String id, String name, NodeState state)
    Signals a node is ented and returns the visit mode for that node.
    void
    leave(int depth, String id, String name, NodeState state)
    Signals a node is left.
  • Method Details

    • enter

      VisitMode enter(int depth, String id, String name, NodeState state)
      Signals a node is ented and returns the visit mode for that node.
      Parameters:
      depth - the relative depth to the root of the loading
      id - the node persistent id
      name - the node name
      state - the node state
      Returns:
      the visit mode
    • leave

      void leave(int depth, String id, String name, NodeState state)
      Signals a node is left.
      Parameters:
      depth - the relative depth to the root of the loading
      id - the node persistent id
      name - the node name
      state - the node state