< prev index next >

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

Print this page

        

*** 36,57 **** /** * Maps a Java type to a simple schema built-in type. * * <p> <b>Usage</b> </p> * <p> ! * <tt>@XmlSchemaType</tt> annotation can be used with the following program * elements: * <ul> * <li> a JavaBean property </li> * <li> field </li> * <li> package</li> * </ul> * ! * <p> <tt>@XmlSchemaType</tt> annotation defined for Java type * applies to all references to the Java type from a property/field. ! * A <tt>@XmlSchemaType</tt> annotation specified on the ! * property/field overrides the <tt>@XmlSchemaType</tt> annotation * specified at the package level. * * <p> This annotation can be used with the following annotations: * {@link XmlElement}, {@link XmlAttribute}. * <p> --- 36,57 ---- /** * Maps a Java type to a simple schema built-in type. * * <p> <b>Usage</b> </p> * <p> ! * {@code @XmlSchemaType} annotation can be used with the following program * elements: * <ul> * <li> a JavaBean property </li> * <li> field </li> * <li> package</li> * </ul> * ! * <p> {@code @XmlSchemaType} annotation defined for Java type * applies to all references to the Java type from a property/field. ! * A {@code @XmlSchemaType} annotation specified on the ! * property/field overrides the {@code @XmlSchemaType} annotation * specified at the package level. * * <p> This annotation can be used with the following annotations: * {@link XmlElement}, {@link XmlAttribute}. * <p>
< prev index next >