- All Implemented Interfaces:
AltAttribute,ClassAttribute,DataAttribute,DirAttribute,GlobalAttributes,GlobalBufferedAttributes,HrefAttribute,HreflangAttribute,IdAttribute,OnclickAttribute,OnmouseoutAttribute,OnmouseoverAttribute,ParamsAttribute,RelAttribute,StyleAttribute,TargetAttribute,TitleAttribute,TypeAttribute,DynamicAttributes,JspTag,SimpleTag
public class AreaTag
extends ElementNullTag
implements HrefAttribute, ParamsAttribute, HreflangAttribute, RelAttribute, TypeAttribute, TargetAttribute, AltAttribute, TitleAttribute, OnclickAttribute, OnmouseoverAttribute, OnmouseoutAttribute
- Author:
- AO Industries, Inc.
-
Field Summary
FieldsFields inherited from class com.aoapps.taglib.ElementNullTag
global -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanAdds a dynamic attribute.voidAdds a parameter.protected voidvoidsetAbsolute(boolean absolute) voidsetAddLastModified(String addLastModified) voidvoidsetCanonical(boolean canonical) voidvoidvoidsetHreflang(Object hreflang) voidsetOnclick(Object onclick) voidsetOnmouseout(Object onmouseout) voidsetOnmouseover(Object onmouseover) voidvoidvoidvoidvoidMethods inherited from class com.aoapps.taglib.ElementNullTag
addData, getClazz, getData, getDir, getId, getStyle, setClazz, setData, setDir, setDynamicAttribute, setId, setStyleMethods inherited from class com.aoapps.encoding.taglib.EncodingNullTag
doTag, invoke, setMediaEncoderOptions, writeEncoderPrefix, writeEncoderSuffix, writePrefix, writeSuffixMethods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aoapps.taglib.ParamsAttribute
addParam
-
Field Details
-
RESOURCES
-
-
Constructor Details
-
AreaTag
public AreaTag()/
-
-
Method Details
-
getOutputType
- Specified by:
getOutputTypein classEncodingNullTag
-
setShape
-
setCoords
-
setHref
- Specified by:
setHrefin interfaceHrefAttribute
-
addParam
Description copied from interface:ParamsAttributeAdds 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.
When the value is an
Enum, the parameter value is obtained fromEnum.name()instead ofEnum.toString(). This is to intuitively use enums as parameters whenEnum.toString()is overridden.Default method is for backward compatibility only. Implementations should override this version.
- Specified by:
addParamin interfaceParamsAttribute
-
setAbsolute
public void setAbsolute(boolean absolute) -
setCanonical
public void setCanonical(boolean canonical) -
setAddLastModified
-
setHreflang
- Specified by:
setHreflangin interfaceHreflangAttribute
-
setRel
- Specified by:
setRelin interfaceRelAttribute
-
setType
- Specified by:
setTypein interfaceTypeAttribute
-
setTarget
- Specified by:
setTargetin interfaceTargetAttribute
-
setAlt
- Specified by:
setAltin interfaceAltAttribute
-
setTitle
- Specified by:
setTitlein interfaceTitleAttribute
-
setOnclick
- Specified by:
setOnclickin interfaceOnclickAttribute
-
setOnmouseover
- Specified by:
setOnmouseoverin interfaceOnmouseoverAttribute
-
setOnmouseout
- Specified by:
setOnmouseoutin interfaceOnmouseoutAttribute
-
addDynamicAttribute
protected boolean addDynamicAttribute(String uri, String localName, Object value, List<String> expectedPatterns) throws JspTagException Adds a dynamic attribute.- Overrides:
addDynamicAttributein classElementNullTag- Returns:
truewhen added, orfalsewhen attribute not expected and has not been added.- Throws:
JspTagException- See Also:
-
doTag
- Overrides:
doTagin classEncodingNullTag- Throws:
JspExceptionIOException
-
