Package com.google.gwt.i18n.shared
Interface AlternateMessageSelector
public interface AlternateMessageSelector
Defines a way of choosing between alternate messages based on a parameter
value.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Represents an alternate form of a message. -
Field Summary
Modifier and TypeFieldDescriptionstatic final AlternateMessageSelector.AlternateForm
static final String
Name of the "other" form. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isFormAcceptable
(String form) Check if a user-supplied form is acceptable for this alternate message selector.
-
Field Details
-
OTHER_FORM_NAME
Name of the "other" form.- See Also:
-
OTHER_FORM
-
-
Method Details
-
isFormAcceptable
Check if a user-supplied form is acceptable for this alternate message selector.- Parameters:
form
-- Returns:
- true if the form is acceptable, otherwise false
-