Package de.xima.fc.prompt.plugin
Class PromptServiceHandlerEntry<ConnectionConfig,QueryConfig>
- java.lang.Object
-
- de.xima.fc.prompt.plugin.PromptServiceHandlerEntry<ConnectionConfig,QueryConfig>
-
- All Implemented Interfaces:
IPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>
public final class PromptServiceHandlerEntry<ConnectionConfig,QueryConfig> extends Object implements IPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>
-
-
Constructor Summary
Constructors Constructor Description PromptServiceHandlerEntry(IPromptServiceHandler<ConnectionConfig,QueryConfig> handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBoundMessageLocalizerboundMessageLocalizer(Locale locale)The bound message localizer for the given locale.StringconnectionViewXhtml()The XHTML view for configuring the connection settings.IPromptServiceHandler<ConnectionConfig,QueryConfig>handler()The handler instance.IMessageLocalizermessageLocalizer()The message localizer for the handler.StringqueryViewXhtml()The XHTML view for configuring the query settings.ResourceBundleresourceBundle(Locale locale)The resource bundle for the given locale.IPromptServiceTypeInfotypeInfos(Locale locale)The type information for this handler, localized to the given locale.
-
-
-
Constructor Detail
-
PromptServiceHandlerEntry
public PromptServiceHandlerEntry(IPromptServiceHandler<ConnectionConfig,QueryConfig> handler)
-
-
Method Detail
-
boundMessageLocalizer
public IBoundMessageLocalizer boundMessageLocalizer(Locale locale)
Description copied from interface:IPromptServiceHandlerEntryThe bound message localizer for the given locale.- Specified by:
boundMessageLocalizerin interfaceIPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>- Parameters:
locale- The locale for which to get the bound message localizer.- Returns:
- The bound message localizer
- See Also:
IPromptServiceHandler.getMessageLocalizer()
-
connectionViewXhtml
public String connectionViewXhtml()
Description copied from interface:IPromptServiceHandlerEntryThe XHTML view for configuring the connection settings.- Specified by:
connectionViewXhtmlin interfaceIPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>- Returns:
- The XHTML view as a string.
- See Also:
IPromptServiceHandler.getConnectionViewXhtml()
-
handler
public IPromptServiceHandler<ConnectionConfig,QueryConfig> handler()
Description copied from interface:IPromptServiceHandlerEntryThe handler instance.- Specified by:
handlerin interfaceIPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>- Returns:
- The handler instance.
-
messageLocalizer
public IMessageLocalizer messageLocalizer()
Description copied from interface:IPromptServiceHandlerEntryThe message localizer for the handler.- Specified by:
messageLocalizerin interfaceIPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>- Returns:
- The message localizer.
- See Also:
IPromptServiceHandler.getMessageLocalizer()
-
queryViewXhtml
public String queryViewXhtml()
Description copied from interface:IPromptServiceHandlerEntryThe XHTML view for configuring the query settings.- Specified by:
queryViewXhtmlin interfaceIPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>- Returns:
- The XHTML view as a string.
- See Also:
IPromptServiceHandler.getQueryViewXhtml()
-
resourceBundle
public ResourceBundle resourceBundle(Locale locale)
Description copied from interface:IPromptServiceHandlerEntryThe resource bundle for the given locale.- Specified by:
resourceBundlein interfaceIPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>- Parameters:
locale- The locale for which to get the resource bundle.- Returns:
- The resource bundle.
- See Also:
IPromptServiceHandler.getMessageLocalizer()
-
typeInfos
public IPromptServiceTypeInfo typeInfos(Locale locale)
Description copied from interface:IPromptServiceHandlerEntryThe type information for this handler, localized to the given locale.- Specified by:
typeInfosin interfaceIPromptServiceHandlerEntry<ConnectionConfig,QueryConfig>- Parameters:
locale- The locale for which to get the type information.- Returns:
- The type information.
- See Also:
IPromptServiceHandler.getType(),IPromptServiceHandler.getTypeDisplayNameKey(),IPromptServiceHandler.getTypeDisplayDescriptionKey(),IPromptServiceHandler.getTypeIcon()
-
-