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 java.lang.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
 java.lang.String getDatatypeURI()
           
 java.lang.String getLang()
           
 java.lang.String getParseType()
           
 boolean isTainted()
           
 boolean isWellFormedXML()
           
 void taint()
           
 java.lang.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 java.lang.String getParseType()
Specified by:
getParseType in interface com.hp.hpl.jena.rdf.arp.ALiteral

toString

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

getLang

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

getDatatypeURI

public java.lang.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.