net.ontopia.topicmaps.utils.rdf
Class AResourceWrapper
java.lang.Object
net.ontopia.topicmaps.utils.rdf.AResourceWrapper
- All Implemented Interfaces:
- com.hp.hpl.jena.rdf.arp.AResource
public class AResourceWrapper
- extends java.lang.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
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
resource
public com.hp.hpl.jena.rdf.model.Resource resource
AResourceWrapper
public AResourceWrapper()
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous
in interface com.hp.hpl.jena.rdf.arp.AResource
getAnonymousID
public java.lang.String getAnonymousID()
- Specified by:
getAnonymousID
in interface com.hp.hpl.jena.rdf.arp.AResource
getURI
public java.lang.String getURI()
- Specified by:
getURI
in interface com.hp.hpl.jena.rdf.arp.AResource
getUserData
public java.lang.Object getUserData()
- Specified by:
getUserData
in interface com.hp.hpl.jena.rdf.arp.AResource
setUserData
public void setUserData(java.lang.Object d)
- Specified by:
setUserData
in interface com.hp.hpl.jena.rdf.arp.AResource
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hasNodeID
public boolean hasNodeID()
- Specified by:
hasNodeID
in interface com.hp.hpl.jena.rdf.arp.AResource
Copyright © 2000-2012 Ontopia.