|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
nl.gx.webmanager.taglib.edit.EscapeToHtmlTag
public class EscapeToHtmlTag
Implements the wmedit:escapeToHtml tag. This tag umlifies the
given string value.
If the var attribute is set, the result is bound to the var in
the pagecontext, else the result of the lookup is printed.
This functionality should be used when a string is rendered within an
attribute value of an html (or xml) tag.
| Constructor Summary | |
|---|---|
EscapeToHtmlTag()
|
|
| Method Summary | |
|---|---|
void |
doTag()
|
protected java.lang.String |
getValue()
Return the escaped value. |
protected java.lang.String |
getVar()
Return name of the variable to which the escaped value will be assigned or null. |
void |
setValue(java.lang.String value)
Setter for the required value attribute. |
void |
setVar(java.lang.String var)
Setter for the optional var attribute. |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EscapeToHtmlTag()
| Method Detail |
|---|
public void setVar(java.lang.String var)
var - name of the variable to which the escaped value will be assigned.protected java.lang.String getVar()
public void setValue(java.lang.String value)
value - value that is to be escaped.protected java.lang.String getValue()
public void doTag()
throws javax.servlet.jsp.JspException
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupportjavax.servlet.jsp.JspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||