|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RDFSLiteral
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. |
short |
getShort()
|
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 |
---|
boolean getBoolean()
byte[] getBytes()
RDFSDatatype getDatatype()
double getDouble()
float getFloat()
short getShort()
int getInt()
String getLanguage()
long getLong()
Object getPlainValue()
String getString()
|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |