|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.doxia.macro.AbstractMacro
public abstract class AbstractMacro
Abstract base class to execute Macro
.
Field Summary |
---|
Fields inherited from interface org.apache.maven.doxia.macro.Macro |
---|
EOL, ROLE |
Constructor Summary | |
---|---|
AbstractMacro()
|
Method Summary | |
---|---|
void |
enableLogging(Log log)
Enable a Doxia logger for this Doxia component. |
protected static SinkEventAttributes |
getAttributesFromMap(java.util.Map parameters)
Convert the Map of macro parameters to an AttributeSet. |
protected 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.doxia.macro.Macro |
---|
execute |
Constructor Detail |
---|
public AbstractMacro()
Method Detail |
---|
public void enableLogging(Log log)
Doxia
logger for this Doxia
component.
enableLogging
in interface LogEnabled
log
- a Log.protected 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 SinkEventAttributes getAttributesFromMap(java.util.Map parameters)
parameters
- the macro parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |