public class SampleExtensionFactory extends Object implements IExtensionFactory
IExtensionFactory
implementation that creates two
IExtension
s - 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
BlobIV s for the IExtension 's datatype URIs will be on
hand when needed. |
public void init(IDatatypeURIResolver resolver, ILexiconConfiguration<BigdataValue> config)
IExtensionFactory
BlobIV
s 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 IExtensionFactory
resolver
- The interface used to resolve an URI
to an
BigdataURI
.config
- The ILexiconConfiguration
.public Iterator<IExtension<? extends BigdataValue>> getExtensions()
IExtensionFactory
getExtensions
in interface IExtensionFactory
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.