public interface IRI extends URI, Resource
URI
: while URIs are
limited to a subset of the ASCII character set, IRIs may contain characters from the Universal Character Set
(Unicode/ISO 10646), including Chinese or Japanese kanji, Korean, Cyrillic characters, and so forth. It is defined by
RFC 3987.
An IRI can be split into a namespace part and a local name part, which are derived from an IRI string by splitting it in two using the following algorithm:
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares a IRI object to another object.
|
String |
getLocalName()
Gets the local name part of this IRI.
|
String |
getNamespace()
Gets the namespace part of this IRI.
|
int |
hashCode()
The hash code of an IRI is defined as the hash code of its String-representation: toString().hashCode.
|
String |
toString()
Returns the String-representation of this IRI.
|
stringValue
String toString()
String getNamespace()
getNamespace
in interface URI
String getLocalName()
getLocalName
in interface URI
boolean equals(Object o)
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.