|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.util.JavaScriptUtils
public class JavaScriptUtils
Utility class for JavaScript escaping. Escapes based on the JavaScript 1.5 recommendation.
Reference: Core JavaScript 1.5 Guide
Constructor Summary | |
---|---|
JavaScriptUtils()
|
Method Summary | |
---|---|
static java.lang.String |
javaScriptEscape(java.lang.String input)
Turn special characters into escaped characters conforming to JavaScript. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaScriptUtils()
Method Detail |
---|
public static java.lang.String javaScriptEscape(java.lang.String input)
input
- the input string
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |