Literals are values that may be edited through the expression editor user interface. They are specified by the literal XML element.

A literal has a default value, which can be specified by <default><value type="class">...</value></default>. The type of this default value determines the data type that the user is permitted to enter. If no default is given, the default is the empty string.

A literal’s description is identical in nature and specification to the description of a token: it determines how the literal is presented in choice lists, and it also acts as a descriptive prompt whenever the literal is selected for editing.

The following example shows a literal of type Integer whose default value is the number 1.

  <default><value type="java.lang.Integer">1</value></default>
  <description>Enter a relative priority</description>