Package com.google.gwt.i18n.shared
Class AlternateMessageSelector.AlternateForm
java.lang.Object
com.google.gwt.i18n.shared.AlternateMessageSelector.AlternateForm
- All Implemented Interfaces:
Comparable<AlternateMessageSelector.AlternateForm>
- Enclosing interface:
AlternateMessageSelector
public static class AlternateMessageSelector.AlternateForm
extends Object
implements Comparable<AlternateMessageSelector.AlternateForm>
Represents an alternate form of a message.
-
Constructor Summary
ConstructorDescriptionAlternateForm
(String name, String description) Create the plural form.AlternateForm
(String name, String description, boolean warnIfMissing) Create the plural form. -
Method Summary
-
Constructor Details
-
AlternateForm
Create the plural form.- Parameters:
name
-description
-
-
AlternateForm
Create the plural form.- Parameters:
name
-description
-warnIfMissing
- if false, do not warn if this form is missing from a translation. This is used for those cases where a plural form is defined for a language, but is very rarely used.
-
-
Method Details
-
equals
-
getDescription
Returns the description, suitable for describing this form to translators. -
getName
Returns the name. -
getWarnIfMissing
public boolean getWarnIfMissing()Returns true if the generator should warn if this plural form is not present. -
hashCode
public int hashCode() -
toString