org.ontoware.rdf2go.model.node.impl
Class PlainLiteralImpl
java.lang.Object
org.ontoware.rdf2go.model.node.impl.LiteralImpl
org.ontoware.rdf2go.model.node.impl.PlainLiteralImpl
- All Implemented Interfaces:
- java.lang.Comparable<Node>, Literal, Node, NodeOrVariable, PlainLiteral
public class PlainLiteralImpl
- extends LiteralImpl
- implements PlainLiteral
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PlainLiteralImpl
public PlainLiteralImpl(java.lang.String value)
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface Literal- Specified by:
getValue in class LiteralImpl
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
asDatatypeLiteral
public DatatypeLiteral asDatatypeLiteral()
throws java.lang.ClassCastException
- Specified by:
asDatatypeLiteral in interface Node
- Throws:
java.lang.ClassCastException
asLanguageTagLiteral
public LanguageTagLiteral asLanguageTagLiteral()
throws java.lang.ClassCastException
- Specified by:
asLanguageTagLiteral in interface Node
- Throws:
java.lang.ClassCastException
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
compareTo
public int compareTo(Node other)
- Specified by:
compareTo in interface java.lang.Comparable<Node>
toSPARQL
public java.lang.String toSPARQL()
- Specified by:
toSPARQL in interface Node
Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.