public enum ModelPropertyType extends Enum<ModelPropertyType>
| Enum Constant and Description |
|---|
FLAT_PROPERTY
A property on the stanza itself (element or attribute)
|
TREE_ROOT
The root of a child tree (list, array or direct)
|
UNKNOWN
Unknown property for the model, is likely an alias from XmlElements
|
| Modifier and Type | Method and Description |
|---|---|
static ModelPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelPropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelPropertyType TREE_ROOT
public static final ModelPropertyType FLAT_PROPERTY
public static final ModelPropertyType UNKNOWN
public static ModelPropertyType[] values()
for (ModelPropertyType c : ModelPropertyType.values()) System.out.println(c);
public static ModelPropertyType 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 nullCopyright © 2009–2020 Oracle Corporation. All rights reserved.