since 7.3.0, use ELEMENT instead. The Collection_xxx key format has
been superseded by Element_xxx since WebWork 2.1.x; both are handled identically by the
engine, and Element_xxx additionally covers the values of a Map.
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
The prefix a conversion mapping key carries for this rule, as read back by
DefaultObjectTypeDeterminer. PROPERTY and MAP have no prefix of their
own: map and collection metadata is read through the Key_ and Element_ keys.
COLLECTION deliberately derives Collection_, the deprecated spelling that
DefaultObjectTypeDeterminer still falls back to (and logs an INFO about) for
compatibility with existing annotations. Prefer ELEMENT, whose Element_
prefix is the current form.
Returns:
the mapping key prefix, never null; an empty string when the rule has none
ELEMENTinstead.