Class ShaclSailFactory
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.config.ShaclSailFactory
-
- All Implemented Interfaces:
SailFactory
public class ShaclSailFactory extends Object implements SailFactory
Factory class for creation ofShaclSails as part of a Sail stack.- Author:
- Jeen Broekstra
-
-
Constructor Summary
Constructors Constructor Description ShaclSailFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SailImplConfiggetConfig()SailgetSail(SailImplConfig config)Returns a Sail instance that has been initialized using the supplied configuration data.StringgetSailType()Returns the type of the Sails that this factory creates.
-
-
-
Field Detail
-
SAIL_TYPE
public static final String SAIL_TYPE
The type of Sails that are created by this factory.- See Also:
SailFactory.getSailType(), Constant Field Values
-
-
Method Detail
-
getSailType
public String getSailType()
Description copied from interface:SailFactoryReturns the type of the Sails that this factory creates. Sail types are used for identification and should uniquely identify specific implementations of the Sail API. This type can be equal to the fully qualified class name of the Sail, but this is not required.- Specified by:
getSailTypein interfaceSailFactory
-
getConfig
public SailImplConfig getConfig()
- Specified by:
getConfigin interfaceSailFactory
-
getSail
public Sail getSail(SailImplConfig config) throws SailConfigException
Description copied from interface:SailFactoryReturns a Sail instance that has been initialized using the supplied configuration data.- Specified by:
getSailin interfaceSailFactory- Parameters:
config- TODO- Returns:
- The created (but un-initialized) Sail.
- Throws:
SailConfigException- If no Sail could be created due to invalid or incomplete configuration data.
-
-