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
SAXParseException
public ARPString(Frame f, String value, AbsXMLContext forXMLLang) throws SAXParseException
SAXParseException
public String toString()
ALiteral
public boolean isWellFormedXML()
ALiteral
isWellFormedXML
in interface ALiteral
@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
public String getLang()
ALiteral
public String getDatatypeURI()
ALiteral
getDatatypeURI
in interface ALiteral
Licenced under the Apache License, Version 2.0