The attribute tag is used to specify the list of feature descriptor values. The <attribute> tag is an empty tag that defines the item descriptor’s feature descriptor value or values. Here is an example:

<property name="employeeNumber" data-type="string">
  <attribute name="PCCExpert" value="true" data-type="boolean"/>
</property>

Attribute tags must be empty and have no child tags.

Used in:

attribute Tag Attributes

Attribute

Description

Value

name

The name of the name/value pair. You can specify any name here and it will be added to the list of feature descriptor attributes for your property.

Required.

value

The value of the name/value pair. The data type of this value is defined by the data-type attribute supplied to this tag. If no data-type attribute is provided, the value of the attribute is a string.

Required.

data-type

The primitive data-type of the value.

int
short
byte
long
float
double
string
date
timestamp

Default is string.

 
loading table of contents...