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

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

public class VerbatimBlockParser
extends Object
implements BlockParser

VerbatimBlockParser class.

Version:
$Id: VerbatimBlockParser.java 1438269 2013-01-24 23:47:50Z olamy $
Author:
Jason van Zyl

Constructor Summary
VerbatimBlockParser()
           
 
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

VerbatimBlockParser

public VerbatimBlockParser()
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-2013 The Apache Software Foundation. All Rights Reserved.