Package org.xwiki.rendering.listener
Class InlineFilterListener
- java.lang.Object
-
- org.xwiki.rendering.listener.WrappingListener
-
- org.xwiki.rendering.listener.InlineFilterListener
-
- All Implemented Interfaces:
ImageListener
,LinkListener
,Listener
public class InlineFilterListener extends WrappingListener
Wrap a listener and skip begin/endDocument events.- Since:
- 3.0M3
- Version:
- $Id: 008ec12669c8298c57248b366a8286cc5ba4d75e $
-
-
Field Summary
-
Fields inherited from interface org.xwiki.rendering.listener.Listener
EMPTY_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description InlineFilterListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginDocument(MetaData metadata)
Start of the document.void
beginParagraph(Map<String,String> parameters)
Start of a paragraph.void
beginSection(Map<String,String> parameters)
Start of a section.void
endDocument(MetaData metadata)
End of the document.void
endParagraph(Map<String,String> parameters)
End of a paragraph.void
endSection(Map<String,String> parameters)
End of a section.-
Methods inherited from class org.xwiki.rendering.listener.WrappingListener
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginFigure, beginFigureCaption, beginFormat, beginGroup, beginHeader, beginLink, beginList, beginListItem, beginListItem, beginMacroMarker, beginMetaData, beginQuotation, beginQuotationLine, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endFigure, endFigureCaption, endFormat, endGroup, endHeader, endLink, endList, endListItem, endListItem, endMacroMarker, endMetaData, endQuotation, endQuotationLine, endTable, endTableCell, endTableHeadCell, endTableRow, getWrappedListener, onEmptyLines, onHorizontalLine, onId, onImage, onImage, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord, setWrappedListener
-
-
-
-
Method Detail
-
beginDocument
public void beginDocument(MetaData metadata)
Description copied from interface:Listener
Start of the document.- Specified by:
beginDocument
in interfaceListener
- Overrides:
beginDocument
in classWrappingListener
- Parameters:
metadata
- the meta data to associate to the following events, seeMetaData
-
endDocument
public void endDocument(MetaData metadata)
Description copied from interface:Listener
End of the document.- Specified by:
endDocument
in interfaceListener
- Overrides:
endDocument
in classWrappingListener
- Parameters:
metadata
- the meta data associated with the previous events, seeMetaData
-
beginSection
public void beginSection(Map<String,String> parameters)
Description copied from interface:Listener
Start of a section.- Specified by:
beginSection
in interfaceListener
- Overrides:
beginSection
in classWrappingListener
- Parameters:
parameters
- a generic list of parameters. Example: style="background-color: blue"- See Also:
HeaderLevel
-
endSection
public void endSection(Map<String,String> parameters)
Description copied from interface:Listener
End of a section.- Specified by:
endSection
in interfaceListener
- Overrides:
endSection
in classWrappingListener
- Parameters:
parameters
- a generic list of parameters. Example: style="background-color: blue"- See Also:
HeaderLevel
-
beginParagraph
public void beginParagraph(Map<String,String> parameters)
Description copied from interface:Listener
Start of a paragraph.- Specified by:
beginParagraph
in interfaceListener
- Overrides:
beginParagraph
in classWrappingListener
- Parameters:
parameters
- a generic list of parameters. Example: style="background-color: blue"
-
endParagraph
public void endParagraph(Map<String,String> parameters)
Description copied from interface:Listener
End of a paragraph.- Specified by:
endParagraph
in interfaceListener
- Overrides:
endParagraph
in classWrappingListener
- Parameters:
parameters
- a generic list of parameters. Example: style="background-color: blue"
-
-