|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRDF_Literal
This class describes a Literal value (e.g a name) According to the RDF specification a Literal is described by a value attribute, a language attribute and a type attribute. The type can be any valid type (like "int","String","char" e.t.c) as long as the value can be interpreted in that form
| Method Summary | |
|---|---|
java.lang.String |
getLanguage()
This method retrieves the language of the Literal |
java.lang.String |
getType()
This method retrieves the type of the literal |
java.lang.Object |
getValue()
This method retrieves the value of the Literal which must be further casted to its type |
void |
setLanguage(java.lang.String language)
This method sets the language of the Literal |
void |
setType(java.lang.String type)
This method defines the type of the Literal |
void |
setValue(java.lang.Object value)
This method sets the value of the Literal |
java.lang.String |
toString()
|
| Method Detail |
|---|
java.lang.Object getValue()
void setValue(java.lang.Object value)
value - The value to be set to the literaljava.lang.String getLanguage()
void setLanguage(java.lang.String language)
language - A String describing the language of the Literaljava.lang.String getType()
void setType(java.lang.String type)
type - The String that contains the type of the Literaljava.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||