org.ontoware.rdf2go.model.node
Interface Literal

All Superinterfaces:
java.lang.Comparable<Node>, Node, NodeOrVariable
All Known Subinterfaces:
DatatypeLiteral, LanguageTagLiteral, PlainLiteral

public interface Literal
extends Node

This Interface represents a RDF literal. Any Literal Class should implement this The toString method should also return the getValue(). Implementations are expected to have valid implementations of equals( Object ) and hashCode()

Author:
mvo

Method Summary
 java.lang.String getValue()
          gets the value of the literal
 
Methods inherited from interface org.ontoware.rdf2go.model.node.Node
asBlankNode, asDatatypeLiteral, asLanguageTagLiteral, asLiteral, asResource, asURI, toSPARQL
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getValue

java.lang.String getValue()
gets the value of the literal

Returns:
The literal


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.