| com.hp.hpl.jena.rdf.arp.ALiteral
All known Subclasses: com.hp.hpl.jena.rdf.arp.impl.ARPString, com.hp.hpl.jena.rdf.arp.impl.ARPDatatypeLiteral,
ALiteral | public interface ALiteral extends ANode(Code) | | A string literal property value from an RDF/XML file.
author: jjc |
Method Summary | |
public String | getDatatypeURI() The datatype URI of a typed literal, or null
for an untyped literal. | public String | getLang() The value of xml:lang for this literal, often the empty string. | public String | getParseType() When isWellFormedXML() is true, this returns the value of the rdf:parseType attribute, usually "Literal". | public boolean | isWellFormedXML() True if this literal was formed from a rdf:parseType="Literal" construction. | public String | toString() The string value of the literal. |
getDatatypeURI | public String getDatatypeURI()(Code) | | The datatype URI of a typed literal, or null
for an untyped literal.
the URI as a String, or null |
getLang | public String getLang()(Code) | | The value of xml:lang for this literal, often the empty string.
xml:lang. |
getParseType | public String getParseType()(Code) | | When isWellFormedXML() is true, this returns the value of the rdf:parseType attribute, usually "Literal".
Otherwise null is returned.
The parseType for well formed XML, or null for normal literals. |
isWellFormedXML | public boolean isWellFormedXML()(Code) | | True if this literal was formed from a rdf:parseType="Literal" construction.
true for rdf:parseType="Literal" or any other unrecognised parseType. |
toString | public String toString()(Code) | | The string value of the literal.
The string. |
|
|