DisplayOptions.GrammaticalCase
public
static
final
enum
DisplayOptions.GrammaticalCase
extends Enum<DisplayOptions.GrammaticalCase>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.DisplayOptions.GrammaticalCase> | |
↳ | android.icu.text.DisplayOptions.GrammaticalCase |
Represents all the grammatical cases that are supported by CLDR.
Summary
Enum values | |
---|---|
DisplayOptions.GrammaticalCase |
ABLATIVE
|
DisplayOptions.GrammaticalCase |
ACCUSATIVE
|
DisplayOptions.GrammaticalCase |
COMITATIVE
|
DisplayOptions.GrammaticalCase |
DATIVE
|
DisplayOptions.GrammaticalCase |
ERGATIVE
|
DisplayOptions.GrammaticalCase |
GENITIVE
|
DisplayOptions.GrammaticalCase |
INSTRUMENTAL
|
DisplayOptions.GrammaticalCase |
LOCATIVE
|
DisplayOptions.GrammaticalCase |
LOCATIVE_COPULATIVE
|
DisplayOptions.GrammaticalCase |
NOMINATIVE
|
DisplayOptions.GrammaticalCase |
OBLIQUE
|
DisplayOptions.GrammaticalCase |
PREPOSITIONAL
|
DisplayOptions.GrammaticalCase |
SOCIATIVE
|
DisplayOptions.GrammaticalCase |
UNDEFINED
A possible setting for GrammaticalCase. |
DisplayOptions.GrammaticalCase |
VOCATIVE
|
Fields | |
---|---|
public
static
final
List<DisplayOptions.GrammaticalCase> |
VALUES
Unmodifiable List of all grammatical cases constants. |
Public methods | |
---|---|
static
DisplayOptions.GrammaticalCase
|
fromIdentifier(String identifier)
|
String
|
getIdentifier()
|
static
DisplayOptions.GrammaticalCase
|
valueOf(String name)
|
static
final
GrammaticalCase[]
|
values()
|
Inherited methods | |
---|---|
Enum values
LOCATIVE_COPULATIVE
public static final DisplayOptions.GrammaticalCase LOCATIVE_COPULATIVE
PREPOSITIONAL
public static final DisplayOptions.GrammaticalCase PREPOSITIONAL
UNDEFINED
public static final DisplayOptions.GrammaticalCase UNDEFINED
A possible setting for GrammaticalCase. The grammatical case context to be used is unknown (this is the default value).
Fields
VALUES
public static final List<DisplayOptions.GrammaticalCase> VALUES
Unmodifiable List of all grammatical cases constants. List version of values()
.
Public methods
fromIdentifier
public static DisplayOptions.GrammaticalCase fromIdentifier (String identifier)
Parameters | |
---|---|
identifier |
String : in lower case such as "dative" or "nominative" |
Returns | |
---|---|
DisplayOptions.GrammaticalCase |
the plural category corresponding to the identifier, or UNDEFINED |
getIdentifier
public String getIdentifier ()
Returns | |
---|---|
String |
the lowercase CLDR keyword string for the grammatical case. |
valueOf
public static DisplayOptions.GrammaticalCase valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
DisplayOptions.GrammaticalCase |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.