Class AbstractAttributeTag

  • All Implemented Interfaces:
    jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
    Direct Known Subclasses:
    BoxAttributeTag, PageAttributeTag

    public abstract class AbstractAttributeTag
    extends net.anotheria.tags.BaseTagSupport
    Writes the value for the attribute "name" of the current CMS Object(box/page/etc). If no value is specified, writes out the defaultValue.
    Author:
    dzhmud
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

        pageContext
      • Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Detail

      • AbstractAttributeTag

        public AbstractAttributeTag()
    • Method Detail

      • getAttributeMap

        protected abstract AttributeMap getAttributeMap()
        Retrieves attributes from the corresponding object.
        Returns:
        AttributeMap
      • doEndTag

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

        public String getDefaultValue()
      • setDefaultValue

        public void setDefaultValue​(String defaultValue)
      • getName

        public String getName()
        Overrides:
        getName in class net.anotheria.tags.BaseTagSupport
      • setName

        public void setName​(String name)
        Overrides:
        setName in class net.anotheria.tags.BaseTagSupport