View Javadoc

1   /*
2    * $Id: DefaultOASTRunnable.java,v 1.1 2005/07/08 18:18:24 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    /***
10    * @author jlerner
11    */
12    
13  package com.bbn.swede.core.dom;
14  
15  /***
16   * An abstract implementation of OAST runnable that returns a null primary
17   * node.  Client code may extend this class rather than implementing 
18   * {@link IOASTRunnable} if no primary node is desired for the resulting
19   * composite event.
20   */
21  public abstract class DefaultOASTRunnable implements IOASTRunnable
22  {
23     public OASTNode getPrimaryNode()
24     {
25        return null;
26     }
27  
28  }