public static class

PluralRule.PluralForm

extends Object
java.lang.Object
   ↳ com.google.gwt.i18n.client.PluralRule.PluralForm

Class Overview

Information about the plural forms supported by this rule which will be used during code generation and by tools to provide information to translators.

Summary

Public Constructors
PluralRule.PluralForm(String name, String description)
Create the plural form.
PluralRule.PluralForm(String name, String description, boolean noWarn)
Create the plural form.
Public Methods
String getDescription()
Returns the description.
String getName()
Returns the name.
boolean getWarnIfMissing()
Returns true if the generator should warn if this plural form is not present.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PluralRule.PluralForm (String name, String description)

Create the plural form.

public PluralRule.PluralForm (String name, String description, boolean noWarn)

Create the plural form.

Parameters
noWarn if true, 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.

Public Methods

public String getDescription ()

Returns the description.

public String getName ()

Returns the name.

public boolean getWarnIfMissing ()

Returns true if the generator should warn if this plural form is not present.