Package org.apache.maven.doxia.macro
Class EchoMacro
java.lang.Object
org.apache.maven.doxia.macro.AbstractMacro
org.apache.maven.doxia.macro.EchoMacro
- All Implemented Interfaces:
Macro
A simple macro that prints out the key and value of some supplied parameters.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(Sink sink, MacroRequest request) Execute the current macro using the given MacroRequest, and emit events into the given sink.Methods inherited from class org.apache.maven.doxia.macro.AbstractMacro
getAttributesFromMap
-
Constructor Details
-
EchoMacro
public EchoMacro()
-
-
Method Details
-
execute
Execute the current macro using the given MacroRequest, and emit events into the given sink.- Parameters:
sink
- The sink to receive the events.request
- The corresponding MacroRequest.
-