public class WemSimpleBlockTagNotifier extends AbstractTagNotifier implements IWemListenerSimpleBlocks
EMPTY_MAP, fListener
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 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, userParams
public WemSimpleBlockTagNotifier(ITagListener listener)
listener
- public void beginInfoBlock(String infoType, WikiParameters params)
IWemListenerSimpleBlocks
beginInfoBlock
in interface IWemListenerSimpleBlocks
infoType
- the "type" of the special blockparams
- parameters of this blockIWemListenerSimpleBlocks.endInfoBlock(String, WikiParameters)
public void beginParagraph(WikiParameters params)
IWemListenerSimpleBlocks
beginParagraph
in interface IWemListenerSimpleBlocks
params
- paragraph parametersIWemListenerSimpleBlocks.endParagraph(WikiParameters)
public void endInfoBlock(String infoType, WikiParameters params)
IWemListenerSimpleBlocks
endInfoBlock
in interface IWemListenerSimpleBlocks
infoType
- the "type" of the special blockparams
- parameters of this blockIWemListenerSimpleBlocks.beginInfoBlock(String, WikiParameters)
public void endParagraph(WikiParameters params)
IWemListenerSimpleBlocks
endParagraph
in interface IWemListenerSimpleBlocks
params
- paragraph parametersIWemListenerSimpleBlocks.beginParagraph(WikiParameters)
public void onEmptyLines(int count)
IWemListenerSimpleBlocks
onEmptyLines
in interface IWemListenerSimpleBlocks
count
- the number of empty lines found in the textpublic void onHorizontalLine(WikiParameters params)
IWemListenerSimpleBlocks
onHorizontalLine
in interface IWemListenerSimpleBlocks
params
- parameters of the horizontal linepublic void onVerbatimBlock(String str, WikiParameters params)
IWemListenerSimpleBlocks
onVerbatimBlock
in interface IWemListenerSimpleBlocks
str
- the content of the verbatim (pre-formatted) blockparams
- parameters of the verbatim blockCopyright © 2004–2017 XWiki. All rights reserved.