| Constructor and Description |
|---|
ARPString(Frame f,
String value,
AbsXMLContext forXMLLang) |
ARPString(Frame f,
String value,
String parseType)
Creates new StringToken
|
| 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 ARPString(Frame f, String value, String parseType) throws SAXParseException
SAXParseExceptionpublic ARPString(Frame f, String value, AbsXMLContext forXMLLang) throws SAXParseException
SAXParseExceptionpublic String toString()
ALiteralpublic boolean isWellFormedXML()
ALiteralisWellFormedXML in interface ALiteral@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 ALiteralpublic String getLang()
ALiteralpublic String getDatatypeURI()
ALiteralgetDatatypeURI in interface ALiteralLicenced under the Apache License, Version 2.0