Package com.stardog.stark
Interface IRI
-
@Immutable public interface IRI extends Resource
An Internationalized Resource Identifier (IRI) within an RDF graph.
IRI's generally have two components, a namespace, which is often the URL of the document in which the concept appears and the name of the concept itself. The namespace and local name are tokenized from the complete `String` representation of the IRI as follows:
* First occurrence of `#` * If not, then last occurrence of `\` * If not, then Last occurrence of `:` For example, the IRI `http://example.org/foo/bar/baz` would have a local name of `baz` and a namespace of `http://example.org/foo/bar/`- Since:
- 0.1
- Version:
- 0.1
- Author:
- Michael Grove
- See Also:
- IRIs in RDF, RFC 3987
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
localName()
The local name of the IRIjava.lang.String
namespace()
The namespace of the IRI
-