< prev index next >

src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/CPropertyInfo.java

Print this page

        

*** 232,243 **** * Returns true if this property is "unboxable". * * <p> * In general, a property often has to be capable of representing null * to indicate the absence of the value. This requires properties ! * to be generated as <tt>@XmlElement Float f</tt>, not as ! * <tt>@XmlElement float f;</tt>. But this is slow. * * <p> * Fortunately, there are cases where we know that the property can * never legally be absent. When this condition holds we can generate * the optimized "unboxed form". --- 232,243 ---- * Returns true if this property is "unboxable". * * <p> * In general, a property often has to be capable of representing null * to indicate the absence of the value. This requires properties ! * to be generated as {@code @XmlElement Float f}, not as ! * {@code @XmlElement float f;}. But this is slow. * * <p> * Fortunately, there are cases where we know that the property can * never legally be absent. When this condition holds we can generate * the optimized "unboxed form".
< prev index next >