public class InlinePrefixedSuffixedFixedWidthIntegerURIHandler extends InlineLocalNameIntegerURIHandler implements IPrefixedURIHandler, ISuffixedURIHandler
InlinePrefixedSuffixedFixedWidthIntegerURIHandler handler = new InlinePrefixedSuffixedFixedWidthIntegerURIHandler("http://rdf.ncbi.nlm.nih.gov/pubchem/compound/","CID_","_SUFFIX",6)
This has support for overloading on a single namespace InlineLocalNameIntegerURIHandler.packedIdnamespaceIV| Constructor and Description |
|---|
InlinePrefixedSuffixedFixedWidthIntegerURIHandler(String namespace,
String prefix,
String suffix,
int width) |
InlinePrefixedSuffixedFixedWidthIntegerURIHandler(String namespace,
String prefix,
String suffix,
int width,
int id) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractLiteralIV |
createInlineIV(String localName)
Concrete subclasses are responsible for actually creating the inline
literal IV for the localName.
|
String |
getLocalNameFromDelegate(AbstractLiteralIV<BigdataLiteral,?> delegate)
Unpack the inline value into the localName portion of the uri.
|
String |
getPrefix()
Returns the prefix for the handler
|
String |
getSuffix()
Returns the suffix for the handler
|
getPackedValueString, getUnpackedValueFromString, getUnpackedValueString, packValue, unpackId, unpackId, unpackValuecreateInlineIV, createInlineIVcreateInlineIV, getNamespace, initpublic InlinePrefixedSuffixedFixedWidthIntegerURIHandler(String namespace, String prefix, String suffix, int width)
protected AbstractLiteralIV createInlineIV(String localName)
InlineURIHandlercreateInlineIV in class InlineSignedIntegerURIHandlerpublic String getLocalNameFromDelegate(AbstractLiteralIV<BigdataLiteral,?> delegate)
InlineURIHandlergetLocalNameFromDelegate in class InlineURIHandlerpublic String getPrefix()
IPrefixedURIHandlergetPrefix in interface IPrefixedURIHandlerpublic String getSuffix()
ISuffixedURIHandlergetSuffix in interface ISuffixedURIHandlerCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.