public final class HtmlSafeClassAnnotator extends Object implements MethodAnnotator
At present this annotator will annotate the htmlEncode method from com.opensymphony.util.TextUtils and
com.opensymphony.webwork.util.WebWorkUtil, the html method from
org.apache.velocity.tools.generic.EscapeTool as being HTML safe.
| Constructor and Description |
|---|
HtmlSafeClassAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Annotation> |
getAnnotationsForMethod(Method method)
Return a collection of annotations for a method
|
public Collection<Annotation> getAnnotationsForMethod(Method method)
MethodAnnotatorgetAnnotationsForMethod in interface MethodAnnotatormethod - Method to annotateCopyright © 2018 Atlassian. All rights reserved.