Package org.eclipse.rdf4j.sail.shacl
Class ValidationApproachFactory
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ValidationApproachFactory
- All Implemented Interfaces:
TransactionSettingFactory
Factory class for producing instances of
ShaclSail.TransactionSettings.ValidationApproach
from string values.- Author:
- Jeen Broekstra
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Name ofTransactionSetting
this factory producesgetTransactionSetting
(String value) Retrieve aTransactionSetting
with the supplied value.
-
Constructor Details
-
ValidationApproachFactory
public ValidationApproachFactory()
-
-
Method Details
-
getName
Description copied from interface:TransactionSettingFactory
Name ofTransactionSetting
this factory produces- Specified by:
getName
in interfaceTransactionSettingFactory
- Returns:
- the name of the
TransactionSetting
produced by this factory
-
getTransactionSetting
Description copied from interface:TransactionSettingFactory
Retrieve aTransactionSetting
with the supplied value.- Specified by:
getTransactionSetting
in interfaceTransactionSettingFactory
- Parameters:
value
- theTransactionSetting
value- Returns:
- an optional
TransactionSetting
, empty if the factory can not produce one for the given value.
-