View Javadoc

1   /*
2    * $Id: About.java,v 1.6 2005/03/29 15:07:42 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   package com.bbn.swede.core.dom.rdf;
9   
10  import com.bbn.swede.core.dom.AttributeNode;
11  import com.bbn.swede.core.dom.OASTNode;
12  
13  /***
14   * Custom attribute node implementation for rdf:about.
15   * @author jlerner
16   */
17  public class About extends AttributeNode
18  {
19  
20     /***
21      * Creates an About node.
22      * @param sValue The value of the attribute.
23      */
24     public About(String sValue)
25     {
26        super(sValue);
27     }
28  
29     /*
30      *  (non-Javadoc)
31      * @see com.bbn.swede.core.dom.OASTNode#getNodeType()
32      */
33     public int getNodeType()
34     {
35        return OASTNode.RDF_ABOUT;
36     }
37  
38  }