|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.velocity.introspection.AnnotatedReferenceHandler com.atlassian.confluence.velocity.htmlsafe.HtmlAnnotationEscaper
public class HtmlAnnotationEscaper
A ReferenceInsertionEventHandler
that HTML encodes any value not annotated
as being HtmlSafe.
It also excludes some references from escaping based on name:
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.ReferenceInsertionEventHandler |
---|
org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor |
Constructor Summary | |
---|---|
HtmlAnnotationEscaper()
|
Method Summary | |
---|---|
protected java.lang.Object |
annotatedValueInsert(java.lang.String referenceName,
java.lang.Object value,
java.util.Collection<java.lang.annotation.Annotation> annotations)
Process a reference with a collection of annotations |
Methods inherited from class com.atlassian.confluence.velocity.introspection.AnnotatedReferenceHandler |
---|
referenceInsert |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlAnnotationEscaper()
Method Detail |
---|
protected java.lang.Object annotatedValueInsert(java.lang.String referenceName, java.lang.Object value, java.util.Collection<java.lang.annotation.Annotation> annotations)
AnnotatedReferenceHandler
annotatedValueInsert
in class AnnotatedReferenceHandler
referenceName
- name of the reference being insertedvalue
- unboxed reference valueannotations
- any annotations associated with the reference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |