com.jivesoftware.community.renderer.annotations
Annotation Type SingleTagMacro
@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface SingleTagMacro
This annotation can change whether a macro is handled a single or multi tagged macro. This annotation can be set on a subclass
of BaseMacro.
If set to true the macro cannot contain any body text, while if set to false it can contain body text.
For example:
SingleTagMacro(true):
{mymacro param=val}
SingleTagMacro(false):
{mymacro param=val}
Body content here
{mymacro}
- See Also:
BaseMacro
|
Optional Element Summary |
boolean |
value
|
value
public abstract boolean value
- Default:
- true
Copyright © 1999-2007 Jive Software.