View Javadoc

1   /*
2    * $Id: OnProperty.java,v 1.6 2005/03/29 15:07:42 jlerner Exp $
3    * Created on Apr 19, 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.dom.owl;
11  
12  import com.bbn.swede.core.dom.OASTNode;
13  import com.bbn.swede.core.dom.PropertyNode;
14  
15  /***
16   * Custom property node implementation for owl:onProperty.
17   * @author lernerj
18   */
19  public class OnProperty extends PropertyNode
20  {
21     /*
22      *  (non-Javadoc)
23      * @see com.bbn.swede.core.dom.OASTNode#allowedChildren()
24      */
25     protected int[] allowedChildren()
26     {
27        return null;
28     }
29  
30     /*
31      *  (non-Javadoc)
32      * @see com.bbn.swede.core.dom.OASTNode#getNodeType()
33      */
34     public int getNodeType()
35     {
36        return OASTNode.OWL_ONPROPERTY;
37     }
38  
39  }