DisplayOptions.NounClass


public static final enum DisplayOptions.NounClass
extends Enum<DisplayOptions.NounClass>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.DisplayOptions.NounClass>
     ↳ android.icu.text.DisplayOptions.NounClass


Represents all the grammatical noun classes that are supported by CLDR.

Summary

Enum values

DisplayOptions.NounClass  ANIMATE

 

DisplayOptions.NounClass  COMMON

 

DisplayOptions.NounClass  FEMININE

 

DisplayOptions.NounClass  INANIMATE

 

DisplayOptions.NounClass  MASCULINE

 

DisplayOptions.NounClass  NEUTER

 

DisplayOptions.NounClass  OTHER

 

DisplayOptions.NounClass  PERSONAL

 

DisplayOptions.NounClass  UNDEFINED

A possible setting for NounClass. 

Fields

public static final List<DisplayOptions.NounClass> VALUES

Unmodifiable List of all noun classes constants.

Public methods

static DisplayOptions.NounClass fromIdentifier(String identifier)
String getIdentifier()
static DisplayOptions.NounClass valueOf(String name)
static final NounClass[] values()

Inherited methods

Enum values

ANIMATE

Added in API level 35
public static final DisplayOptions.NounClass ANIMATE

COMMON

Added in API level 35
public static final DisplayOptions.NounClass COMMON

FEMININE

Added in API level 35
public static final DisplayOptions.NounClass FEMININE

INANIMATE

Added in API level 35
public static final DisplayOptions.NounClass INANIMATE

MASCULINE

Added in API level 35
public static final DisplayOptions.NounClass MASCULINE

NEUTER

Added in API level 35
public static final DisplayOptions.NounClass NEUTER

OTHER

Added in API level 35
public static final DisplayOptions.NounClass OTHER

PERSONAL

Added in API level 35
public static final DisplayOptions.NounClass PERSONAL

UNDEFINED

Added in API level 35
public static final DisplayOptions.NounClass UNDEFINED

A possible setting for NounClass. The noun class context to be used is unknown (this is the default value).

Fields

VALUES

Added in API level 35
public static final List<DisplayOptions.NounClass> VALUES

Unmodifiable List of all noun classes constants. List version of values().

Public methods

fromIdentifier

Added in API level 35
public static DisplayOptions.NounClass fromIdentifier (String identifier)

Parameters
identifier String: in lower case such as "feminine" or "masculine"

Returns
DisplayOptions.NounClass the plural category corresponding to the identifier, or UNDEFINED

getIdentifier

Added in API level 35
public String getIdentifier ()

Returns
String the lowercase CLDR keyword string for the noun class.

valueOf

public static DisplayOptions.NounClass valueOf (String name)

Parameters
name String

Returns
DisplayOptions.NounClass

values

public static final NounClass[] values ()

Returns
NounClass[]