public interface IRI extends BlankNodeOrIRI
|Modifier and Type||Method and Description|
Check it this IRI is equal to another IRI.
Return the IRI encoded as a native Unicode String.
The returned string must not include URL-encoding to escape non-ASCII characters.
Calculate a hash code for this IRI.
IRI equality: Two IRIs are equal if and only if they are equivalent under Simple String Comparison according to section 5.1 of [RFC3987]. Further normalization MUST NOT be performed when comparing IRIs for equality.Two IRI instances are equal if and only if their
getIRIString()are equal. Implementations MUST also override
hashCode()so that two equal IRIs produce the same hash code.
This method MUST be implemented in conjunction with
equals(Object) so that two equal IRIs produce the same hash
Copyright © 2015–2017 The Apache Software Foundation. All rights reserved.