|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.mlw.vlh.web.util.JspUtils
A lot of this functionality is in the Struts ResponceUtils, but I do not want to create a dependicy to struts.
| Method Summary | |
static String |
format(Object value,
String format,
Locale loc)
|
static javax.servlet.jsp.tagext.Tag |
getParent(javax.servlet.jsp.tagext.Tag self,
Class klass)
|
static String |
toAttributesString(Map map)
|
static Collection |
toCollection(String value,
String token)
Converts a stirng into a collection of strings. |
static void |
write(javax.servlet.jsp.PageContext pageContext,
String text)
Write the specified text as the response to the writer associated with this page. |
static void |
writePrevious(javax.servlet.jsp.PageContext pageContext,
String text)
Write the specified text as the response to the writer associated with the body content for the tag within which we are currently nested. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void write(javax.servlet.jsp.PageContext pageContext,
String text)
throws javax.servlet.jsp.JspException
doAfterBody() method of a custom tag class that
implements BodyTag, you should be calling
writePrevious() instead.
pageContext - The PageContext object for this pagetext - The text to be written
javax.servlet.jsp.JspException - if an input/output error occurs
public static void writePrevious(javax.servlet.jsp.PageContext pageContext,
String text)
throws javax.servlet.jsp.JspException
pageContext - The PageContext object for this pagetext - The text to be written
javax.servlet.jsp.JspException - if an input/output error occurs
public static Collection toCollection(String value,
String token)
value - The string to be parsed.token - The token to be used.
public static String format(Object value,
String format,
Locale loc)
public static String toAttributesString(Map map)
public static javax.servlet.jsp.tagext.Tag getParent(javax.servlet.jsp.tagext.Tag self,
Class klass)
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||