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.Resource
resource
-
Constructor Summary
Constructors Constructor Description AResourceWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAnonymousID()
String
getURI()
Object
getUserData()
int
hashCode()
boolean
hasNodeID()
boolean
isAnonymous()
void
setUserData(Object d)
String
toString()
-
-
-
Method Detail
-
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous
in interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getAnonymousID
public String getAnonymousID()
- Specified by:
getAnonymousID
in interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getURI
public String getURI()
- Specified by:
getURI
in interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
getUserData
public Object getUserData()
- Specified by:
getUserData
in interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
setUserData
public void setUserData(Object d)
- Specified by:
setUserData
in interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
hasNodeID
public boolean hasNodeID()
- Specified by:
hasNodeID
in interfaceorg.apache.jena.rdfxml.xmlinput.AResource
-
-