- All Implemented Interfaces:
AltAttribute
,CheckedAttribute
,ClassAttribute
,DataAttribute
,DirAttribute
,DisabledAttribute
,GlobalAttributes
,GlobalBufferedAttributes
,HeightAttribute
,IdAttribute
,MaxlengthAttribute
,NameAttribute
,OnblurAttribute
,OnchangeAttribute
,OnclickAttribute
,OnerrorAttribute
,OnfocusAttribute
,OnkeypressAttribute
,OnloadAttribute
,ParamsAttribute
,ReadonlyAttribute
,SizeAttribute
,SrcAttribute
,StyleAttribute
,TabindexAttribute
,TitleAttribute
,TypeAttribute
,ValueAttribute
,WidthAttribute
,DynamicAttributes
,JspTag
,SimpleTag
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoapps.taglib.ElementBufferedTag
global
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Adds a dynamic attribute.void
Adds a parameter.protected void
doTag
(BufferResult capturedBody, Writer out) void
setAbsolute
(boolean absolute) void
setAddLastModified
(String addLastModified) void
void
setAutocomplete
(boolean autocomplete) void
setCanonical
(boolean canonical) void
setChecked
(boolean checked) void
setDisabled
(boolean disabled) void
void
setMaxlength
(Integer maxlength) void
void
void
setOnchange
(Object onchange) void
setOnclick
(Object onclick) void
setOnerror
(Object onerror) void
setOnfocus
(Object onfocus) void
setOnkeypress
(Object onkeypress) void
void
setReadonly
(boolean readonly) void
void
void
setTabindex
(int tabindex) void
void
void
void
Methods inherited from class com.aoapps.taglib.ElementBufferedTag
addData, getClazz, getData, getDir, getId, getStyle, setClazz, setData, setDir, setDynamicAttribute, setId, setStyle
Methods inherited from class com.aoapps.encoding.taglib.EncodingBufferedTag
doTag, getTempFileThreshold, invoke, newBufferWriter, newBufferWriter, newBufferWriter, newBufferWriter, setMediaEncoderOptions, writeEncoderPrefix, writeEncoderSuffix, writePrefix, writeSuffix
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
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.ParamsAttribute
addParam
-
Field Details
-
RESOURCES
-
-
Constructor Details
-
InputTag
public InputTag()/
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in classEncodingBufferedTag
-
getOutputType
- Specified by:
getOutputType
in classEncodingBufferedTag
-
setAlt
- Specified by:
setAlt
in interfaceAltAttribute
-
setAutocomplete
public void setAutocomplete(boolean autocomplete) -
setChecked
public void setChecked(boolean checked) - Specified by:
setChecked
in interfaceCheckedAttribute
-
setDisabled
public void setDisabled(boolean disabled) - Specified by:
setDisabled
in interfaceDisabledAttribute
-
setHeight
- Specified by:
setHeight
in interfaceHeightAttribute
-
setMaxlength
- Specified by:
setMaxlength
in interfaceMaxlengthAttribute
-
setName
- Specified by:
setName
in interfaceNameAttribute
-
setReadonly
public void setReadonly(boolean readonly) - Specified by:
setReadonly
in interfaceReadonlyAttribute
-
setSize
- Specified by:
setSize
in interfaceSizeAttribute
-
setSrc
- Specified by:
setSrc
in interfaceSrcAttribute
-
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.
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:
addParam
in interfaceParamsAttribute
-
setAbsolute
public void setAbsolute(boolean absolute) -
setCanonical
public void setCanonical(boolean canonical) -
setAddLastModified
-
setTabindex
public void setTabindex(int tabindex) - Specified by:
setTabindex
in interfaceTabindexAttribute
-
setTitle
- Specified by:
setTitle
in interfaceTitleAttribute
-
setType
- Specified by:
setType
in interfaceTypeAttribute
-
setWidth
- Specified by:
setWidth
in interfaceWidthAttribute
-
setValue
- Specified by:
setValue
in interfaceValueAttribute
-
setOnblur
- Specified by:
setOnblur
in interfaceOnblurAttribute
-
setOnchange
- Specified by:
setOnchange
in interfaceOnchangeAttribute
-
setOnclick
- Specified by:
setOnclick
in interfaceOnclickAttribute
-
setOnerror
- Specified by:
setOnerror
in interfaceOnerrorAttribute
-
setOnfocus
- Specified by:
setOnfocus
in interfaceOnfocusAttribute
-
setOnkeypress
- Specified by:
setOnkeypress
in interfaceOnkeypressAttribute
-
setOnload
- Specified by:
setOnload
in interfaceOnloadAttribute
-
addDynamicAttribute
protected boolean addDynamicAttribute(String uri, String localName, Object value, List<String> expectedPatterns) throws JspTagException Adds a dynamic attribute.- Overrides:
addDynamicAttribute
in classElementBufferedTag
- Returns:
true
when added, orfalse
when attribute not expected and has not been added.- Throws:
JspTagException
- See Also:
-
doTag
- Overrides:
doTag
in classEncodingBufferedTag
- Throws:
JspException
IOException
-