|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.velocity.app.event.implement.EscapeReference
org.apache.velocity.app.event.implement.EscapeJavaScriptReference
public class EscapeJavaScriptReference
Escapes the characters in a String to be suitable for use in JavaScript.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.velocity.app.event.ReferenceInsertionEventHandler |
|---|
ReferenceInsertionEventHandler.referenceInsertExecutor |
| Constructor Summary | |
|---|---|
EscapeJavaScriptReference()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
escape(java.lang.Object text)
Escapes the characters in a String to be suitable for use in JavaScript. |
protected java.lang.String |
getMatchAttribute()
Specify the configuration attribute that specifies the regular expression. |
| Methods inherited from class org.apache.velocity.app.event.implement.EscapeReference |
|---|
getRuntimeServices, referenceInsert, setRuntimeServices |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EscapeJavaScriptReference()
| Method Detail |
|---|
protected java.lang.String escape(java.lang.Object text)
escape in class EscapeReferencetext -
protected java.lang.String getMatchAttribute()
EscapeReferenceeventhandler.escape.XYZ.match
where XYZ is the type of escaping being done.
getMatchAttribute in class EscapeReference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||