org.xwiki.rendering.wikimodel.xml
Class WemProgrammingTagNotifier

java.lang.Object
  extended by org.xwiki.rendering.wikimodel.xml.AbstractTagNotifier
      extended by org.xwiki.rendering.wikimodel.xml.WemProgrammingTagNotifier
All Implemented Interfaces:
IWemListenerProgramming, ISaxConst

public class WemProgrammingTagNotifier
extends AbstractTagNotifier
implements IWemListenerProgramming

Since:
4.0M1
Version:
$Id: d928ffadb943d55056aa541abd88d8c26d957358 $

Field Summary
 
Fields inherited from class org.xwiki.rendering.wikimodel.xml.AbstractTagNotifier
EMPTY_MAP, fListener
 
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
 
Constructor Summary
WemProgrammingTagNotifier(ITagListener listener)
           
 
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 org.xwiki.rendering.wikimodel.xml.AbstractTagNotifier
newParamMap, tagParams, tagParams, tagParams, tagParams, userParams, userParams, userParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WemProgrammingTagNotifier

public WemProgrammingTagNotifier(ITagListener listener)
Parameters:
listener -
Method Detail

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 extension
params - 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 extension
params - 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 macro
params - parameters of the macro
content - 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 macro
params - parameters of the macro
content - the content of the macro


Copyright © 2004–2015 XWiki. All rights reserved.