public interface Macro
extends org.apache.maven.doxia.logging.LogEnabled
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EOL
The vm line separator
|
static java.lang.String |
ROLE
The Plexus lookup role.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.apache.maven.doxia.sink.Sink sink,
MacroRequest request)
Execute the current macro using the given MacroRequest,
and emit events into the given sink.
|
static final java.lang.String ROLE
static final java.lang.String EOL
void execute(org.apache.maven.doxia.sink.Sink sink,
MacroRequest request)
throws MacroExecutionException
sink - The sink to receive the events.request - The corresponding MacroRequest.MacroExecutionException - if an error occurred during execution.