| 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
SAXParseExceptionpublic boolean isWellFormedXML()
ALiteralisWellFormedXML in interface ALiteralALiteral.isWellFormedXML()@Deprecated public String getParseType()
ALiteralisWellFormedXML() is true, this returns the value of the rdf:parseType attribute, usually "Literal".
Otherwise null is returned.getParseType in interface ALiteralALiteral.getParseType()public String toString()
ALiteralpublic String getDatatypeURI()
ALiteralgetDatatypeURI in interface ALiteralALiteral.getDatatypeURI()public String getLang()
ALiteralgetLang in interface ALiteralALiteral.getLang()Licenced under the Apache License, Version 2.0