com.atlassian.confluence.content.render.xhtml.macro.annotation
Annotation Type RequiresFormat


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface RequiresFormat

Class annotation for Macro implementations to define what format the macro body should be passed to the execute method as.

Since:
4.0
See Also:
Format, AnnotationMacroBodyTranformationCondition

Required Element Summary
 Format value
          Defines the format type required by the execute() method on Macros
 

Element Detail

value

public abstract Format value
Defines the format type required by the execute() method on Macros

Returns:
The specified format for the Macro class.


Copyright © 2003-2013 Atlassian. All Rights Reserved.