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

Interface BlockParser

public interface BlockParser

Parse a twiki syntax block

Since: Nov 1, 2005

Author: Juan F. Codagnone

Method Summary
booleanaccept(String line)
Blockvisit(String line, ByLineSource source)

Method Detail

accept

public boolean accept(String line)

Parameters: line text line

Returns: true if this class can handle this line

visit

public Block visit(String line, ByLineSource source)

Parameters: line a line of text source the source of lines

Returns: a block

Throws: ParseException on error

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