public class PersonName extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PersonName.Component |
static class |
PersonName.Group |
Modifier and Type | Field and Description |
---|---|
private String[] |
fields |
private static Logger |
LOG |
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() |
private void |
parse(String s,
boolean lenient) |
private void |
set(int gindex,
int cindex,
String s) |
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) |
private static String |
trim(String s) |
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 © 2017 dcm4che.org. All rights reserved.