public class PersonNameFormatterImpl extends Object
| Constructor and Description |
|---|
PersonNameFormatterImpl(Locale locale,
PersonNameFormatter.Length length,
PersonNameFormatter.Usage usage,
PersonNameFormatter.Formality formality,
Set options) |
PersonNameFormatterImpl(Locale locale,
String[] patterns)
THIS IS A DUMMY CONSTRUCTOR JUST FOR THE USE OF THE UNIT TESTS TO CHECK SOME OF THE INTERNAL IMPLEMENTATION!
|
| Modifier and Type | Method and Description |
|---|---|
String |
formatToString(PersonName name) |
PersonNameFormatter.Formality |
getFormality() |
String |
getInitialPattern() |
String |
getInitialSequencePattern() |
PersonNameFormatter.Length |
getLength() |
Locale |
getLocale() |
Set |
getOptions() |
PersonNameFormatter.Usage |
getUsage() |
boolean |
shouldCapitalizeSurname() |
public PersonNameFormatterImpl(Locale locale, PersonNameFormatter.Length length, PersonNameFormatter.Usage usage, PersonNameFormatter.Formality formality, Set options)
public String formatToString(PersonName name)
public Locale getLocale()
public PersonNameFormatter.Length getLength()
public PersonNameFormatter.Usage getUsage()
public PersonNameFormatter.Formality getFormality()
public Set getOptions()
public String getInitialPattern()
public String getInitialSequencePattern()
public boolean shouldCapitalizeSurname()