The <constructor> Element

Purpose

The <constructor> element calls a constructor. Arguments may be given by nested <arg> elements.

A string argument value will be automatically converted to the formal constructor argument type using de.odysseus.calyxo.base.util.ParseUtils. This will work for all primitive types, their wrapper classes and java.util.Date, provided the string argument is given in standard notation. For other argument types, the argument value must be an instance of that type.

A single <constructor> element may appear inside an <object> element.

Attributes

The <constructor> element has no attributes.

Body

The body of the <constructor> element is defined by the following sequence:

(arg*)

Related elements

<object>