| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Literal
RDF literal node.
| Method Summary | |
|---|---|
|  boolean | equals(Object obj)Indicates whether some other object is "equal to" this one. | 
|  URI | getDatatypeURI()Returns the URI of the RDF datatype of this resource, or NULL_URIfor an untyped node. | 
|  DatatypeValue | getDatatypeValue()Obtain the data type representation of this literal. | 
|  String | getEscapedForm()Provide a legible representation of a literal, following the N-Triples format defined in §3.2 of the W3C's RDF Test Cases Recommendation. | 
|  String | getEscapedLexicalForm()Returns an escaped lexical form where double quotes and backslashes are escaped. | 
|  String | getLanguage()Returns the language code of the literal, or ""if no language specified. | 
|  Object | getValue()Obtain a Java native representation of the datatype. | 
|  int | hashCode()Returns a hash-code value for this literal. | 
|  boolean | isDatatypedLiteral()Returns true if the literal is a datatype literal. | 
|  boolean | isLanguageLiteral()Returns true if the literal is a language literal. | 
|  boolean | isPlainLiteral()Returns true if the literal is a untyped/plain literal. | 
|  String | toString()Returns the lexical form. | 
| Methods inherited from interface org.jrdf.graph.TypedNodeVisitable | 
|---|
| accept | 
| Methods inherited from interface org.jrdf.graph.Value | 
|---|
| getLexicalForm, isWellFormedXML | 
| Method Detail | 
|---|
Object getValue()
getValue in interface ValueDatatypeValue getDatatypeValue()
String getLanguage()
"" if no language specified.
"" if no language specified.URI getDatatypeURI()
NULL_URI for an untyped node.
NULL_URI for an untyped node.boolean isDatatypedLiteral()
boolean isLanguageLiteral()
boolean isPlainLiteral()
boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.
int hashCode()
hashCode in class ObjectString getEscapedForm()
\U escape sequence rather than a pair of 4-digit &x5C;u sequences representing 4
 the surrogates.
String getEscapedLexicalForm()
String toString()
toString in class Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||