public interface ALiteral
extends com.hp.hpl.jena.rdf.arp.impl.ANode
Modifier and Type | Method and Description |
---|---|
String |
getDatatypeURI()
The datatype URI of a typed literal, or null
for an untyped literal.
|
String |
getLang()
The value of xml:lang for this literal, often the empty string.
|
String |
getParseType()
When
isWellFormedXML() is true, this returns the value of the rdf:parseType attribute, usually "Literal". |
boolean |
isWellFormedXML()
True if this literal was formed from a rdf:parseType="Literal" construction.
|
String |
toString()
The string value of the literal.
|
boolean isWellFormedXML()
String getParseType()
isWellFormedXML()
is true, this returns the value of the rdf:parseType attribute, usually "Literal".
Otherwise null is returned.String getDatatypeURI()
String toString()
String getLang()
Licenced under the Apache License, Version 2.0