Attribute Descriptor

Description

The attribute descriptor declares the binding of an attribute name and value. The descriptor is used within the scope of several meta-info structures including tyhe <info>, <logger>, <service>, <dependency>, <stage>, and <extension> descriptors.

Attributes

Attribute Required Description
key yes Declaration of the atttribute key.
value yes Declaration of the atttribute value.

Example XML

  <info>
    <name>my-component</name>
    <attributes>
      <attribute key="size" value="small"/>
      <attribute key="maximum" value="1200"/>
    </attributes>
  </info>