Class LogicalTypeFactory


  • public abstract class LogicalTypeFactory
    extends Object
    Construct a LogicalType from PluginDefinition or a Semantic Type name.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LogicalType newInstance​(PluginDefinition plugin, Locale locale)
      Return a Logical Type based on a Plugin Definition in a particular locale.
      • Methods inherited from class java.lang.Object

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

      • LogicalTypeFactory

        public LogicalTypeFactory()
    • Method Detail

      • newInstance

        public static LogicalType newInstance​(PluginDefinition plugin,
                                              Locale locale)
                                       throws FTAPluginException
        Return a Logical Type based on a Plugin Definition in a particular locale.
        Parameters:
        plugin - The Definition for this plugin
        locale - The locale used for this LogicalType
        Returns:
        The LogicalType The Logical Type associated with the definition (if it exists), null if non-existent.
        Throws:
        FTAPluginException - Thrown when the plugin is incorrectly configured.