|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) @Inherited @Documented public @interface Body
Annotation that marks a field as the main "body" of the object. Its primary use is to suggest how the field should be translated into notations such as XML. Typically the other fields would have to be expressed as attributes, and the body would have to be a list or set.
CompactXMLTranslator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |