|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWemListenerProgramming
This interface re-groups all listener methods related to document elements which should be interpreted by the client code. The meaning of extensions and macros is not defined by the WikiModel. The general recommended semantic of macros - macros can be used to define interpreted/executable code in the handled document. Extensions are used mostly to call already defined somewhere code to insert back the results of these calls in the document. handled document. But the exact semantic and associated actions of these elements should be defined by the client code in an implementation-specific way.
Method Summary | |
---|---|
void |
onExtensionBlock(String extensionName,
WikiParameters params)
This method is used to notify about a new extension which CAN generate block elements as a result of its interpretation. |
void |
onExtensionInline(String extensionName,
WikiParameters params)
This method is used to notify about a new extension which CAN generate in-line elements as a result of its interpretation. |
void |
onMacroBlock(String macroName,
WikiParameters params,
String content)
This method is used to notify about a new in-line macro which CAN generate block elements as a result of its interpretation. |
void |
onMacroInline(String macroName,
WikiParameters params,
String content)
This method is used to notify about a new in-line macro which CAN generate only in-line elements as a result of its interpretation. |
Method Detail |
---|
void onExtensionBlock(String extensionName, WikiParameters params)
extensionName
- the name of the extensionparams
- parameters for the extensionvoid onExtensionInline(String extensionName, WikiParameters params)
extensionName
- the name of the extensionparams
- parameters for the extensionvoid onMacroBlock(String macroName, WikiParameters params, String content)
macroName
- the name of the macroparams
- parameters of the macrocontent
- the content of the macrovoid onMacroInline(String macroName, WikiParameters params, String content)
macroName
- the name of the macroparams
- parameters of the macrocontent
- the content of the macro
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |