< prev index next >

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

Print this page

        

*** 38,48 **** * <p> * Maps a JavaBean property to a map of wildcard attributes. * * <p> <b>Usage</b> </p> * <p> ! * The <tt>@XmlAnyAttribute</tt> annotation can be used with the * following program elements: * <ul> * <li> JavaBean property </li> * <li> non static, non transient field </li> * </ul> --- 38,48 ---- * <p> * Maps a JavaBean property to a map of wildcard attributes. * * <p> <b>Usage</b> </p> * <p> ! * The {@code @XmlAnyAttribute} annotation can be used with the * following program elements: * <ul> * <li> JavaBean property </li> * <li> non static, non transient field </li> * </ul>
*** 51,62 **** * additional common information.</p> * * The usage is subject to the following constraints: * <ul> * <li> At most one field or property in a class can be annotated ! * with <tt>@XmlAnyAttribute</tt>. </li> ! * <li> The type of the property or the field must <tt>java.util.Map</tt> </li> * </ul> * * <p> * While processing attributes to be unmarshalled into a value class, * each attribute that is not statically associated with another --- 51,62 ---- * additional common information.</p> * * The usage is subject to the following constraints: * <ul> * <li> At most one field or property in a class can be annotated ! * with {@code @XmlAnyAttribute}. </li> ! * <li> The type of the property or the field must {@code java.util.Map} </li> * </ul> * * <p> * While processing attributes to be unmarshalled into a value class, * each attribute that is not statically associated with another
< prev index next >