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
-
- Enclosing class:
- AbstractIRI
static class AbstractIRI.GenericIRI extends AbstractIRI
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.rdf4j.model.base.AbstractIRI
AbstractIRI.GenericIRI
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringiriprivate static longserialVersionUIDprivate intsplit
-
Constructor Summary
Constructors Constructor Description GenericIRI(java.lang.String iri)GenericIRI(java.lang.String namespace, java.lang.String localName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocalName()Gets the local name part of this IRI.java.lang.StringgetNamespace()Gets the namespace part of this IRI.private intsplit()java.lang.StringstringValue()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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
iri
private final java.lang.String iri
-
split
private int split
-
-
Method Detail
-
stringValue
public java.lang.String stringValue()
Description copied from interface:ValueReturns the String-value of a Value object. This returns either aLiteral's label, aIRI's URI or aBNode's ID.- Specified by:
stringValuein interfaceValue- Overrides:
stringValuein classAbstractIRI
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:IRIGets 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
public java.lang.String getLocalName()
Description copied from interface:IRIGets 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()
-
-