public final class DisplayOptions extends Object
NOTE: This class is Immutable, and uses a Builder interface.
For example:
DisplayOptions x =
DisplayOptions.builder()
.setNounClass(NounClass.DATIVE)
.setPluralCategory(PluralCategory.FEW)
.build();
Modifier and Type | Class and Description |
---|---|
static class |
DisplayOptions.Builder
Responsible for building
DisplayOptions . |
static class |
DisplayOptions.Capitalization
Represents all the capitalization options.
|
static class |
DisplayOptions.DisplayLength
Represents all the display lengths.
|
static class |
DisplayOptions.GrammaticalCase
Represents all the grammatical cases that are supported by CLDR.
|
static class |
DisplayOptions.NameStyle
Represents all the name styles.
|
static class |
DisplayOptions.NounClass
Represents all the grammatical noun classes that are supported by CLDR.
|
static class |
DisplayOptions.PluralCategory
Standard CLDR plural category constants.
|
static class |
DisplayOptions.SubstituteHandling
Represents all the substitute handlings.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptions.Builder |
builder()
Creates a builder with the
UNDEFINED value for all the parameters. |
DisplayOptions.Builder |
copyToBuilder()
Creates a builder with the same parameters from this object.
|
DisplayOptions.Capitalization |
getCapitalization()
Gets the capitalization.
|
DisplayOptions.DisplayLength |
getDisplayLength()
Gets the display length.
|
DisplayOptions.GrammaticalCase |
getGrammaticalCase()
Gets the grammatical case.
|
DisplayOptions.NameStyle |
getNameStyle()
Gets the name style.
|
DisplayOptions.NounClass |
getNounClass()
Gets the noun class.
|
DisplayOptions.PluralCategory |
getPluralCategory()
Gets the plural category.
|
DisplayOptions.SubstituteHandling |
getSubstituteHandling()
Gets the substitute handling.
|
public static DisplayOptions.Builder builder()
UNDEFINED
value for all the parameters.public DisplayOptions.Builder copyToBuilder()
public DisplayOptions.GrammaticalCase getGrammaticalCase()
public DisplayOptions.NounClass getNounClass()
public DisplayOptions.PluralCategory getPluralCategory()
public DisplayOptions.Capitalization getCapitalization()
public DisplayOptions.NameStyle getNameStyle()
public DisplayOptions.DisplayLength getDisplayLength()
public DisplayOptions.SubstituteHandling getSubstituteHandling()
Copyright © 2016 Unicode, Inc. and others.