Package net.ontopia.topicmaps.utils.rdf
Class ALiteralWrapper
- java.lang.Object
-
- net.ontopia.topicmaps.utils.rdf.ALiteralWrapper
-
- All Implemented Interfaces:
org.apache.jena.rdfxml.xmlinput.ALiteral,org.apache.jena.rdfxml.xmlinput.impl.ANode,org.apache.jena.rdfxml.xmlinput.impl.Taint
public class ALiteralWrapper extends Object implements org.apache.jena.rdfxml.xmlinput.ALiteral
INTERNAL: This class is used to wrap Jena Literal objects in the ARP ALiteral interface so that they can be streamed through the ARP StatementHandler interface without requiring new objects to be created.
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.jena.rdf.model.Literalliteral
-
Constructor Summary
Constructors Constructor Description ALiteralWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatatypeURI()StringgetLang()booleanisTainted()booleanisWellFormedXML()voidtaint()StringtoString()
-
-
-
Method Detail
-
isWellFormedXML
public boolean isWellFormedXML()
- Specified by:
isWellFormedXMLin interfaceorg.apache.jena.rdfxml.xmlinput.ALiteral
-
toString
public String toString()
-
getLang
public String getLang()
- Specified by:
getLangin interfaceorg.apache.jena.rdfxml.xmlinput.ALiteral
-
getDatatypeURI
public String getDatatypeURI()
- Specified by:
getDatatypeURIin interfaceorg.apache.jena.rdfxml.xmlinput.ALiteral
-
taint
public void taint()
- Specified by:
taintin interfaceorg.apache.jena.rdfxml.xmlinput.impl.Taint
-
isTainted
public boolean isTainted()
- Specified by:
isTaintedin interfaceorg.apache.jena.rdfxml.xmlinput.impl.Taint
-
-