Interface ConfigurationNodeVisitor<T>

    • Method Detail

      • terminate

        boolean terminate()
        Returns a flag whether the current visit process should be aborted. This method allows a visitor implementation to state that it does not need any further data. It may be used e.g. by visitors that search for a certain node in the hierarchy. After that node was found, there is no need to process the remaining nodes, too. This method is called after each visited node. A result of true indicates that the current iteration is to be aborted.
        Returns:
        a flag if the visit process should be stopped
      • visitAfterChildren

        void visitAfterChildren​(T node,
                                NodeHandler<T> handler)
        Visits the specified node after after its children - if existing - have been processed.
        Parameters:
        node - the node to be visited
        handler - the NodeHandler
      • visitBeforeChildren

        void visitBeforeChildren​(T node,
                                 NodeHandler<T> handler)
        Visits the specified node before the children of this node - if existing - are processed.
        Parameters:
        node - the node to be visited
        handler - the NodeHandler