Class ShaclSailFactory

  • All Implemented Interfaces:
    SailFactory

    public class ShaclSailFactory
    extends java.lang.Object
    implements SailFactory
    Factory class for creation of ShaclSails as part of a Sail stack.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SAIL_TYPE
      The type of Sails that are created by this factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SailImplConfig getConfig()  
      Sail getSail​(SailImplConfig config)
      Returns a Sail instance that has been initialized using the supplied configuration data.
      java.lang.String getSailType()
      Returns the type of the Sails that this factory creates.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShaclSailFactory

        public ShaclSailFactory()
    • Method Detail

      • getSailType

        public java.lang.String getSailType()
        Description copied from interface: SailFactory
        Returns 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:
        getSailType in interface SailFactory
      • getSail

        public Sail getSail​(SailImplConfig config)
                     throws SailConfigException
        Description copied from interface: SailFactory
        Returns a Sail instance that has been initialized using the supplied configuration data.
        Specified by:
        getSail in interface SailFactory
        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.