public enum PropertyKind extends Enum<PropertyKind>
Corresponds to the four different kind of PropertyInfo
.
Enum Constant and Description |
---|
ATTRIBUTE |
ELEMENT |
MAP |
REFERENCE |
VALUE |
Modifier and Type | Field and Description |
---|---|
boolean |
canHaveXmlMimeType
This kind of property can have
XmlMimeType and XmlInlineBinaryData
annotation with it. |
boolean |
isOrdered
This kind of properties need to show up in
XmlType.propOrder() . |
int |
propertyIndex
PropertyFactory benefits from having index numbers assigned to
ELEMENT , REFERENCE , and MAP in this order. |
Modifier and Type | Method and Description |
---|---|
static PropertyKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyKind VALUE
public static final PropertyKind ATTRIBUTE
public static final PropertyKind ELEMENT
public static final PropertyKind REFERENCE
public static final PropertyKind MAP
public final boolean canHaveXmlMimeType
XmlMimeType
and XmlInlineBinaryData
annotation with it.public final boolean isOrdered
XmlType.propOrder()
.public final int propertyIndex
PropertyFactory
benefits from having index numbers assigned to
ELEMENT
, REFERENCE
, and MAP
in this order.public static PropertyKind[] values()
for (PropertyKind c : PropertyKind.values()) System.out.println(c);
public static PropertyKind 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 © 2017 JBoss by Red Hat. All rights reserved.