Zebra API Doc

zebra.util.newInstance()

newInstance

(
  • clazz
  • [args]
)
Object

Instantiate a new class instance by the given class name with the specified constructor arguments.

Parameters:

  • clazz String

    a class name

  • [args] Array optional

    an arguments list


Return: Object

a new instance of the given class initialized with the specified arguments