|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectHtmlUtils
public class HtmlUtils
This class provides a set of static methods that provide HTML utility code.
| Constructor Summary | |
|---|---|
HtmlUtils()
|
|
| Method Summary | |
|---|---|
static String |
addParams(String url,
Map params,
String encoding)
|
static boolean |
containsEntity(String value)
This method will determine if the value passed in contains an entity. |
static boolean |
containsHtml(String value)
|
static String |
escapeEscapes(String val)
|
static void |
filter(String value,
AbstractRenderAppender results)
Filter the specified value for characters that are sensitive to HTML interpreters. |
static void |
filter(String value,
AbstractRenderAppender result,
boolean markupHTMLSpaceReturn)
Filter the specified string for characters that are sensitive to HTML interpreters, returning the string with these characters replaced by the corresponding character entities. |
static String |
legacyEscapeEscapes(String val)
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlUtils()
| Method Detail |
|---|
public static boolean containsHtml(String value)
public static void filter(String value,
AbstractRenderAppender results)
markupHTMLSpaceReturn
set to false.
value - The String value to be filtered and returned.
public static void filter(String value,
AbstractRenderAppender result,
boolean markupHTMLSpaceReturn)
value - The String value to be filtered and returned.markupHTMLSpaceReturn - convert space characters and return characters
to and <br /> marketup for html.public static String escapeEscapes(String val)
public static String legacyEscapeEscapes(String val)
public static String addParams(String url,
Map params,
String encoding)
throws JspException
url - params - encoding -
JspExceptionpublic static boolean containsEntity(String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||