.. ******************************************************************************* * MetaFactory.io R2 * Technical Documentation * * File name : CIX_JCIE_Import.rst * Created by : Marnix Bochove (original text) * Updated by : Niels de Nies * * MetaFactory BV Amsterdam ******************************************************************************* .. include:: /inline-images.txt .. include:: /metadata_include.txt Import ====== Using is the way to add **import statements** to a Java class or interface. Inside a code instruction this element can be a child of or . Defining imports on an method (or field) rather than the parent class has the advantage that the import lines are only added when that method is actually generated, and not when the condition attribute of the method returns false. Zero or more import elements can be used. .. rubric:: Usage .. code-block:: xml :caption: Syntax :name: import-01 :linenos: name="apenootjes" foreach="package|object" condition="" package="" object="" .. rubric:: Attributes .. list-table:: **attributes of ** :widths: 20 80 :header-rows: 1 :class: tight-table * - Name - Details * - name - Name of the class to be imported * - code instruction base - |Loupe S| :ref:`Code instruction base `.