|
|||||||||
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.EscapeXmlReference
public class EscapeXmlReference
Escape all XML entities.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.ReferenceInsertionEventHandler |
---|
ReferenceInsertionEventHandler.referenceInsertExecutor |
Constructor Summary | |
---|---|
EscapeXmlReference()
|
Method Summary | |
---|---|
protected java.lang.String |
escape(java.lang.Object text)
Escape all XML entities. |
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 EscapeXmlReference()
Method Detail |
---|
protected java.lang.String escape(java.lang.Object text)
escape
in class EscapeReference
text
-
protected java.lang.String getMatchAttribute()
EscapeReference
eventhandler.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 |