Class OptionLookupValue

  • All Implemented Interfaces:
    java.lang.CharSequence, IRenderable

    public class OptionLookupValue
    extends CharSequenceRenderableWrapper
    A CharSequence value that when is rendered the corresponding option value is returned.
    Since:
    4.0.4
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • OptionLookupValue

        public OptionLookupValue​(java.lang.CharSequence value,
                                 org.w3c.dom.Node optionsNode)
        Creates a option lookup renderable for the given value that uses the given options node to find the corresponding option value.
        Parameters:
        value - the CharSequence value.
        optionsNode - the options node. During render it is searched for a tag option with attribute value equals to the value parameter, and the text context of such tag is localized and used.
        Since:
        4.0.4