jdk/src/java.desktop/share/classes/com/sun/beans/decoder/NewElementHandler.java
changeset 37714 7a0b1c7e7054
parent 25859 3317bb8137f4
equal deleted inserted replaced
37713:a3c34538726f 37714:7a0b1c7e7054
    40  * The inner elements specifies the arguments of the constructor.
    40  * The inner elements specifies the arguments of the constructor.
    41  * For example:<pre>
    41  * For example:<pre>
    42  * &lt;new class="java.lang.Long"&gt;
    42  * &lt;new class="java.lang.Long"&gt;
    43  *     &lt;string&gt;10&lt;/string&gt;
    43  *     &lt;string&gt;10&lt;/string&gt;
    44  * &lt;/new&gt;</pre>
    44  * &lt;/new&gt;</pre>
    45  * is equivalent to {@code new Long("10")} in Java code.
    45  * is equivalent to {@code Long.valueOf("10")} in Java code.
    46  * <p>The following attributes are supported:
    46  * <p>The following attributes are supported:
    47  * <dl>
    47  * <dl>
    48  * <dt>class
    48  * <dt>class
    49  * <dd>the type of object for instantiation
    49  * <dd>the type of object for instantiation
    50  * <dt>id
    50  * <dt>id