|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.velocity.htmlsafe.HtmlSafeMethodNameAnnotator
public class HtmlSafeMethodNameAnnotator
Method annotator that marks certain methods as being HtmlSafe based on the method name.
This policy will annotate any method whose name ends with "Html" or starts with "render" as having a HTML safe return value.
Constructor Summary | |
---|---|
HtmlSafeMethodNameAnnotator()
|
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 HtmlSafeMethodNameAnnotator()
Method Detail |
---|
public java.util.Collection<java.lang.annotation.Annotation> getAnnotationsForMethod(java.lang.reflect.Method method)
MethodAnnotator
getAnnotationsForMethod
in interface MethodAnnotator
method
- Method to annotate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |