|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) public @interface Order
The Order
annotation is used to specify the order of
appearance of XML elements and attributes. When used it ensures
that on serialization the XML generated is predictable. By default
serialization of fields is done in declaration order.
Optional Element Summary | |
---|---|
java.lang.String[] |
attributes
Specifies the appearance order of the XML attributes within the generated document. |
java.lang.String[] |
elements
Specifies the appearance order of the XML elements within the generated document. |
public abstract java.lang.String[] elements
public abstract java.lang.String[] attributes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |