@Inherited @Retention(value=RUNTIME) @Target(value={PACKAGE,TYPE}) public @interface XmlAccessorOrder
控制类中字段和属性的顺序。
@XmlAccessorOrder注释可以与以下程序元素一起使用:
有关其他常见信息,请参阅javax.xml.bind包javadoc中的“包规范”。
有效的XmlAccessOrder
一类确定如下:
Inherited
) XmlAccessOrder.UNDEFINED
。 此注释可与以下注释一起使用: XmlType
, XmlRootElement
, XmlAccessorType
, XmlSchema
, XmlSchemaType
, XmlSchemaTypes
, XmlJavaTypeAdapter
。 它也可以在包级别使用以下注释 : XmlJavaTypeAdapter
。
XmlAccessOrder
Modifier and Type | Optional Element and Description |
---|---|
XmlAccessOrder |
value |
public abstract XmlAccessOrder value
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.