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, setEscapeChars
public JsEscapeFunction(boolean isAttrUnquoted)
protected String getEscapeString(char c)
SimpleEscapingFunction
getEscapeString
in class SimpleEscapingFunction
Copyright © 2010–2014 Google. All rights reserved.