@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, setRuntimeServices
protected String escape(Object text)
escape
in class EscapeReference
text
- protected String getMatchAttribute()
EscapeReference
eventhandler.escape.XYZ.match
where XYZ
is the type of escaping being done.
getMatchAttribute
in class EscapeReference
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.