org.xwiki.rendering.internal.macro.html
Class HTMLMacroXHTMLRenderer

java.lang.Object
  extended by org.xwiki.rendering.listener.chaining.AbstractChainingListener
      extended by org.xwiki.rendering.renderer.AbstractChainingPrintRenderer
          extended by org.xwiki.rendering.internal.macro.html.HTMLMacroXHTMLRenderer
All Implemented Interfaces:
org.xwiki.component.phase.Initializable, ChainingListener, ImageListener, LinkListener, Listener, PrintRenderer, Renderer

@Component(value="xhtmlmacro/1.0")
@InstantiationStrategy(value=PER_LOOKUP)
public class HTMLMacroXHTMLRenderer
extends AbstractChainingPrintRenderer
implements org.xwiki.component.phase.Initializable

Renderer that generates XHTML from a XDOM resulting from the parsing of text containing HTML mixed with wiki syntax. We override the default XHTML renderer since we want special behaviors, for example to not escape special symbols (since we don't want to escape HTML tags for example).

Since:
1.8.3
Version:
$Id $

Field Summary
 
Fields inherited from interface org.xwiki.rendering.listener.Listener
EMPTY_PARAMETERS
 
Constructor Summary
HTMLMacroXHTMLRenderer()
           
 
Method Summary
 void initialize()
          
 
Methods inherited from class org.xwiki.rendering.renderer.AbstractChainingPrintRenderer
getMainPrinter, getPrinter, popPrinter, pushPrinter, setPrinter
 
Methods inherited from class org.xwiki.rendering.listener.chaining.AbstractChainingListener
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginDocument, beginFormat, beginGroup, beginHeader, beginLink, beginList, beginListItem, beginMacroMarker, beginMetaData, beginParagraph, beginQuotation, beginQuotationLine, beginSection, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endDocument, endFormat, endGroup, endHeader, endLink, endList, endListItem, endMacroMarker, endMetaData, endParagraph, endQuotation, endQuotationLine, endSection, endTable, endTableCell, endTableHeadCell, endTableRow, getListenerChain, onEmptyLines, onHorizontalLine, onId, onImage, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord, setListenerChain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xwiki.rendering.listener.Listener
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginDocument, beginFormat, beginGroup, beginHeader, beginList, beginListItem, beginMacroMarker, beginMetaData, beginParagraph, beginQuotation, beginQuotationLine, beginSection, beginTable, beginTableCell, beginTableHeadCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endDocument, endFormat, endGroup, endHeader, endList, endListItem, endMacroMarker, endMetaData, endParagraph, endQuotation, endQuotationLine, endSection, endTable, endTableCell, endTableHeadCell, endTableRow, onEmptyLines, onHorizontalLine, onId, onMacro, onNewLine, onRawText, onSpace, onSpecialSymbol, onVerbatim, onWord
 
Methods inherited from interface org.xwiki.rendering.listener.LinkListener
beginLink, endLink
 
Methods inherited from interface org.xwiki.rendering.listener.ImageListener
onImage
 

Constructor Detail

HTMLMacroXHTMLRenderer

public HTMLMacroXHTMLRenderer()
Method Detail

initialize

public void initialize()
                throws org.xwiki.component.phase.InitializationException

Specified by:
initialize in interface org.xwiki.component.phase.Initializable
Throws:
org.xwiki.component.phase.InitializationException
Since:
2.0M3
See Also:
Initializable.initialize()


Copyright © 2004-2011 XWiki. All Rights Reserved.