Package org.semanticweb.owlapi.io
Class RDFResourceIRI
java.lang.Object
org.semanticweb.owlapi.io.RDFNode
org.semanticweb.owlapi.io.RDFResource
org.semanticweb.owlapi.io.RDFResourceIRI
- All Implemented Interfaces:
Serializable
,Comparable<RDFNode>
,org.apache.commons.rdf.api.BlankNodeOrIRI
,org.apache.commons.rdf.api.IRI
,org.apache.commons.rdf.api.RDFTerm
,HasIRI
IRI node implementation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.semanticweb.owlapi.io.RDFResource
compareTo, ntriplesString
Methods inherited from class org.semanticweb.owlapi.io.RDFNode
idRequired, isAnonymous, isAxiom, isIndividual, isLiteral, shouldOutputId
Methods inherited from interface org.apache.commons.rdf.api.RDFTerm
ntriplesString
-
Constructor Details
-
RDFResourceIRI
- Parameters:
resource
- the resource
-
-
Method Details
-
getIRI
Description copied from interface:HasIRI
Gets the IRI of this object. -
getResource
- Specified by:
getResource
in classRDFResource
- Returns:
- the resource IRI
-
hashCode
public int hashCode() -
equals
-
toString
-
getIRIString
- Specified by:
getIRIString
in interfaceorg.apache.commons.rdf.api.IRI
-
getNodeIDValue
Description copied from class:RDFResource
For blank nodes, return a valid value for the RDF/XML nodeId attribute. For non blank nodes, an exception should be thrown. The method must only be called on blank nodes.- Specified by:
getNodeIDValue
in classRDFResource
- Returns:
- a valid value for thE RDF/XML nodeId attribute
-