com.atlassian.confluence.velocity.htmlsafe
Class HtmlSafeClassAnnotator
java.lang.Object
com.atlassian.confluence.velocity.htmlsafe.HtmlSafeClassAnnotator
- All Implemented Interfaces:
- MethodAnnotator
public final class HtmlSafeClassAnnotator
- extends Object
- implements MethodAnnotator
This method annotator will annotate various methods that are known to be HTML safe from library classes.
At present this annotator will annotate the htmlEncode method from TextUtils
and
VelocityWebWorkUtil
as being HTML safe.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlSafeClassAnnotator
public HtmlSafeClassAnnotator()
getAnnotationsForMethod
public Collection<Annotation> getAnnotationsForMethod(Method method)
- Description copied from interface:
MethodAnnotator
- Return a collection of annotations for a method
- Specified by:
getAnnotationsForMethod
in interface MethodAnnotator
- Parameters:
method
- Method to annotate
- Returns:
- A collection of annotations applicable for the method
Copyright © 2003-2013 Atlassian. All Rights Reserved.