equal
deleted
inserted
replaced
36 /** |
36 /** |
37 * Maps a JavaBean property to a XML element derived from property name. |
37 * Maps a JavaBean property to a XML element derived from property name. |
38 * |
38 * |
39 * <p> <b>Usage</b> |
39 * <p> <b>Usage</b> |
40 * <p> |
40 * <p> |
41 * <tt>@XmlElement</tt> annotation can be used with the following program |
41 * {@code @XmlElement} annotation can be used with the following program |
42 * elements: |
42 * elements: |
43 * <ul> |
43 * <ul> |
44 * <li> a JavaBean property </li> |
44 * <li> a JavaBean property </li> |
45 * <li> non static, non transient field </li> |
45 * <li> non static, non transient field </li> |
46 * <li> within {@link XmlElements} |
46 * <li> within {@link XmlElements} |
60 * {@link XmlElementWrapper}, |
60 * {@link XmlElementWrapper}, |
61 * {@link XmlJavaTypeAdapter}</li> |
61 * {@link XmlJavaTypeAdapter}</li> |
62 * <li> if the type of JavaBean property is a collection type of |
62 * <li> if the type of JavaBean property is a collection type of |
63 * array, an indexed property, or a parameterized list, and |
63 * array, an indexed property, or a parameterized list, and |
64 * this annotation is used with {@link XmlElements} then, |
64 * this annotation is used with {@link XmlElements} then, |
65 * <tt>@XmlElement.type()</tt> must be DEFAULT.class since the |
65 * {@code @XmlElement.type()} must be DEFAULT.class since the |
66 * collection item type is already known. </li> |
66 * collection item type is already known. </li> |
67 * </ul> |
67 * </ul> |
68 * |
68 * |
69 * <p> |
69 * <p> |
70 * A JavaBean property, when annotated with @XmlElement annotation |
70 * A JavaBean property, when annotated with @XmlElement annotation |