| java.lang.Object clime.messadmin.taglib.TagUtils
TagUtils | public class TagUtils (Code) | | Provides helper methods for JSP tags.
Some methods from Struts 1.2
author: Cédrik LIME |
Method Summary | |
protected static void | out(JspWriter writer, boolean escapeXml, Object value) Copied and adapted from org.apache.taglibs.standard.tag.common.core.OutSupport v1.1.2
Outputs text to writer JspWriter. | public static void | write(PageContext pageContext, boolean escapeXml, Object value) Copied and adapted from org.apache.struts.taglib.TagUtils v1.2.8
Write the specified text as the response to the writer associated with
this page. | protected static void | writeEscapedXml(char[] buffer, int length, Writer w) | public static void | writePrevious(PageContext pageContext, boolean escapeXml, Object value) Copied and adapted from org.apache.struts.taglib.TagUtils v1.2.8
Write the specified text as the response to the writer associated with
the body content for the tag within which we are currently nested. |
out | protected static void out(JspWriter writer, boolean escapeXml, Object value) throws JspException(Code) | | Copied and adapted from org.apache.taglibs.standard.tag.common.core.OutSupport v1.1.2
Outputs text to writer JspWriter.
If escapeXml is true, performs the following substring
replacements (to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also escapeXml().
|
write | public static void write(PageContext pageContext, boolean escapeXml, Object value) throws JspException(Code) | | Copied and adapted from org.apache.struts.taglib.TagUtils v1.2.8
Write the specified text as the response to the writer associated with
this page. WARNING - If you are writing body content
from the doAfterBody() method of a custom tag class that
implements BodyTag , you should be calling
writePrevious() instead.
Parameters: pageContext - The PageContext object for this page Parameters: value - The text to be written exception: JspException - if an input/output error occurs (already saved) |
writeEscapedXml | protected static void writeEscapedXml(char[] buffer, int length, Writer w) throws IOException(Code) | | Copied and adapted from org.apache.taglibs.standard.tag.common.core.OutSupport v1.1.2
Optimized to create no extra objects and write directly
to the JspWriter using blocks of escaped and unescaped characters
|
writePrevious | public static void writePrevious(PageContext pageContext, boolean escapeXml, Object value) throws JspException(Code) | | Copied and adapted from org.apache.struts.taglib.TagUtils v1.2.8
Write the specified text as the response to the writer associated with
the body content for the tag within which we are currently nested.
Parameters: pageContext - The PageContext object for this page Parameters: value - The text to be written exception: JspException - if an input/output error occurs (already saved) |
|
|