Class 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 Detail

      • resource

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

      • AResourceWrapper

        public AResourceWrapper()
    • Method Detail

      • 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
      • hasNodeID

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