|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PropertyKind>
com.sun.xml.bind.v2.model.core.PropertyKind
public enum PropertyKind
An Enum that indicates if the property is Element, ElementRef, Value, or Attribute.
Corresponds to the four different kind of PropertyInfo
.
Enum Constant Summary | |
---|---|
ATTRIBUTE
|
|
ELEMENT
|
|
MAP
|
|
REFERENCE
|
|
VALUE
|
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
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.
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |