<!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.

For example:

<property name="employeeNumber" data-type="string">
  <attribute name="unique" value="true"/>
</property>
Attributes

Attribute

Description

name

Required, the name of the name/value pair.

value

Required, the value of the name/value pair.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices