public interface PluginElement
| Modifier and Type | Method and Description |
|---|---|
void |
executeParse(Context context)
Executes the executeParse() method.
|
java.lang.String |
getParameter(java.lang.String name)
Returns a parameter value from the parameter map.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Returns the parameter map given in the constructor.
|
java.lang.String |
getPluginName()
Returns the name of the plugin invoked by the DOM element.
|
java.lang.String |
getText()
The main invocation for the plugin.
|
java.lang.String |
getValue()
Returns the rendered plugin.
|
java.lang.String |
invoke(Context context)
Performs plugin invocation and return its contents.
|
java.lang.String getPluginName()
java.lang.String getParameter(java.lang.String name)
name - the name of the parameter.java.util.Map<java.lang.String,java.lang.String> getParameters()
java.lang.String getValue()
java.lang.String getText()
java.lang.String invoke(Context context)
context - WikiContext in which the plugin is executed. Must NOT be null.void executeParse(Context context) throws PluginException
context - The WikiContextPluginException - If something goes wrong.Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.