<!ELEMENT option (#PCDATA)>
Parent: <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.
<property name="employeeNumber" data-type="string"> <attribute name="unique" value="true"/> </property>
Attributes
Attribute | Description |
---|---|
| Required, the name of the name/value pair. |
| Required, the value of the name/value pair. |