net.ontopia.topicmaps.utils.rdf
Class AResourceWrapper

java.lang.Object
  extended by net.ontopia.topicmaps.utils.rdf.AResourceWrapper
All Implemented Interfaces:
com.hp.hpl.jena.rdf.arp.AResource

public class AResourceWrapper
extends Object
implements com.hp.hpl.jena.rdf.arp.AResource

INTERNAL: This class is used to wrap Jena Resource objects in the ARP AResource 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.Resource resource
           
 
Constructor Summary
AResourceWrapper()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAnonymousID()
           
 String getURI()
           
 Object getUserData()
           
 int hashCode()
           
 boolean hasNodeID()
           
 boolean isAnonymous()
           
 void setUserData(Object d)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

resource

public com.hp.hpl.jena.rdf.model.Resource resource
Constructor Detail

AResourceWrapper

public AResourceWrapper()
Method Detail

isAnonymous

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

getAnonymousID

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

getURI

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

getUserData

public Object getUserData()
Specified by:
getUserData in interface com.hp.hpl.jena.rdf.arp.AResource

setUserData

public void setUserData(Object d)
Specified by:
setUserData in interface com.hp.hpl.jena.rdf.arp.AResource

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hasNodeID

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


Copyright © 2000-2012 Ontopia.