27 |
27 |
28 import javax.xml.bind.annotation.XmlMimeType; |
28 import javax.xml.bind.annotation.XmlMimeType; |
29 import javax.xml.bind.annotation.XmlType; |
29 import javax.xml.bind.annotation.XmlType; |
30 import javax.xml.bind.annotation.XmlInlineBinaryData; |
30 import javax.xml.bind.annotation.XmlInlineBinaryData; |
31 |
31 |
32 import com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory; |
|
33 |
|
34 |
|
35 /** |
32 /** |
36 * An Enum that indicates if the property is |
33 * An Enum that indicates if the property is |
37 * Element, ElementRef, Value, or Attribute. |
34 * Element, ElementRef, Value, or Attribute. |
38 * |
35 * |
39 * <p> |
36 * <p> |
58 * This kind of properties need to show up in {@link XmlType#propOrder()}. |
55 * This kind of properties need to show up in {@link XmlType#propOrder()}. |
59 */ |
56 */ |
60 public final boolean isOrdered; |
57 public final boolean isOrdered; |
61 |
58 |
62 /** |
59 /** |
63 * {@link PropertyFactory} benefits from having index numbers assigned to |
60 * {@link com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory} benefits from having index numbers assigned to |
64 * {@link #ELEMENT}, {@link #REFERENCE}, and {@link #MAP} in this order. |
61 * {@link #ELEMENT}, {@link #REFERENCE}, and {@link #MAP} in this order. |
65 */ |
62 */ |
66 public final int propertyIndex; |
63 public final int propertyIndex; |
67 |
64 |
68 PropertyKind(boolean canHaveExpectedContentType, boolean isOrdered, int propertyIndex) { |
65 PropertyKind(boolean canHaveExpectedContentType, boolean isOrdered, int propertyIndex) { |