|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public String getLexicalForm()
null
public String getLanguage()
null
if no
language specified.
null
if no
language specified.public boolean isWellFormedXML()
public URI getDatatypeURI()
null
for an untyped node.
null
for an untyped node.public boolean equals(Object obj)
obj
- the reference object with which to compare.
public int hashCode()
public String getEscapedForm()
\U
escape sequence rather than a
pair of 4-digit &x5C;u
sequences representing the surrogates.
public String getEscapedLexicalForm()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |