Package org.eclipse.rdf4j.model.base
Class AbstractIRI.GenericIRI
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractIRI
org.eclipse.rdf4j.model.base.AbstractIRI.GenericIRI
- All Implemented Interfaces:
Serializable
,IRI
,Resource
,Value
- Enclosing class:
AbstractIRI
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.rdf4j.model.base.AbstractIRI
AbstractIRI.GenericIRI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the local name part of this IRI.Gets the namespace part of this IRI.private int
split()
Returns the String-value of a Value object.Methods inherited from class org.eclipse.rdf4j.model.base.AbstractIRI
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.model.Resource
isResource
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
iri
-
split
private int split
-
-
Constructor Details
-
GenericIRI
GenericIRI(String iri) -
GenericIRI
-
-
Method Details
-
stringValue
Description copied from interface:Value
Returns the String-value of a Value object. This returns either aLiteral
's label, aIRI
's URI or aBNode
's ID.- Specified by:
stringValue
in interfaceValue
- Overrides:
stringValue
in classAbstractIRI
-
getNamespace
Description copied from interface:IRI
Gets the namespace part of this IRI.The namespace is defined as per the algorithm described in the class documentation.
- Returns:
- the namespace of this IRI
-
getLocalName
Description copied from interface:IRI
Gets the local name part of this IRI.The local name is defined as per the algorithm described in the class documentation.
- Returns:
- the local name of this IRI
-
split
private int split()
-