public class PersonName extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PersonName.Component |
static class |
PersonName.Group |
| Constructor and Description |
|---|
PersonName() |
PersonName(String s) |
PersonName(String s,
boolean lenient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(PersonName.Component c) |
boolean |
contains(PersonName.Group g) |
boolean |
contains(PersonName.Group g,
PersonName.Component c) |
boolean |
equals(Object obj) |
String |
get(PersonName.Component c) |
String |
get(PersonName.Group g,
PersonName.Component c) |
int |
hashCode() |
boolean |
isEmpty() |
void |
set(PersonName.Component c,
String s) |
void |
set(PersonName.Group g,
PersonName.Component c,
String s) |
String |
toString() |
String |
toString(PersonName.Group g,
boolean trim) |
public PersonName()
public PersonName(String s)
public PersonName(String s, boolean lenient)
public String toString(PersonName.Group g, boolean trim)
public String get(PersonName.Component c)
public String get(PersonName.Group g, PersonName.Component c)
public void set(PersonName.Component c, String s)
public void set(PersonName.Group g, PersonName.Component c, String s)
public boolean isEmpty()
public boolean contains(PersonName.Group g)
public boolean contains(PersonName.Group g, PersonName.Component c)
public boolean contains(PersonName.Component c)
Copyright © 2021. All rights reserved.