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
public class AResourceWrapper extends Object implements 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 Summary
Fields Modifier and Type Field Description org.apache.jena.rdf.model.Resourceresource
-
Constructor Summary
Constructors Constructor Description AResourceWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAnonymousID()StringgetURI()ObjectgetUserData()inthashCode()booleanhasNodeID()booleanisAnonymous()voidsetUserData(Object d)StringtoString()
-
-
-
Method Detail
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymousin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getAnonymousID
public String getAnonymousID()
- Specified by:
getAnonymousIDin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getURI
public String getURI()
- Specified by:
getURIin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getUserData
public Object getUserData()
- Specified by:
getUserDatain interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
setUserData
public void setUserData(Object d)
- Specified by:
setUserDatain interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
hasNodeID
public boolean hasNodeID()
- Specified by:
hasNodeIDin interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
-