|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.velocity.htmlsafe.HtmlSafeClassAnnotator
public final class HtmlSafeClassAnnotator
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 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 Summary | |
|---|---|
HtmlSafeClassAnnotator()
|
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.annotation.Annotation> |
getAnnotationsForMethod(java.lang.reflect.Method method)
Return a collection of annotations for a method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlSafeClassAnnotator()
| Method Detail |
|---|
public java.util.Collection<java.lang.annotation.Annotation> getAnnotationsForMethod(java.lang.reflect.Method method)
MethodAnnotator
getAnnotationsForMethod in interface MethodAnnotatormethod - Method to annotate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||