public enum NamePartType extends Enum<NamePartType> implements ControlledVocabulary
| Enum Constant and Description |
|---|
Given |
OTHER |
Prefix |
Suffix |
Surname |
| Modifier and Type | Method and Description |
|---|---|
static NamePartType |
fromQNameURI(URI qname)
Get the enumeration from the QName.
|
URI |
toQNameURI()
Return the QName value for this enum.
|
static NamePartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamePartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamePartType Prefix
public static final NamePartType Suffix
public static final NamePartType Given
public static final NamePartType Surname
public static final NamePartType OTHER
public static NamePartType[] values()
for (NamePartType c : NamePartType.values()) System.out.println(c);
public static NamePartType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic URI toQNameURI()
toQNameURI in interface ControlledVocabularypublic static NamePartType fromQNameURI(URI qname)
qname - The qname.Copyright © 2016. All rights reserved.