root element
Defines a new component, in terms of its API (<parameter>
s), embedded components, beans and
assets.
The structure of a <component-specification>
is very similar to a <page-specification>
except components have additional attributes
and elements related to parameters.
Figure B.10. <component-specification>
Attributes
Name | Type | Required ? | Default Value | Description |
---|---|---|---|---|
class | string | yes | The Java class to instantiate, which must implement the
interface IComponent . Typically, this is
BaseComponent or a subclass of it. | |
allow-body | yes|no | no | yes |
If If |
allow-informal-parameters | yes|no | no | yes |
If If |
Figure B.11. <component-specification>
Elements
<description>
*, <parameter>
*, <reserved-parameter>
*, <property>
*,
(<bean>
| <component>
| <external-asset>
| <context-asset>
| <private-asset>
)*