@Role
@Unstable
public interface DocumentNormalizer
Modifier and Type | Method and Description |
---|---|
boolean |
normalize(com.xpn.xwiki.doc.XWikiDocument document,
org.xwiki.rendering.parser.Parser parser,
org.xwiki.rendering.renderer.BlockRenderer blockRenderer)
Normalize the given
XWikiDocument . |
boolean normalize(com.xpn.xwiki.doc.XWikiDocument document, org.xwiki.rendering.parser.Parser parser, org.xwiki.rendering.renderer.BlockRenderer blockRenderer) throws NormalizationException
XWikiDocument
.document
- the document to normalizeparser
- the parser to use for parsing the content to be normalizedblockRenderer
- the block renderer that will be used after the normalizationNormalizationException
- if an error happensCopyright © 2004–2021 XWiki Contrib. All rights reserved.