org.apache.maven.doxia.module.confluence.parser
Class DefinitionListBlockParser

java.lang.Object
  extended by org.apache.maven.doxia.module.confluence.parser.DefinitionListBlockParser
All Implemented Interfaces:
BlockParser

public class DefinitionListBlockParser
extends Object
implements BlockParser

DefinitionListBlockParser class.

Since:
1.1
Version:
$Id: DefinitionListBlockParser.java 746983 2009-02-23 12:28:41Z vsiveton $
Author:
Dave Syer

Constructor Summary
DefinitionListBlockParser()
           
 
Method Summary
 boolean accept(String line, ByLineSource source)
          accept.
 Block visit(String line, ByLineSource source)
          visit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefinitionListBlockParser

public DefinitionListBlockParser()
Method Detail

accept

public boolean accept(String line,
                      ByLineSource source)
accept.

Specified by:
accept in interface BlockParser
Parameters:
line - the line.
source - the source.
Returns:
boolean true if valid.

visit

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

Specified by:
visit in interface BlockParser
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.