java.lang.Object
jakarta.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
FieldsModifier and TypeFieldDescriptionstatic final ScopeEE.Page.Attribute<String> The old Struts 1 XHTML mode page attribute.static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoTag(BufferResult capturedBody, Writer out) /protected voidinvoke(JspFragment body, MediaValidator captureValidator) voidsetDoctype(String doctype) voidsetSerialization(String serialization) voidSets the type.Methods inherited from class com.aoapps.encoding.taglib.EncodingBufferedTag
doTag, getTempFileThreshold, newBufferWriter, newBufferWriter, newBufferWriter, newBufferWriter, setMediaEncoderOptions, writeEncoderPrefix, writeEncoderSuffix, writePrefix, writeSuffixMethods inherited from class jakarta.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:
getContentTypein classEncodingBufferedTag
-
getOutputType
- Specified by:
getOutputTypein classEncodingBufferedTag
-
setType
Sets the type. -
setSerialization
-
setDoctype
-
invoke
protected void invoke(JspFragment body, MediaValidator captureValidator) throws JspException, IOException - Overrides:
invokein classEncodingBufferedTag- Throws:
JspExceptionIOException
-
doTag
/- Overrides:
doTagin classEncodingBufferedTag- Throws:
JspExceptionIOException
-
