Constructor and Description |
---|
ARPDatatypeLiteral(Frame f,
String lexf,
URIReference dt) |
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()
Deprecated.
|
boolean |
isWellFormedXML()
True if this literal was formed from a rdf:parseType="Literal" construction.
|
String |
toString()
The string value of the literal.
|
public ARPDatatypeLiteral(Frame f, String lexf, URIReference dt) throws SAXParseException
SAXParseException
public boolean isWellFormedXML()
ALiteral
isWellFormedXML
in interface ALiteral
ALiteral.isWellFormedXML()
@Deprecated public String getParseType()
ALiteral
isWellFormedXML()
is true, this returns the value of the rdf:parseType attribute, usually "Literal".
Otherwise null is returned.getParseType
in interface ALiteral
ALiteral.getParseType()
public String toString()
ALiteral
public String getDatatypeURI()
ALiteral
getDatatypeURI
in interface ALiteral
ALiteral.getDatatypeURI()
public String getLang()
ALiteral
getLang
in interface ALiteral
ALiteral.getLang()
Licenced under the Apache License, Version 2.0