public static final class EscapingConventions.EscapeUri extends EscapingConventions.CrossLanguageStringXform
|escapeUri directive which allows arbitrary content to be included in a
URI regardless of the string delimiters of the the surrounding language.| Modifier and Type | Field and Description |
|---|---|
static EscapingConventions.EscapeUri |
INSTANCE
Implements the
|escapeUri directive. |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.collect.ImmutableList<EscapingConventions.Escape> |
defineEscapes()
Returns the escapes used for this escaper.
|
List<String> |
getLangFunctionNames(EscapingConventions.EscapingLanguage language)
The names of existing language builtins or available library functions (such as Google
Closure) that implement the escaping convention.
|
escape, escape, getDirectiveName, getEscapes, getInnocuousOutput, getNonAsciiPrefix, getValueFilterpublic static final EscapingConventions.EscapeUri INSTANCE
|escapeUri directive.protected com.google.common.collect.ImmutableList<EscapingConventions.Escape> defineEscapes()
EscapingConventions.CrossLanguageStringXformdefineEscapes in class EscapingConventions.CrossLanguageStringXformpublic List<String> getLangFunctionNames(EscapingConventions.EscapingLanguage language)
EscapingConventions.CrossLanguageStringXformgetLangFunctionNames in class EscapingConventions.CrossLanguageStringXformlanguage - The language being escaped.null if there is no such function.