public class SampleExtensionFactory extends Object implements IExtensionFactory
IExtensionFactory implementation that creates two
IExtensions - the EpochExtension and the
ColorsEnumExtension.| Constructor and Description |
|---|
SampleExtensionFactory() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<IExtension<? extends BigdataValue>> |
getExtensions()
Return the supported extensions.
|
void |
init(IDatatypeURIResolver resolver,
ILexiconConfiguration<BigdataValue> config)
This will be called very early in the IExtensionFactory lifecycle so that
the
BlobIVs for the IExtension's datatype URIs will be on
hand when needed. |
public void init(IDatatypeURIResolver resolver, ILexiconConfiguration<BigdataValue> config)
IExtensionFactoryBlobIVs for the IExtension's datatype URIs will be on
hand when needed. Also gets other relevant configuration information from
the lexicon such as whether or not to inline xsd:datetimes and what
timezone to use to do so.init in interface IExtensionFactoryresolver - The interface used to resolve an URI to an
BigdataURI.config - The ILexiconConfiguration.public Iterator<IExtension<? extends BigdataValue>> getExtensions()
IExtensionFactorygetExtensions in interface IExtensionFactoryCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.