new1

From Documentation
Revision as of 07:41, 16 November 2010 by Tomyeh (talk | contribs) (Created page with '{{ZUMLReferencePageHeader}} <source lang="java"> Object new1(Object cls, Object arg); </source> :i.e., <javadoc method="new_(java.lang.Object, java.lang.Object)">org.zkoss.xel.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Object new1(Object cls, Object arg);
i.e., CommonFns.new_(Object, Object)

Instantiates the given class with an argument. It assumes the given class has a proper constructor.

Paramters

  • cls - the class. It could be an instance of either String or Class.
  • arg - the argument to be passed to the constructor.

Version History

Last Update : 2010/11/16

Version Date Content
     



Last Update : 2010/11/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.