org.apache.maven.doxia.module.twiki.parser

Class ParagraphBlockParser

public class ParagraphBlockParser extends Object implements BlockParser

Parse paragraphs.

Since: Nov 1, 2005

Author: Juan F. Codagnone

Method Summary
booleanaccept(String line)
voidsetHrulerParser(HRuleBlockParser hrulerParser)
Sets the hrulerParser.
voidsetListParser(GenericListBlockParser listParser)
Sets the listParser.
voidsetSectionParser(SectionBlockParser sectionParser)
Sets the sectionParser.
voidsetTableBlockParser(TableBlockParser tableBlockParser)
voidsetTextParser(FormatedTextParser textParser)
Sets the formatTextParser.
Blockvisit(String line, ByLineSource source)

Method Detail

accept

public final boolean accept(String line)

See Also: accept

setHrulerParser

public final void setHrulerParser(HRuleBlockParser hrulerParser)
Sets the hrulerParser.

Parameters: hrulerParser HRuleBlockParser with the hrulerParser.

setListParser

public final void setListParser(GenericListBlockParser listParser)
Sets the listParser.

Parameters: listParser ListBlockParser with the listParser.

setSectionParser

public final void setSectionParser(SectionBlockParser sectionParser)
Sets the sectionParser.

Parameters: sectionParser SectionBlockParser with the sectionParser.

setTableBlockParser

public final void setTableBlockParser(TableBlockParser tableBlockParser)

Parameters: tableBlockParser Table parser to use

setTextParser

public final void setTextParser(FormatedTextParser textParser)
Sets the formatTextParser.

Parameters: textParser FormatedTextParser with the formatTextParser.

visit

public final Block visit(String line, ByLineSource source)

See Also: BlockParser

Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.