com.atlassian.templaterenderer.velocity
Class TemplateRendererHtmlAnnotationEscaper

java.lang.Object
  extended by com.atlassian.velocity.htmlsafe.introspection.AnnotatedReferenceHandler
      extended by com.atlassian.velocity.htmlsafe.HtmlAnnotationEscaper
          extended by com.atlassian.templaterenderer.velocity.TemplateRendererHtmlAnnotationEscaper
All Implemented Interfaces:
org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.ReferenceInsertionEventHandler

public class TemplateRendererHtmlAnnotationEscaper
extends com.atlassian.velocity.htmlsafe.HtmlAnnotationEscaper


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.ReferenceInsertionEventHandler
org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
 
Constructor Summary
TemplateRendererHtmlAnnotationEscaper()
           
 
Method Summary
protected  boolean shouldEscape(String referenceName, Object value, Collection<Annotation> annotations)
           
 
Methods inherited from class com.atlassian.velocity.htmlsafe.HtmlAnnotationEscaper
annotatedValueInsert
 
Methods inherited from class com.atlassian.velocity.htmlsafe.introspection.AnnotatedReferenceHandler
referenceInsert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateRendererHtmlAnnotationEscaper

public TemplateRendererHtmlAnnotationEscaper()
Method Detail

shouldEscape

protected boolean shouldEscape(String referenceName,
                               Object value,
                               Collection<Annotation> annotations)
Overrides:
shouldEscape in class com.atlassian.velocity.htmlsafe.HtmlAnnotationEscaper


Copyright © 2012 Atlassian. All Rights Reserved.