public class JsEscapeFunction extends SimpleEscapingFunction
| Constructor and Description |
|---|
JsEscapeFunction(boolean isAttrUnquoted)
isUnquoted should be true if the function is escaping a string that will appear inside an
unquoted JS attribute (like onClick or onMouseover).
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getEscapeString(char c)
Given one of the escape characters supplied to this instance's constructor, return the escape
string for it.
|
filter, setEscapeCharspublic JsEscapeFunction(boolean isAttrUnquoted)
protected String getEscapeString(char c)
SimpleEscapingFunctiongetEscapeString in class SimpleEscapingFunctionCopyright © 2010–2015 Google. All rights reserved.