<!ELEMENT attribute EMPTY>
Parent: <item-descriptor>
, <property>
The <attribute>
tag associates arbitrary name/string value pairs with a property or item type, which determine its behavior. The name/value pairs are added to the property descriptor via the setValue
method of java.beans.FeatureDescriptor
, and can later be used by the application.
For example:
<property name="employeeNumber" data-type="string"> <attribute name="PCCExpert" value="true" data-type="boolean"/> </property>
See User-Defined Property Types for more information.
Attributes
Attribute | Description |
---|---|
| The name of the name/value pair, required. You can specify any name here and it is added to the list of feature descriptor attributes for your property. |
| The value of the name/value pair, required. The data type of this value is defined by the |
| The primitive data-type of the value, one of the following:
* default |