LabelInfo
encapsulates the request body of a LABEL request used to add, set or remove a label from the requested version resource or from that version specified with the Label header in case the requested resource is a version-controlled resource.<!ELEMENT label ANY> ANY value: A sequence of elements with at most one DAV:add, DAV:set, or DAV:remove element. <!ELEMENT add (label-name)> <!ELEMENT set (label-name)> <!ELEMENT remove (label-name)> <!ELEMENT label-name (#PCDATA)> PCDATA value: stringPlease note, that the given implementation only recognizes the predefined elements 'add', 'set' and 'remove'.
The syntax used for the label info descriptor is just the text to be displayed by the label with an ampersand (&) optionally inserted before the character that is to be used as a mnemonic for the label.
Example: To create a label with the text {@code My Label} and the capital L as a mnemonic,use the following descriptor:
My &Label
A backslash character (\) can be used to escape ampersand characters that are to be displayed as part of the label's text. For example:
Save \& Run
Only one non-escaped backslash can appear in the label descriptor. Attempting to specify more than one mnemonic character will result in an exception being thrown. TODO finish comment regarding backslash chars in props file Note that for label descriptors provided in properties files, an extra backslash will be required to avoid the single backslash being interpreted as a special character.
@author Keith Donald @author Peter De Bruycker @author Kevin Stembridge
|
|
|
|