org.xwiki.rendering.wikimodel.xml
Class WemProgrammingTagNotifier
java.lang.Object
org.xwiki.rendering.wikimodel.xml.AbstractTagNotifier
org.xwiki.rendering.wikimodel.xml.WemProgrammingTagNotifier
- All Implemented Interfaces:
- IWemListenerProgramming, ISaxConst
public class WemProgrammingTagNotifier
- extends AbstractTagNotifier
- implements IWemListenerProgramming
- Since:
- 4.0M1
- Version:
- $Id: d928ffadb943d55056aa541abd88d8c26d957358 $
| Fields inherited from interface org.xwiki.rendering.wikimodel.xml.ISaxConst |
DEFINITION_DESCRIPTION, DEFINITION_LIST, DEFINITION_TERM, DOCUMENT, EMPTY_LINES, EMPTY_LINES_SIZE, ESCAPE, EXTENSION_BLOCK, EXTENSION_INLINE, EXTENSION_NAME, FORMAT, HEADER, HEADER_LEVEL, HORIZONTAL_LINE, IMAGE, IMAGE_IMPLICIT, INFO_BLOCK, INFO_BLOCK_TYPE, LINE_BREAK, LIST_ITEM, LIST_ORDERED, LIST_UNORDERED, MACRO_BLOCK, MACRO_INLINE, MACRO_NAME, NEW_LINE, PARAGRAPH, PROPERTY_BLOCK, PROPERTY_DOC, PROPERTY_INLINE, PROPERTY_URL, QUOTATION, QUOTATION_LINE, REF_EXPLICIT, REF_IMPLICIT, SECTION, SECTION_CONTENT, SECTION_DOC_LEVEL, SECTION_HEADER_LEVEL, SECTION_LEVEL, STYLES, TABLE, TABLE_CAPTION, TABLE_CAPTION_PARAM, TABLE_CELL, TABLE_HEAD, TABLE_ROW, VERBATIM_BLOCK, VERBATIM_INLINE |
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WemProgrammingTagNotifier
public WemProgrammingTagNotifier(ITagListener listener)
- Parameters:
listener -
onExtensionBlock
public void onExtensionBlock(String extensionName,
WikiParameters params)
- Description copied from interface:
IWemListenerProgramming
- This method is used to notify about a new extension which CAN generate
block elements as a result of its interpretation.
- Specified by:
onExtensionBlock in interface IWemListenerProgramming
- Parameters:
extensionName - the name of the extensionparams - parameters for the extension
onExtensionInline
public void onExtensionInline(String extensionName,
WikiParameters params)
- Description copied from interface:
IWemListenerProgramming
- This method is used to notify about a new extension which CAN generate
in-line elements as a result of its interpretation. This method CAN NOT
generate block elements.
- Specified by:
onExtensionInline in interface IWemListenerProgramming
- Parameters:
extensionName - the name of the extensionparams - parameters for the extension
onMacroBlock
public void onMacroBlock(String macroName,
WikiParameters params,
String content)
- Description copied from interface:
IWemListenerProgramming
- This method is used to notify about a new in-line macro which CAN
generate block elements as a result of its interpretation.
- Specified by:
onMacroBlock in interface IWemListenerProgramming
- Parameters:
macroName - the name of the macroparams - parameters of the macrocontent - the content of the macro
onMacroInline
public void onMacroInline(String macroName,
WikiParameters params,
String content)
- Description copied from interface:
IWemListenerProgramming
- 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. This
method CAN NOT generate block elements.
- Specified by:
onMacroInline in interface IWemListenerProgramming
- Parameters:
macroName - the name of the macroparams - parameters of the macrocontent - the content of the macro
Copyright © 2004–2013 XWiki. All rights reserved.