Class AbstractAttributeTag
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- net.anotheria.tags.BaseTagSupport
-
- net.anotheria.anosite.tags.content.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.BaseTagSupportWrites 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
-
-
Constructor Summary
Constructors Constructor Description AbstractAttributeTag()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intdoEndTag()protected abstract AttributeMapgetAttributeMap()Retrieves attributes from the corresponding object.StringgetDefaultValue()StringgetName()voidsetDefaultValue(String defaultValue)voidsetName(String name)-
Methods inherited from class net.anotheria.tags.BaseTagSupport
getId, getProperty, getScope, lookup, quote, release, setId, setProperty, setScope, toString, write, writeLn
-
-
-
-
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:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspException
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
getName
public String getName()
- Overrides:
getNamein classnet.anotheria.tags.BaseTagSupport
-
setName
public void setName(String name)
- Overrides:
setNamein classnet.anotheria.tags.BaseTagSupport
-
-