org.xwiki.rendering.listener
Class InlineFilterListener

java.lang.Object
  extended by org.xwiki.rendering.listener.WrappingListener
      extended by 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

Field Summary
 
Fields inherited from interface org.xwiki.rendering.listener.Listener
EMPTY_PARAMETERS
 
Constructor Summary
InlineFilterListener()
           
 
Method Summary
 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, beginFormat, beginGroup, beginHeader, beginLink, beginList, beginListItem, beginMacroMarker, beginMetaData, beginQuotation, beginQuotationLine, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endFormat, endGroup, endHeader, endLink, endList, endListItem, endMacroMarker, endMetaData, endQuotation, endQuotationLine, endTable, endTableCell, endTableHeadCell, endTableRow, getWrappedListener, onEmptyLines, onHorizontalLine, onId, onImage, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord, setWrappedListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineFilterListener

public InlineFilterListener()
Method Detail

beginDocument

public void beginDocument(MetaData metaData)
Description copied from interface: Listener
Start of the document.

Specified by:
beginDocument in interface Listener
Overrides:
beginDocument in class WrappingListener
Parameters:
metaData - the meta data to associate to the following events, see MetaData

endDocument

public void endDocument(MetaData metaData)
Description copied from interface: Listener
End of the document.

Specified by:
endDocument in interface Listener
Overrides:
endDocument in class WrappingListener
Parameters:
metaData - the meta data associated with the previous events, see MetaData

beginSection

public void beginSection(Map<String,String> parameters)
Description copied from interface: Listener
Start of a section.

Specified by:
beginSection in interface Listener
Overrides:
beginSection in class WrappingListener
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 interface Listener
Overrides:
endSection in class WrappingListener
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 interface Listener
Overrides:
beginParagraph in class WrappingListener
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 interface Listener
Overrides:
endParagraph in class WrappingListener
Parameters:
parameters - a generic list of parameters. Example: style="background-color: blue"