Package net.ontopia.topicmaps.utils.rdf
Class AResourceWrapper
java.lang.Object
net.ontopia.topicmaps.utils.rdf.AResourceWrapper
- All Implemented Interfaces:
org.apache.jena.rdfxml.xmlinput.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 Details
-
resource
public org.apache.jena.rdf.model.Resource resource
-
-
Constructor Details
-
AResourceWrapper
public AResourceWrapper()
-
-
Method Details
-
isAnonymous
public boolean isAnonymous()- Specified by:
isAnonymousin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getAnonymousID
- Specified by:
getAnonymousIDin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getURI
- Specified by:
getURIin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getUserData
- Specified by:
getUserDatain interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
setUserData
- Specified by:
setUserDatain interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
hashCode
public int hashCode() -
equals
-
toString
-
hasNodeID
public boolean hasNodeID()- Specified by:
hasNodeIDin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-