net.ontopia.topicmaps.utils.rdf
Class ALiteralWrapper

java.lang.Object
  extended by net.ontopia.topicmaps.utils.rdf.ALiteralWrapper
All Implemented Interfaces:
com.hp.hpl.jena.rdf.arp.ALiteral, com.hp.hpl.jena.rdf.arp.impl.ANode, com.hp.hpl.jena.rdf.arp.impl.Taint

public class ALiteralWrapper
extends Object
implements com.hp.hpl.jena.rdf.arp.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
 com.hp.hpl.jena.rdf.model.Literal literal
           
 
Constructor Summary
ALiteralWrapper()
           
 
Method Summary
 String getDatatypeURI()
           
 String getLang()
           
 String getParseType()
           
 boolean isTainted()
           
 boolean isWellFormedXML()
           
 void taint()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

literal

public com.hp.hpl.jena.rdf.model.Literal literal
Constructor Detail

ALiteralWrapper

public ALiteralWrapper()
Method Detail

isWellFormedXML

public boolean isWellFormedXML()
Specified by:
isWellFormedXML in interface com.hp.hpl.jena.rdf.arp.ALiteral

getParseType

public String getParseType()
Specified by:
getParseType in interface com.hp.hpl.jena.rdf.arp.ALiteral

toString

public String toString()
Specified by:
toString in interface com.hp.hpl.jena.rdf.arp.ALiteral
Overrides:
toString in class Object

getLang

public String getLang()
Specified by:
getLang in interface com.hp.hpl.jena.rdf.arp.ALiteral

getDatatypeURI

public String getDatatypeURI()
Specified by:
getDatatypeURI in interface com.hp.hpl.jena.rdf.arp.ALiteral

taint

public void taint()
Specified by:
taint in interface com.hp.hpl.jena.rdf.arp.impl.Taint

isTainted

public boolean isTainted()
Specified by:
isTainted in interface com.hp.hpl.jena.rdf.arp.impl.Taint


Copyright © 2000-2012 Ontopia.