< prev index next >

src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlElement.java

Print this page

        

*** 36,46 **** /** * Maps a JavaBean property to a XML element derived from property name. * * <p> <b>Usage</b> * <p> ! * <tt>@XmlElement</tt> annotation can be used with the following program * elements: * <ul> * <li> a JavaBean property </li> * <li> non static, non transient field </li> * <li> within {@link XmlElements} --- 36,46 ---- /** * Maps a JavaBean property to a XML element derived from property name. * * <p> <b>Usage</b> * <p> ! * {@code @XmlElement} annotation can be used with the following program * elements: * <ul> * <li> a JavaBean property </li> * <li> non static, non transient field </li> * <li> within {@link XmlElements}
*** 60,70 **** * {@link XmlElementWrapper}, * {@link XmlJavaTypeAdapter}</li> * <li> if the type of JavaBean property is a collection type of * array, an indexed property, or a parameterized list, and * this annotation is used with {@link XmlElements} then, ! * <tt>@XmlElement.type()</tt> must be DEFAULT.class since the * collection item type is already known. </li> * </ul> * * <p> * A JavaBean property, when annotated with @XmlElement annotation --- 60,70 ---- * {@link XmlElementWrapper}, * {@link XmlJavaTypeAdapter}</li> * <li> if the type of JavaBean property is a collection type of * array, an indexed property, or a parameterized list, and * this annotation is used with {@link XmlElements} then, ! * {@code @XmlElement.type()} must be DEFAULT.class since the * collection item type is already known. </li> * </ul> * * <p> * A JavaBean property, when annotated with @XmlElement annotation
< prev index next >