public class HtmlEscapeFunction extends SimpleEscapingFunction
Constructor and Description |
---|
HtmlEscapeFunction(boolean isUnquoted)
isUnquoted should be true if the function is escaping a string that will appear inside an
unquoted HTML attribute.
|
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 HtmlEscapeFunction(boolean isUnquoted)
protected String getEscapeString(char c)
SimpleEscapingFunction
getEscapeString
in class SimpleEscapingFunction
Copyright © 2010–2017 Google. All rights reserved.