View Javadoc

1   package com.pow2.structures.tree;
2   
3   
4   import com.pow2.resources.PropertyContainer;
5   
6   
7   /***
8    *  NodeVisitor interface
9    *
10   * @author  Luca Fossato
11   * @created  06 July 2002
12   */
13  public interface NodeVisitorInterface extends PropertyContainer
14  {
15    /***
16     *  Visit the input node.
17     *
18     * @param n  the node to visit
19     * @throws Exception if any error occurs
20     */
21    public abstract void visit(Node n) throws Exception;
22  }