|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) public @interface Root
This Root
annotation is used to annotate classes that
need to be serialized. Also, elements within an element list, as
represented by the ElementList
annotation need this
annotation so that the element names can be determined. All other
field or method names can be determined using the annotation and
so the Root
annotation is not needed for such objects.
Optional Element Summary | |
---|---|
java.lang.String |
name
This represents the name of the XML element. |
boolean |
strict
This is used to determine whether the object represented should be parsed in a strict manner. |
public abstract java.lang.String name
public abstract boolean strict
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |