java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
com.newmediaworks.taglib.email.BodyPartTag
- All Implemented Interfaces:
PartTag,BodyTag,IterationTag,JspTag,Tag,TryCatchFinally,Serializable
A single part of a multipart component.
- Author:
- New Media Works
- See Also:
-
Field Summary
FieldsFields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidintdoEndTag()voidintvoidsetContent(Multipart content) voidsetContent(Object o, String type) voidvoidsetFileName(String filename) voidMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Field Details
-
TAG_NAME
- See Also:
-
-
Constructor Details
-
BodyPartTag
public BodyPartTag()
-
-
Method Details
-
doStartTag
- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classBodyTagSupport- Throws:
JspException
-
addHeader
- Specified by:
addHeaderin interfacePartTag- Throws:
MessagingException
-
setHeader
- Specified by:
setHeaderin interfacePartTag- Throws:
MessagingException
-
setContent
- Specified by:
setContentin interfacePartTag- Throws:
MessagingException
-
setContent
- Specified by:
setContentin interfacePartTag- Throws:
MessagingException
-
setDataHandler
- Specified by:
setDataHandlerin interfacePartTag- Throws:
MessagingException
-
setFileName
- Specified by:
setFileNamein interfacePartTag- Throws:
MessagingException
-
doEndTag
- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classBodyTagSupport- Throws:
JspException
-
doCatch
- Specified by:
doCatchin interfaceTryCatchFinally- Throws:
Throwable
-
doFinally
public void doFinally()- Specified by:
doFinallyin interfaceTryCatchFinally
-
