de.hedenus.rdf
Class BlankNode

java.lang.Object
  extended by de.hedenus.rdf.RDFNode
      extended by de.hedenus.rdf.BlankNode
All Implemented Interfaces:
GraphElement, Node, java.io.Serializable, java.lang.Comparable

public class BlankNode
extends RDFNode
implements java.io.Serializable

A RDF a blank node.

Author:
Michael Hedenus
See Also:
Serialized Form

Constructor Summary
protected BlankNode(java.lang.String id)
           
 
Method Summary
 java.lang.String about()
          Returns the this node's subject identifier.
 int hashCode()
           
 java.lang.String label()
          Returns a label used to visually tag the graph element.
 
Methods inherited from class de.hedenus.rdf.RDFNode
compareTo, equals, id, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlankNode

protected BlankNode(java.lang.String id)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

about

public java.lang.String about()
Description copied from class: RDFNode
Returns the this node's subject identifier.

Specified by:
about in class RDFNode

label

public java.lang.String label()
Description copied from interface: GraphElement
Returns a label used to visually tag the graph element.

Specified by:
label in interface GraphElement
Specified by:
label in class RDFNode