Class UrlTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
    Direct Known Subclasses:
    FormTag, ImageTag, LinkTag, TableTag

    public abstract class UrlTag
    extends TagBase
    an abstract base tag implementation to generate URL based elements
    See Also:
    Serialized Form
    • Constructor Detail

      • UrlTag

        public UrlTag()
    • Method Detail

      • clear

        protected void clear()
        Description copied from class: CpnlBodyTagSupport
        Reset all member variables to the (default) start values. Called prior processing the tag and at release time.
        Overrides:
        clear in class TagBase
      • getDefaultUrlAttr

        protected abstract String getDefaultUrlAttr()
      • setUrl

        public void setUrl​(String url)
      • setUrlAttr

        public void setUrlAttr​(String urlAttr)
      • getUrlAttr

        protected String getUrlAttr()
      • setMap

        public void setMap​(Boolean mapIt)
      • setRole

        public void setRole​(String role)
      • setFormat

        public void setFormat​(String format)
        Parameters:
        format - The format to set to build a url from the 'url' value: {} or {0} is replaced by the url.
      • getFormatter

        public Format getFormatter​(Object value)
      • buildUrl

        @NotNull
        protected @NotNull String buildUrl​(@NotNull
                                           @NotNull String urlValue,
                                           @Nullable
                                           @Nullable Boolean map)