|
||||||||||
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
for an untyped node. |
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 null if no
language specified. |
String |
getLexicalForm()
Obtain the text of this literal. |
int |
hashCode()
Returns a hash-code value for this literal. |
boolean |
isWellFormedXML()
Whether the literal is well formed XML. |
String |
toString()
Returns the lexical form. |
Methods inherited from interface org.jrdf.graph.TypedNodeVisitable |
---|
accept |
Method Detail |
---|
String getLexicalForm()
null
String getLanguage()
null
if no
language specified.
null
if no
language specified.boolean isWellFormedXML()
URI getDatatypeURI()
null
for an untyped node.
null
for an untyped node.boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
int hashCode()
hashCode
in class Object
String getEscapedForm()
\U
escape sequence rather than a
pair of 4-digit &x5C;u
sequences representing 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 |