java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.newmediaworks.taglib.email.BodyPartTag
- All Implemented Interfaces:
PartTag
,Serializable
,BodyTag
,IterationTag
,JspTag
,Tag
,TryCatchFinally
A single part of a multipart component.
- Author:
- New Media Works
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int
doEndTag()
void
int
void
setContent
(Object o, String type) void
setContent
(Multipart content) void
void
setFileName
(String filename) void
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Field Details
-
TAG_NAME
- See Also:
-
-
Constructor Details
-
BodyPartTag
public BodyPartTag()
-
-
Method Details
-
doStartTag
- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classBodyTagSupport
- Throws:
JspException
-
addHeader
- Specified by:
addHeader
in interfacePartTag
- Throws:
MessagingException
-
setHeader
- Specified by:
setHeader
in interfacePartTag
- Throws:
MessagingException
-
setContent
- Specified by:
setContent
in interfacePartTag
- Throws:
MessagingException
-
setContent
- Specified by:
setContent
in interfacePartTag
- Throws:
MessagingException
-
setDataHandler
- Specified by:
setDataHandler
in interfacePartTag
- Throws:
MessagingException
-
setFileName
- Specified by:
setFileName
in interfacePartTag
- Throws:
MessagingException
-
doEndTag
- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classBodyTagSupport
- Throws:
JspException
-
doCatch
- Specified by:
doCatch
in interfaceTryCatchFinally
- Throws:
Throwable
-
doFinally
public void doFinally()- Specified by:
doFinally
in interfaceTryCatchFinally
-