Package com.stardog.stark
Interface IRI
- All Superinterfaces:
Resource,Serializable,Value
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:
-
Method Summary
-
Method Details
-
namespace
The namespace of the IRI- Returns:
- the namespace
-
localName
The local name of the IRI- Returns:
- the local name
-