@Deprecated public class EscapeJavaScriptReference extends EscapeReference
Escapes the characters in a String to be suitable for use in JavaScript.
Warning: escaping references this way, without knowing if they land inside or outside Javascript simple-quoted or double-quoted strings, is not usable in production.
log| Constructor and Description |
|---|
EscapeJavaScriptReference()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
escape(Object text)
Deprecated.
Escapes the characters in a String to be suitable for use in JavaScript.
|
protected String |
getMatchAttribute()
Deprecated.
Specify the configuration attribute that specifies the
regular expression.
|
getRuntimeServices, referenceInsert, setRuntimeServicesprotected String escape(Object text)
escape in class EscapeReferencetext - protected String getMatchAttribute()
EscapeReferenceeventhandler.escape.XYZ.match
where XYZ is the type of escaping being done.
getMatchAttribute in class EscapeReferenceCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.