org.semanticweb.HermiT.datatypes.rdfplainliteral
Class RDFPlainLiteralDataValue

java.lang.Object
  extended by org.semanticweb.HermiT.datatypes.rdfplainliteral.RDFPlainLiteralDataValue

public class RDFPlainLiteralDataValue
extends Object

Implements a string with a language tag -- that is, a data value from the value space of rdf:PlainLiteral.


Field Summary
protected  String m_languageTag
           
protected  String m_string
           
 
Constructor Summary
RDFPlainLiteralDataValue(String string, String languageTag)
           
 
Method Summary
 boolean equals(Object that)
           
 String getLanguageTag()
           
 String getString()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_string

protected final String m_string

m_languageTag

protected final String m_languageTag
Constructor Detail

RDFPlainLiteralDataValue

public RDFPlainLiteralDataValue(String string,
                                String languageTag)
Method Detail

getString

public String getString()

getLanguageTag

public String getLanguageTag()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object that)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.