org.apache.maven.doxia.module.confluence.parser
Interface BlockParser

All Known Implementing Classes:
DefinitionListBlockParser, FigureBlockParser, HorizontalRuleBlockParser, ListBlockParser, ParagraphBlockParser, SectionBlockParser, TableBlockParser, VerbatimBlockParser

public interface BlockParser

BlockParser interface.

Version:
$Id: BlockParser.java 785531 2009-06-17 09:47:59Z ltheussl $

Method Summary
 boolean accept(String line, ByLineSource source)
          accept.
 Block visit(String line, ByLineSource source)
          visit.
 

Method Detail

accept

boolean accept(String line,
               ByLineSource source)
accept.

Parameters:
line - the line.
source - the source.
Returns:
boolean true if valid.

visit

Block visit(String line,
            ByLineSource source)
            throws ParseException
visit.

Parameters:
line - the line.
source - the source.
Returns:
boolean true if valid.
Throws:
ParseException - if any.


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.