public class InlineURIFactory extends Object implements IInlineURIFactory
IInlineURIFactory
that comes pre-loaded
with two handlers:
InlineIPv4URIHandler
)InlineUUIDURIHandler
(Implement support for DTE extension types for URIs)
Constructor and Description |
---|
InlineURIFactory()
By default, handle IPv4 and UUID.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addHandler(InlineURIHandler handler)
Declare a handler.
|
URIExtensionIV |
createInlineURIIV(org.openrdf.model.URI uri)
Create an inline URIExtensionIV for the supplied URI.
|
String |
getLocalNameFromDelegate(org.openrdf.model.URI namespace,
AbstractLiteralIV<BigdataLiteral,?> delegate)
Inflate the localName portion of an inline URI using its storage delegate.
|
void |
init(Vocabulary vocab)
Give the handlers a chance to look up the vocab IV for their namespace
prefixes.
|
protected void addHandler(InlineURIHandler handler)
URI
s onto IV
s.handler
- public void init(Vocabulary vocab)
IInlineURIFactory
init
in interface IInlineURIFactory
public URIExtensionIV createInlineURIIV(org.openrdf.model.URI uri)
IInlineURIFactory
createInlineURIIV
in interface IInlineURIFactory
public String getLocalNameFromDelegate(org.openrdf.model.URI namespace, AbstractLiteralIV<BigdataLiteral,?> delegate)
IInlineURIFactory
getLocalNameFromDelegate
in interface IInlineURIFactory
namespace
- the uris's prefixdelegate
- the storage delegateCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.