< prev index next >

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

Print this page

        

*** 35,45 **** /** * Used to map a property to a list simple type. * * <p><b>Usage</b> </p> * <p> ! * The <tt>@XmlList</tt> annotation can be used with the * following program elements: * <ul> * <li> JavaBean property </li> * <li> field </li> * </ul> --- 35,45 ---- /** * Used to map a property to a list simple type. * * <p><b>Usage</b> </p> * <p> ! * The {@code @XmlList} annotation can be used with the * following program elements: * <ul> * <li> JavaBean property </li> * <li> field </li> * </ul>
*** 90,105 **** * {@link XmlElement}, * {@link XmlAttribute}, * {@link XmlValue}, * {@link XmlIDREF}. * <ul> ! * <li> The use of <tt>@XmlList</tt> with {@link XmlValue} while * allowed, is redundant since {@link XmlList} maps a * collection type to a simple schema type that derives by * list just as {@link XmlValue} would. </li> * ! * <li> The use of <tt>@XmlList</tt> with {@link XmlAttribute} while * allowed, is redundant since {@link XmlList} maps a * collection type to a simple schema type that derives by * list just as {@link XmlAttribute} would. </li> * </ul> * --- 90,105 ---- * {@link XmlElement}, * {@link XmlAttribute}, * {@link XmlValue}, * {@link XmlIDREF}. * <ul> ! * <li> The use of {@code @XmlList} with {@link XmlValue} while * allowed, is redundant since {@link XmlList} maps a * collection type to a simple schema type that derives by * list just as {@link XmlValue} would. </li> * ! * <li> The use of {@code @XmlList} with {@link XmlAttribute} while * allowed, is redundant since {@link XmlList} maps a * collection type to a simple schema type that derives by * list just as {@link XmlAttribute} would. </li> * </ul> *
< prev index next >