Package org.apache.wiki.parser.markdown
Class MarkdownParser
- java.lang.Object
-
- org.apache.wiki.parser.MarkupParser
-
- org.apache.wiki.parser.markdown.MarkdownParser
-
public class MarkdownParser extends MarkupParser
Class handling the markdown parsing.
-
-
Field Summary
-
Fields inherited from class org.apache.wiki.parser.MarkupParser
CLASS_ATTACHMENT, CLASS_EDITPAGE, CLASS_EXTERNAL, CLASS_FOOTNOTE, CLASS_FOOTNOTE_REF, CLASS_INTERWIKI, CLASS_TYPES, CLASS_WIKIPAGE, HASHLINK, m_attachmentLinkMutatorChain, m_context, m_engine, m_externalLinkMutatorChain, m_headingListenerChain, m_in, m_inlineImagePatterns, m_inlineImages, m_linkMutators, m_linkParsingOperations, m_localLinkMutatorChain, m_parseAccessRules, OUTLINK, OUTLINK_IMAGE, PROP_ALLOWHTML, PROP_CAMELCASELINKS, PROP_PLAINURIS, PROP_RUNPLUGINS, PROP_USEATTACHMENTIMAGE, PROP_USEOUTLINKIMAGE, PROP_USERELNOFOLLOW, PUSHBACK_BUFFER_SIZE
-
-
Constructor Summary
Constructors Constructor Description MarkdownParser(Context context, java.io.Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WikiDocument
parse()
Parses the document.-
Methods inherited from class org.apache.wiki.parser.MarkupParser
addAttachmentLinkHook, addExternalLinkHook, addHeadingListener, addLinkTransmutator, addLocalLinkHook, cleanLink, disableAccessRules, enableImageInlining, getInlineImagePatterns, getPosition, initInlineImagePatterns, isImageInlining, isParseAccessRules, makeError, nextToken, pushBack, setInputReader, wikifyLink
-
-
-
-
Constructor Detail
-
MarkdownParser
public MarkdownParser(Context context, java.io.Reader in)
-
-
Method Detail
-
parse
public WikiDocument parse() throws java.io.IOException
Parses the document.- Specified by:
parse
in classMarkupParser
- Returns:
- the parsed document, as a WikiDocument
- Throws:
java.io.IOException
- If something goes wrong.
-
-