public class InlineIntegerURIHandlerMap extends InlineLocalNameIntegerURIHandler
InlineLocalNameIntegerURIHandler
.
Currently, up to 32 different URI handlers are supported for a given namespace.
For an example, see com.blazegraph.vocabulary.pubchem.PubChemInlineURIFactory
.Modifier and Type | Field and Description |
---|---|
static Pattern |
descriptorPattern |
packedId
namespaceIV
Constructor and Description |
---|
InlineIntegerURIHandlerMap(String namespace) |
Modifier and Type | Method and Description |
---|---|
void |
addHandlerForNS(int id,
InlineURIHandler handler) |
protected AbstractLiteralIV |
createInlineIV(String localName)
Select the best Integer Handler.
|
String |
getLocalNameFromDelegate(AbstractLiteralIV<BigdataLiteral,?> delegate)
Unpack the inline value into the localName portion of the uri.
|
getPackedValueString, getUnpackedValueFromString, getUnpackedValueString, packValue, unpackId, unpackId, unpackValue
createInlineIV, createInlineIV
createInlineIV, getNamespace, init
public static final Pattern descriptorPattern
public InlineIntegerURIHandlerMap(String namespace)
public void addHandlerForNS(int id, InlineURIHandler handler)
public String getLocalNameFromDelegate(AbstractLiteralIV<BigdataLiteral,?> delegate)
getLocalNameFromDelegate
in class InlineURIHandler
protected AbstractLiteralIV createInlineIV(String localName)
InlineURIFactory
.createInlineIV
in class InlineSignedIntegerURIHandler
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.