public abstract class InlineURIHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected IV |
namespaceIV
The inline vocab IV for the namespace prefix.
|
Constructor and Description |
---|
InlineURIHandler(String namespace)
Create a handler for the supplied namespace prefix - the handler will be
invoked iff it is the registered handler having the longest prefix LTE to
the actual URI.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractLiteralIV |
createInlineIV(String localName)
Concrete subclasses are responsible for actually creating the inline
literal IV for the localName.
|
URIExtensionIV |
createInlineIV(org.openrdf.model.URI uri) |
String |
getLocalNameFromDelegate(AbstractLiteralIV<BigdataLiteral,?> delegate)
Unpack the inline value into the localName portion of the uri.
|
String |
getNamespace()
The namespace this handles.
|
void |
init(Vocabulary vocab)
Lookup the namespace IV from the vocabulary.
|
protected transient IV namespaceIV
public InlineURIHandler(String namespace)
public void init(Vocabulary vocab)
public String getNamespace()
public URIExtensionIV createInlineIV(org.openrdf.model.URI uri)
public String getLocalNameFromDelegate(AbstractLiteralIV<BigdataLiteral,?> delegate)
protected abstract AbstractLiteralIV createInlineIV(String localName)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.