- All Implemented Interfaces:
ParamsAttribute
,DynamicAttributes
,JspTag
,SimpleTag
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a parameter.void
doTag()
Deprecated.protected void
doTag
(BufferResult capturedBody, Writer out) void
setAbsolute
(boolean absolute) void
setAddLastModified
(String addLastModified) void
setCanonical
(boolean canonical) void
setDynamicAttribute
(String uri, String localName, Object value) Methods inherited from class com.aoapps.encoding.taglib.EncodingBufferedTag
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
-
Constructor Details
-
UrlTag
public UrlTag()
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in classEncodingBufferedTag
-
getOutputType
- Specified by:
getOutputType
in classEncodingBufferedTag
-
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
-
setDynamicAttribute
- Specified by:
setDynamicAttribute
in interfaceDynamicAttributes
- Throws:
JspException
- See Also:
-
doTag
Deprecated.- Specified by:
doTag
in interfaceSimpleTag
- Overrides:
doTag
in classEncodingBufferedTag
- Throws:
JspException
IOException
-
doTag
- Overrides:
doTag
in classEncodingBufferedTag
- Throws:
JspException
IOException
-