java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.aoapps.encoding.taglib.legacy.EncodingFilteredBodyTag
com.aoapps.taglib.legacy.ElementFilteredBodyTag
- All Implemented Interfaces:
GlobalAttributes
,Serializable
,BodyTag
,DynamicAttributes
,IterationTag
,JspTag
,Tag
,TryCatchFinally
public abstract class ElementFilteredBodyTag
extends EncodingFilteredBodyTag
implements GlobalAttributes, DynamicAttributes
Implements global attributes on
EncodingFilteredBodyTag
.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoapps.encoding.taglib.legacy.EncodingFilteredBodyTag
EVAL_BODY_FILTERED
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Adds a dynamic attribute.void
getClazz()
Getter required.getData()
Gets the HTML data attributes or an empty map when there are none.getDir()
getStyle()
void
void
void
setDynamicAttribute
(String uri, String localName, Object value) Deprecated.void
void
Methods inherited from class com.aoapps.encoding.taglib.legacy.EncodingFilteredBodyTag
doAfterBody, doAfterBody, doCatch, doEndTag, doEndTag, doInitBody, doStartTag, doStartTag, getContentType, setMediaEncoderOptions, writeEncoderPrefix, writeEncoderSuffix, writePrefix, writeSuffix
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aoapps.taglib.GlobalAttributes
getId
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Field Details
-
global
-
-
Constructor Details
-
ElementFilteredBodyTag
protected ElementFilteredBodyTag()
-
-
Method Details
-
setId
- Overrides:
setId
in classTagSupport
-
getClazz
Description copied from interface:GlobalAttributes
Getter required. Because without it, we get the exception:Unable to find setter method for attribute: class
- Specified by:
getClazz
in interfaceGlobalAttributes
-
setClazz
- Throws:
IOException
-
getData
Description copied from interface:GlobalAttributes
Gets the HTML data attributes or an empty map when there are none.- Specified by:
getData
in interfaceGlobalAttributes
-
getDir
- Specified by:
getDir
in interfaceGlobalAttributes
-
setDir
-
getStyle
- Specified by:
getStyle
in interfaceGlobalAttributes
-
setStyle
- Throws:
IOException
-
addDynamicAttribute
protected boolean addDynamicAttribute(String uri, String localName, Object value, List<String> expectedPatterns) throws JspTagException Adds a dynamic attribute.- Returns:
true
when added, orfalse
when attribute not expected and has not been added.- Throws:
JspTagException
- See Also:
-
setDynamicAttribute
@Deprecated public void setDynamicAttribute(String uri, String localName, Object value) throws JspException Deprecated.You should probably be implementing inaddDynamicAttribute(java.lang.String, java.lang.String, java.lang.Object, java.util.List)
Sets a dynamic attribute.- Specified by:
setDynamicAttribute
in interfaceDynamicAttributes
- Throws:
JspException
- See Also:
-
doFinally
public void doFinally()- Specified by:
doFinally
in interfaceTryCatchFinally
- Overrides:
doFinally
in classEncodingFilteredBodyTag
-
addDynamicAttribute(java.lang.String, java.lang.String, java.lang.Object, java.util.List)