|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to represent an RDF/XML Schema literal. This encapsulates the value, the datatype and the language tag.
Method Summary | |
boolean |
getBoolean()
Gets the value as a boolean. |
byte[] |
getBytes()
Gets the appropriate byte array if the value has datatype xsd:base64Binary |
RDFSDatatype |
getDatatype()
Gets the RDFSDatatype of this value. |
double |
getDouble()
|
float |
getFloat()
|
int |
getInt()
Gets the value as an int. |
String |
getLanguage()
Gets the language if it has been defined for this. |
long |
getLong()
|
Object |
getPlainValue()
If the datatype of this is one of the default datatypes, which can be optimized by Protege, then this returns an optimized value. |
String |
getString()
|
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.RDFObject |
equalsStructurally, getBrowserText |
Methods inherited from interface edu.stanford.smi.protegex.owl.model.visitor.Visitable |
accept |
Method Detail |
public boolean getBoolean()
public byte[] getBytes()
public RDFSDatatype getDatatype()
public double getDouble()
public float getFloat()
public int getInt()
public String getLanguage()
public long getLong()
public Object getPlainValue()
public String getString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |