public class WemDocumentTagNotifier extends AbstractTagNotifier implements IWemListenerDocument
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 |
|---|
WemDocumentTagNotifier(ITagListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginDocument(WikiParameters params)
This method is called to notify about the beginning of the top-level parsed document or about the beginning of an
embedded document (contained in the main one).
|
void |
beginHeader(int headerLevel,
WikiParameters params)
This method is called to notify about a new section header found in the document.
|
void |
beginSection(int docLevel,
int headerLevel,
WikiParameters params)
This method is used to notify about the beginning of a section.
|
void |
beginSectionContent(int docLevel,
int headerLevel,
WikiParameters params)
This method is used to notify about the beginning of a section.
|
void |
endDocument(WikiParameters params)
This method is used to notify about the end of a top-level or an internal document.
|
void |
endHeader(int headerLevel,
WikiParameters params)
This method is called to notify about the end of a section-level header.
|
void |
endSection(int docLevel,
int headerLevel,
WikiParameters params)
This method is used to notify about the end of a document section.
|
void |
endSectionContent(int docLevel,
int headerLevel,
WikiParameters params)
This method is used to notify about the end of a document section.
|
newParamMap, tagParams, tagParams, tagParams, tagParams, userParams, userParams, userParamspublic WemDocumentTagNotifier(ITagListener listener)
listener - public void beginDocument(WikiParameters params)
IWemListenerDocumentbeginDocument in interface IWemListenerDocumentparams - the list of parameters for this eventpublic void beginHeader(int headerLevel,
WikiParameters params)
IWemListenerDocumentbeginHeader in interface IWemListenerDocumentheaderLevel - the level of the found header; valid values: 1-6params - the list of parameters for this eventpublic void beginSection(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentbeginSection in interface IWemListenerDocumentdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - the list of parameters for this eventpublic void beginSectionContent(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentbeginSectionContent in interface IWemListenerDocumentdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - the list of parameters for this eventpublic void endDocument(WikiParameters params)
IWemListenerDocumentendDocument in interface IWemListenerDocumentparams - the list of parameters for this eventpublic void endHeader(int headerLevel,
WikiParameters params)
IWemListenerDocumentendHeader in interface IWemListenerDocumentheaderLevel - the level of the headerparams - the list of parameters for this eventpublic void endSection(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentendSection in interface IWemListenerDocumentdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - the list of parameters for this eventpublic void endSectionContent(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentendSectionContent in interface IWemListenerDocumentdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - the list of parameters for this eventCopyright © 2004–2016 XWiki. All rights reserved.