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 Details

    • resource

      public org.apache.jena.rdf.model.Resource resource
  • Constructor Details

    • AResourceWrapper

      public AResourceWrapper()
  • Method Details

    • isAnonymous

      public boolean isAnonymous()
      Specified by:
      isAnonymous in interface org.apache.jena.rdfxml.xmlinput.AResource
    • getAnonymousID

      public String getAnonymousID()
      Specified by:
      getAnonymousID in interface org.apache.jena.rdfxml.xmlinput.AResource
    • getURI

      public String getURI()
      Specified by:
      getURI in interface org.apache.jena.rdfxml.xmlinput.AResource
    • getUserData

      public Object getUserData()
      Specified by:
      getUserData in interface org.apache.jena.rdfxml.xmlinput.AResource
    • setUserData

      public void setUserData(Object d)
      Specified by:
      setUserData in interface org.apache.jena.rdfxml.xmlinput.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 org.apache.jena.rdfxml.xmlinput.AResource