Class SetLocaleTag

  • All Implemented Interfaces:
    jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

    public class SetLocaleTag
    extends SetLocaleSupport

    A handler for <setLocale> that accepts attributes as Strings and evaluates them as expressions at runtime.

    Author:
    Jan Luehe
    See Also:
    Serialized Form
    • Constructor Detail

      • SetLocaleTag

        public SetLocaleTag()
        Constructs a new LocaleTag. As with TagSupport, subclasses should not provide other constructors and are expected to call the superclass constructor
    • Method Detail

      • doStartTag

        public int doStartTag()
                       throws jakarta.servlet.jsp.JspException
        Specified by:
        doStartTag in interface jakarta.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class jakarta.servlet.jsp.tagext.TagSupport
        Throws:
        jakarta.servlet.jsp.JspException
      • release

        public void release()
        Specified by:
        release in interface jakarta.servlet.jsp.tagext.Tag
        Overrides:
        release in class SetLocaleSupport
      • setValue

        public void setValue​(String value_)
      • setVariant

        public void setVariant​(String variant_)