public class WemSimpleBlockTagNotifier extends AbstractTagNotifier implements IWemListenerSimpleBlocks
EMPTY_MAP, fListenerDEFINITION_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 and Description |
|---|
WemSimpleBlockTagNotifier(ITagListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginInfoBlock(String infoType,
WikiParameters params)
This method is used to notify about the beginning of a "typed" paragraph.
|
void |
beginParagraph(WikiParameters params)
Begin of a simple paragraph.
|
void |
endInfoBlock(String infoType,
WikiParameters params)
This method is used to notify about the end of a "typed" paragraph.
|
void |
endParagraph(WikiParameters params)
End of a simple paragraph.
|
void |
onEmptyLines(int count)
This method is used to notify about a sequence of empty lines.
|
void |
onHorizontalLine(WikiParameters params)
This method notifies horizontal lines defined in the text.
|
void |
onVerbatimBlock(String str,
WikiParameters params)
This method notifies about a verbatim (pre-formatted) block defined in
the text
|
newParamMap, tagParams, tagParams, tagParams, tagParams, userParams, userParams, userParamspublic WemSimpleBlockTagNotifier(ITagListener listener)
listener - public void beginInfoBlock(String infoType, WikiParameters params)
IWemListenerSimpleBlocksbeginInfoBlock in interface IWemListenerSimpleBlocksinfoType - the "type" of the special blockparams - parameters of this blockIWemListenerSimpleBlocks.endInfoBlock(String, WikiParameters)public void beginParagraph(WikiParameters params)
IWemListenerSimpleBlocksbeginParagraph in interface IWemListenerSimpleBlocksparams - paragraph parametersIWemListenerSimpleBlocks.endParagraph(WikiParameters)public void endInfoBlock(String infoType, WikiParameters params)
IWemListenerSimpleBlocksendInfoBlock in interface IWemListenerSimpleBlocksinfoType - the "type" of the special blockparams - parameters of this blockIWemListenerSimpleBlocks.beginInfoBlock(String, WikiParameters)public void endParagraph(WikiParameters params)
IWemListenerSimpleBlocksendParagraph in interface IWemListenerSimpleBlocksparams - paragraph parametersIWemListenerSimpleBlocks.beginParagraph(WikiParameters)public void onEmptyLines(int count)
IWemListenerSimpleBlocksonEmptyLines in interface IWemListenerSimpleBlockscount - the number of empty lines found in the textpublic void onHorizontalLine(WikiParameters params)
IWemListenerSimpleBlocksonHorizontalLine in interface IWemListenerSimpleBlocksparams - parameters of the horizontal linepublic void onVerbatimBlock(String str, WikiParameters params)
IWemListenerSimpleBlocksonVerbatimBlock in interface IWemListenerSimpleBlocksstr - the content of the verbatim (pre-formatted) blockparams - parameters of the verbatim blockCopyright © 2004–2015 XWiki. All rights reserved.