< prev index next >

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

Print this page

        

*** 42,52 **** * * <pre> * @XmlElements({ @XmlElement(...),@XmlElement(...) }) * </pre> * ! * <p>The <tt>@XmlElements</tt> annotation can be used with the * following program elements: </p> * <ul> * <li> a JavaBean property </li> * <li> non static, non transient field </li> * </ul> --- 42,52 ---- * * <pre> * @XmlElements({ @XmlElement(...),@XmlElement(...) }) * </pre> * ! * <p>The {@code @XmlElements} annotation can be used with the * following program elements: </p> * <ul> * <li> a JavaBean property </li> * <li> non static, non transient field </li> * </ul>
*** 60,70 **** * <ul> * <li> This annotation can be used with the following * annotations: @{@link XmlIDREF}, @{@link XmlElementWrapper}. </li> * <li> If @XmlIDREF is also specified on the JavaBean property, * then each @XmlElement.type() must contain a JavaBean ! * property annotated with <tt>@XmlID</tt>.</li> * </ul> * * <p>See "Package Specification" in javax.xml.bind.package javadoc for * additional common information.</p> * --- 60,70 ---- * <ul> * <li> This annotation can be used with the following * annotations: @{@link XmlIDREF}, @{@link XmlElementWrapper}. </li> * <li> If @XmlIDREF is also specified on the JavaBean property, * then each @XmlElement.type() must contain a JavaBean ! * property annotated with {@code @XmlID}.</li> * </ul> * * <p>See "Package Specification" in javax.xml.bind.package javadoc for * additional common information.</p> *
< prev index next >