Cernunnos Manual


${newInstance()}

** DEPRECATED ** since 1.0.0

Use ${groovy(new <type-name>())} instead.

Description:

Attempts to create an instance of the specified class name using the default (zero-argument) constructor, then return it.

Reagents:

Name XPath Description Reagent Type Expected Type Required
CLASS_NAME descendant-or-self::text() The name of a Java class to be instantiated. PHRASE java.lang.String Yes

Examples: