- All Implemented Interfaces:
AltAttribute
,ClassAttribute
,DataAttribute
,DirAttribute
,GlobalAttributes
,GlobalBufferedAttributes
,HrefAttribute
,HreflangAttribute
,IdAttribute
,OnclickAttribute
,OnmouseoutAttribute
,OnmouseoverAttribute
,ParamsAttribute
,RelAttribute
,StyleAttribute
,TargetAttribute
,TitleAttribute
,TypeAttribute
,Serializable
,BodyTag
,DynamicAttributes
,IterationTag
,JspTag
,Tag
,TryCatchFinally
public class AreaTag
extends ElementNullBodyTag
implements HrefAttribute, ParamsAttribute, HreflangAttribute, RelAttribute, TypeAttribute, TargetAttribute, AltAttribute, TitleAttribute, OnclickAttribute, OnmouseoverAttribute, OnmouseoutAttribute
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoapps.taglib.legacy.ElementNullBodyTag
global
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
Adds a parameter.protected int
void
void
setAbsolute
(boolean absolute) void
setAddLastModified
(String addLastModified) void
void
setCanonical
(boolean canonical) void
void
void
setHreflang
(Object hreflang) void
setOnclick
(Object onclick) void
setOnmouseout
(Object onmouseout) void
setOnmouseover
(Object onmouseover) void
void
void
void
void
Methods inherited from class com.aoapps.taglib.legacy.ElementNullBodyTag
addData, getClazz, getData, getDir, getStyle, setClazz, setData, setDir, setDynamicAttribute, setId, setStyle
Methods inherited from class com.aoapps.encoding.taglib.legacy.EncodingNullBodyTag
doAfterBody, doAfterBody, doCatch, doEndTag, doInitBody, doStartTag, doStartTag, 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 com.aoapps.taglib.ParamsAttribute
addParam
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
AreaTag
public AreaTag()
-
-
Method Details
-
getOutputType
- Specified by:
getOutputType
in classEncodingNullBodyTag
-
setShape
-
setCoords
-
setHref
- Specified by:
setHref
in interfaceHrefAttribute
-
addParam
Description copied from interface:ParamsAttribute
Adds a parameter.The conversion to string may be deferred, or the value may be streamed instead of being converted to a string. It is incorrect to change the state of the provided value; doing so may or may not affect the value of the resulting parameter.
Default method is for backward compatibility only. Implementations should override this version.
- Specified by:
addParam
in interfaceParamsAttribute
-
setAbsolute
public void setAbsolute(boolean absolute) -
setCanonical
public void setCanonical(boolean canonical) -
setAddLastModified
-
setHreflang
- Specified by:
setHreflang
in interfaceHreflangAttribute
-
setRel
- Specified by:
setRel
in interfaceRelAttribute
-
setType
- Specified by:
setType
in interfaceTypeAttribute
-
setTarget
- Specified by:
setTarget
in interfaceTargetAttribute
-
setAlt
- Specified by:
setAlt
in interfaceAltAttribute
-
setTitle
- Specified by:
setTitle
in interfaceTitleAttribute
-
setOnclick
- Specified by:
setOnclick
in interfaceOnclickAttribute
-
setOnmouseover
- Specified by:
setOnmouseover
in interfaceOnmouseoverAttribute
-
setOnmouseout
- Specified by:
setOnmouseout
in interfaceOnmouseoutAttribute
-
addDynamicAttribute
protected boolean addDynamicAttribute(String uri, String localName, Object value, List<String> expectedPatterns) throws JspTagException Adds a dynamic attribute.- Overrides:
addDynamicAttribute
in classElementNullBodyTag
- Returns:
true
when added, orfalse
when attribute not expected and has not been added.- Throws:
JspTagException
- See Also:
-
doEndTag
- Overrides:
doEndTag
in classEncodingNullBodyTag
- Throws:
JspException
IOException
-
doFinally
public void doFinally()- Specified by:
doFinally
in interfaceTryCatchFinally
- Overrides:
doFinally
in classElementNullBodyTag
-