org.openanzo.glitter.rdf
Class Literal

java.lang.Object
  extended by org.openanzo.glitter.rdf.Literal
All Implemented Interfaces:
ILiteralTerm, RDFTerm, TriplePatternComponent
Direct Known Subclasses:
PlainLiteral, TypedLiteral

public abstract class Literal
extends java.lang.Object
implements RDFTerm, ILiteralTerm

Author:
lee

Constructor Summary
Literal()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
abstract  java.lang.String getLexicalForm()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openanzo.glitter.rdf.TriplePatternComponent
compareTo
 
Methods inherited from interface org.openanzo.glitter.rdf.ILiteralTerm
isPlainLiteral, isTypedLiteral
 

Constructor Detail

Literal

public Literal()
Method Detail

equals

public boolean equals(java.lang.Object other)
Specified by:
equals in interface TriplePatternComponent
Overrides:
equals in class java.lang.Object

getLexicalForm

public abstract java.lang.String getLexicalForm()
Specified by:
getLexicalForm in interface ILiteralTerm
Returns:
The lexical form of the literal.

hashCode

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


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.