org.apache.maven.doxia.macro.snippet
public class SnippetMacro extends AbstractMacro
UNKNOWN: role-hint="snippet"
Method Summary | |
---|---|
void | cacheSnippet(URL url, String id, String content)
Puts the given snippet into the cache.
|
void | execute(Sink sink, MacroRequest request) |
void | setCacheTimeout(int time)
Set the cache timeout.
|
Parameters: url The URL to parse. id The id of the snippet. content The content of the snippet.
Parameters: time The timeout to set.