|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.mailer2.ReplyToTag
JSP tag mt:replyto is used to add replyto-to recipients to an e-mail message.
It is a child ofmt:mail.
| Field Summary | |
Logger |
log
Used for logging. |
protected String |
tagName
The name of the tag. |
| 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 | |
ReplyToTag()
Default zero-arg constructor. |
|
| Method Summary | |
void |
addRecipient(String address,
String name)
Add the reply-to recipient to the parent MailTag. |
int |
doAfterBody()
|
int |
doEndTag()
|
int |
doStartTag()
|
String |
getAddress()
Returns the address. |
String |
getBody()
Returns the body content. |
String |
getName()
Returns the real name. |
void |
release()
|
void |
setAddress(String address)
Sets the e-mail address. |
void |
setBody(String body)
Sets the body attribute. |
void |
setName(String name)
Sets the real name of the recipient. |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, resetCustomAttributes, 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 Detail |
public Logger log
protected String tagName
| Constructor Detail |
public ReplyToTag()
| Method Detail |
public int doStartTag()
throws JspException
JspException
public int doAfterBody()
throws JspException
JspException
public int doEndTag()
throws JspException
JspExceptionpublic void release()
public void addRecipient(String address,
String name)
throws JspException
address - The e-mail addressname - The real name
JspException - Upon errorpublic String getAddress()
public void setAddress(String address)
address - The e-mail addresspublic String getBody()
public void setBody(String body)
body - The body contentpublic String getName()
public void setName(String name)
name - The real name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||