View Javadoc

1   /*
2    * $Id: IOASTChangeListener.java,v 1.4 2005/04/14 14:29:27 jlerner Exp $
3    *
4    * Copyright (c) 1999-2004, BBN Technologies, LLC.
5    * All rights reserved.
6    * http://www.daml.org/legal/opensource/bbn_license.html
7    */
8    
9   package com.bbn.swede.core.dom;
10  
11  /***
12   * Interface for receiving notifications about changes to an OWL Abstract
13   * Syntax Tree.
14   * @author jlerner
15   */
16  public interface IOASTChangeListener
17  {
18     /***
19      * This method is called automatically after the OAST is changed.  When this
20      * is called, the nodes in <code>event.getRemoved()</code> are no longer in
21      * the tree, and the nodes in <code>event.getInserted()</code> have been
22      * placed in the tree at their proper positions.
23      * @param event Describes the change that was just made to the OAST.
24      */
25     void oastChanged(OASTEvent event);
26  }