Class WrapperIRI

    • Constructor Detail

      • WrapperIRI

        protected WrapperIRI​(org.apache.commons.rdf.api.RDFTerm original,
                             org.apache.commons.rdf.api.Graph graph)
        Create a new subject node with a backing Graph object.
        Parameters:
        original - The subject node, must be a non-null IRI
        graph - The wrapped graph, may not be null
    • Method Detail

      • getIRIString

        public String getIRIString()
        Specified by:
        getIRIString in interface org.apache.commons.rdf.api.IRI
      • ntriplesString

        public String ntriplesString()
        Specified by:
        ntriplesString in interface org.apache.commons.rdf.api.RDFTerm
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.apache.commons.rdf.api.IRI
        Specified by:
        hashCode in interface org.apache.commons.rdf.api.RDFTerm
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface org.apache.commons.rdf.api.IRI
        Specified by:
        equals in interface org.apache.commons.rdf.api.RDFTerm
        Overrides:
        equals in class Object