public class XhtmlParser extends Object implements IWikiParser
Constructor and Description |
---|
XhtmlParser() |
Modifier and Type | Method and Description |
---|---|
DefaultHandler |
getHandler(IWemListener listener) |
boolean |
isNamespacesEnabled() |
void |
parse(Reader reader,
IWemListener listener) |
void |
setCommentHandler(CommentHandler commentHandler) |
void |
setExtraHandlers(Map<String,TagHandler> extraHandlers) |
void |
setNamespacesEnabled(boolean namespacesEnabled) |
void |
setXmlReader(XMLReader xmlReader) |
public boolean isNamespacesEnabled()
public void setNamespacesEnabled(boolean namespacesEnabled)
public void setExtraHandlers(Map<String,TagHandler> extraHandlers)
public void setCommentHandler(CommentHandler commentHandler)
public void setXmlReader(XMLReader xmlReader)
public DefaultHandler getHandler(IWemListener listener)
listener
- the listener object wich will be used to report about all
structural elements on the wiki page.public void parse(Reader reader, IWemListener listener) throws WikiParserException
parse
in interface IWikiParser
WikiParserException
IWikiParser.parse(java.io.Reader,
org.xwiki.rendering.wikimodel.IWemListener)
Copyright © 2004–2021 XWiki. All rights reserved.