org.w3c.rdf.implementation.model
Class LiteralImpl

java.lang.Object
  |
  +--org.w3c.rdf.implementation.model.RDFNodeImpl
        |
        +--org.w3c.rdf.implementation.model.LiteralImpl
All Implemented Interfaces:
Literal, RDFNode

public class LiteralImpl
extends RDFNodeImpl
implements Literal


Field Summary
protected  java.lang.String content
           
 
Constructor Summary
LiteralImpl(java.lang.String str)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 java.lang.String getLabel()
          The formal string label of the node.
 
Methods inherited from class org.w3c.rdf.implementation.model.RDFNodeImpl
hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

content

protected java.lang.String content
Constructor Detail

LiteralImpl

public LiteralImpl(java.lang.String str)
Method Detail

getLabel

public java.lang.String getLabel()
Description copied from interface: RDFNode
The formal string label of the node. URI in case of a resource, string in case of a literal.
Specified by:
getLabel in interface RDFNode
Overrides:
getLabel in class RDFNodeImpl

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class RDFNodeImpl