java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
com.aoapps.encoding.taglib.EncodingBufferedTag
com.newmediaworks.taglib.email.ContentTag
The body of this tag provides the content to the email or any of its parts.
- Author:
- New Media Works
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ScopeEE.Page.Attribute
<String> The old Struts 1 XHTML mode page attribute.static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doTag
(BufferResult capturedBody, Writer out) /protected void
invoke
(JspFragment body, MediaValidator captureValidator) void
setDoctype
(String doctype) void
setSerialization
(String serialization) void
Sets the type.Methods inherited from class com.aoapps.encoding.taglib.EncodingBufferedTag
doTag, getTempFileThreshold, 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
-
Field Details
-
TAG_NAME
- See Also:
-
STRUTS_XHTML_KEY
The old Struts 1 XHTML mode page attribute. To avoiding picking-up a big legacy dependency, we've copied the value here instead of depending on Globals. Once we no longer have any code running on old Struts, this value may be removed.
-
-
Constructor Details
-
ContentTag
public ContentTag()/
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in classEncodingBufferedTag
-
getOutputType
- Specified by:
getOutputType
in classEncodingBufferedTag
-
setType
Sets the type. -
setSerialization
-
setDoctype
-
invoke
protected void invoke(JspFragment body, MediaValidator captureValidator) throws JspException, IOException - Overrides:
invoke
in classEncodingBufferedTag
- Throws:
JspException
IOException
-
doTag
/- Overrides:
doTag
in classEncodingBufferedTag
- Throws:
JspException
IOException
-