public static class ConfluenceExtendedWikiParser.EnhancedListener extends CompositeListener
| Constructor and Description |
|---|
ConfluenceExtendedWikiParser.EnhancedListener(IWemListener... listeners) |
| 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 |
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 |
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.
|
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.
|
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginFormat, beginHeader, beginInfoBlock, beginList, beginListItem, beginParagraph, beginPropertyBlock, beginPropertyInline, beginQuotation, beginQuotationLine, beginTable, beginTableCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endFormat, endHeader, endInfoBlock, endList, endListItem, endParagraph, endPropertyBlock, endPropertyInline, endQuotation, endQuotationLine, endTable, endTableCell, endTableRow, onEmptyLines, onEscape, onExtensionBlock, onExtensionInline, onHorizontalLine, onImage, onImage, onLineBreak, onMacroInline, onNewLine, onReference, onReference, onSpace, onSpecialSymbol, onTableCaption, onVerbatimBlock, onVerbatimInline, onWordpublic ConfluenceExtendedWikiParser.EnhancedListener(IWemListener... listeners)
public void beginDocument(WikiParameters params)
IWemListenerDocumentbeginDocument in interface IWemListenerDocumentbeginDocument in class CompositeListenerIWemListenerDocument.beginDocument(WikiParameters)public void beginSection(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentbeginSection in interface IWemListenerDocumentbeginSection in class CompositeListenerdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - parameters parameters of the document or the headerIWemListenerDocument.beginSection(int, int,
WikiParameters)public void beginSectionContent(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentbeginSectionContent in interface IWemListenerDocumentbeginSectionContent in class CompositeListenerdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - parameters parameters of the document or the headerIWemListenerDocument.beginSectionContent(int, int,
WikiParameters)public void endDocument(WikiParameters params)
IWemListenerDocumentendDocument in interface IWemListenerDocumentendDocument in class CompositeListenerIWemListenerDocument.endDocument(WikiParameters)public void endSection(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentendSection in interface IWemListenerDocumentendSection in class CompositeListenerdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - parameters parameters of the document or the headerIWemListenerDocument.endSection(int, int,
WikiParameters)public void endSectionContent(int docLevel,
int headerLevel,
WikiParameters params)
IWemListenerDocumentendSectionContent in interface IWemListenerDocumentendSectionContent in class CompositeListenerdocLevel - the level (depth) of the document containing this sectionheaderLevel - the level of the header defining this sectionparams - parameters parameters of the document or the headerIWemListenerDocument.endSectionContent(int, int,
WikiParameters)public void onMacroBlock(String macroName, WikiParameters params, String content)
IWemListenerProgrammingonMacroBlock in interface IWemListenerProgrammingonMacroBlock in class CompositeListenermacroName - the name of the macroparams - parameters of the macrocontent - the content of the macroCopyright © 2004–2015 XWiki. All rights reserved.