Class ARPDatatypeLiteral
- java.lang.Object
-
- org.apache.jena.rdfxml.xmlinput.impl.TaintImpl
-
- org.apache.jena.rdfxml.xmlinput.impl.ARPDatatypeLiteral
-
-
Constructor Summary
Constructors Constructor Description ARPDatatypeLiteral(Frame f, java.lang.String lexf, URIReference dt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDatatypeURI()
The datatype URI of a typed literal, or null for an untyped literal.java.lang.String
getLang()
The value of xml:lang for this literal, often the empty string.boolean
isWellFormedXML()
True if this literal was formed from a rdf:parseType="Literal" construction.java.lang.String
toString()
The string value of the literal.
-
-
-
Constructor Detail
-
ARPDatatypeLiteral
public ARPDatatypeLiteral(Frame f, java.lang.String lexf, URIReference dt) throws org.xml.sax.SAXParseException
- Throws:
org.xml.sax.SAXParseException
-
-
Method Detail
-
isWellFormedXML
public boolean isWellFormedXML()
Description copied from interface:ALiteral
True if this literal was formed from a rdf:parseType="Literal" construction.- Specified by:
isWellFormedXML
in interfaceALiteral
- Returns:
- true for rdf:parseType="Literal" or any other unrecognised parseType.
- See Also:
ALiteral.isWellFormedXML()
-
toString
public java.lang.String toString()
Description copied from interface:ALiteral
The string value of the literal.
-
getDatatypeURI
public java.lang.String getDatatypeURI()
Description copied from interface:ALiteral
The datatype URI of a typed literal, or null for an untyped literal.- Specified by:
getDatatypeURI
in interfaceALiteral
- Returns:
- the URI as a String, or null
- See Also:
ALiteral.getDatatypeURI()
-
getLang
public java.lang.String getLang()
Description copied from interface:ALiteral
The value of xml:lang for this literal, often the empty string.- Specified by:
getLang
in interfaceALiteral
- Returns:
- xml:lang.
- See Also:
ALiteral.getLang()
-
-