|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.user.client.EscapeUtils
public class EscapeUtils
Provides utility methods for escaping strings.
| Constructor Summary | |
|---|---|
protected |
EscapeUtils()
Constructor. |
| Method Summary | |
|---|---|
static String |
escapeComment(String text)
Escapes the -- sequence before setting the text of a comment DOM node. |
static String |
unescape(String text,
char escapeChar)
Unescapes characters escaped with the specified escape character. |
static String |
unescapeBackslash(String text)
Unescapes characters escaped with backslash in the given text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected EscapeUtils()
| Method Detail |
|---|
public static String unescape(String text,
char escapeChar)
text - the text to be unescapedescapeChar - the character that was used for escaping
public static String unescapeBackslash(String text)
text - the text to be unescaped
public static String escapeComment(String text)
-- sequence before setting the text of a comment DOM node.
text - the text that needs to be put in a comment node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||