public abstract class AbstractMacro extends java.lang.Object implements Macro
Macro.| Constructor and Description |
|---|
AbstractMacro() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableLogging(org.apache.maven.doxia.logging.Log log) |
protected static org.apache.maven.doxia.sink.SinkEventAttributes |
getAttributesFromMap(java.util.Map<?,?> parameters)
Convert the Map of macro parameters to an AttributeSet.
|
protected org.apache.maven.doxia.logging.Log |
getLog()
Returns a logger for this macro.
|
protected void |
required(java.lang.String paramName,
java.lang.String paramValue)
Check if the given parameter is required.
|
public void enableLogging(org.apache.maven.doxia.logging.Log log)
enableLogging in interface org.apache.maven.doxia.logging.LogEnabledprotected org.apache.maven.doxia.logging.Log getLog()
protected void required(java.lang.String paramName,
java.lang.String paramValue)
paramName - The name of the parameter to check.paramValue - The parameter value.protected static org.apache.maven.doxia.sink.SinkEventAttributes getAttributesFromMap(java.util.Map<?,?> parameters)
parameters - the macro parameters.