public static class DisplayOptions.Builder extends Object
DisplayOptions
.Modifier and Type | Method and Description |
---|---|
DisplayOptions |
build()
Builds the display options.
|
DisplayOptions.Builder |
setCapitalization(DisplayOptions.Capitalization capitalization)
Sets the capitalization.
|
DisplayOptions.Builder |
setDisplayLength(DisplayOptions.DisplayLength displayLength)
Sets the display length.
|
DisplayOptions.Builder |
setGrammaticalCase(DisplayOptions.GrammaticalCase grammaticalCase)
Sets the grammatical case.
|
DisplayOptions.Builder |
setNameStyle(DisplayOptions.NameStyle nameStyle)
Sets the name style.
|
DisplayOptions.Builder |
setNounClass(DisplayOptions.NounClass nounClass)
Sets the noun class.
|
DisplayOptions.Builder |
setPluralCategory(DisplayOptions.PluralCategory pluralCategory)
Sets the plural category.
|
DisplayOptions.Builder |
setSubstituteHandling(DisplayOptions.SubstituteHandling substituteHandling)
Sets the substitute handling.
|
public DisplayOptions.Builder setGrammaticalCase(DisplayOptions.GrammaticalCase grammaticalCase)
grammaticalCase
- The grammatical case.public DisplayOptions.Builder setNounClass(DisplayOptions.NounClass nounClass)
nounClass
- The noun class.public DisplayOptions.Builder setPluralCategory(DisplayOptions.PluralCategory pluralCategory)
pluralCategory
- The plural category.public DisplayOptions.Builder setCapitalization(DisplayOptions.Capitalization capitalization)
capitalization
- The capitalization.public DisplayOptions.Builder setNameStyle(DisplayOptions.NameStyle nameStyle)
nameStyle
- The name style.public DisplayOptions.Builder setDisplayLength(DisplayOptions.DisplayLength displayLength)
displayLength
- The display length.public DisplayOptions.Builder setSubstituteHandling(DisplayOptions.SubstituteHandling substituteHandling)
substituteHandling
- The substitute handling.public DisplayOptions build()
Copyright © 2016 Unicode, Inc. and others.