View Javadoc

1   /*
2    * $Id: IOWLElementVisitor.java,v 1.5 2004/09/02 20:45:52 jlerner Exp $
3    * Created on May 21, 2004
4    *
5    * Copyright (c) 1999-2004, BBN Technologies, LLC.
6    * All rights reserved.
7    * http://www.daml.org/legal/opensource/bbn_license.html
8    */
9   
10  package com.bbn.swede.core;
11  
12  /***
13   * An interface for objects that visit OWL elements.
14   * @author tself
15   */
16  public interface IOWLElementVisitor
17  {
18     /***
19      * Visits the given OWL element.
20      * @param element The element to visit
21      * @return <code>true</code> if the element's children should be visited;
22      *         <code>false</code> if they should be skipped.
23      */
24     boolean visit(IOWLElement element);
25  }