org.webmacro.engine
Class NullParser

java.lang.Object
  extended byorg.webmacro.engine.NullParser
All Implemented Interfaces:
Parser

public class NullParser
extends java.lang.Object
implements Parser

This parser eats all of the input and returns nothing.


Constructor Summary
NullParser(Broker broker)
           
 
Method Summary
 BlockBuilder parseBlock(java.lang.String name, java.io.Reader in)
          Parse the input in ParseTool as far as the grammar for this parser allows, but no farther.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullParser

public NullParser(Broker broker)
Method Detail

parseBlock

public BlockBuilder parseBlock(java.lang.String name,
                               java.io.Reader in)
                        throws ParseException,
                               java.io.IOException
Description copied from interface: Parser
Parse the input in ParseTool as far as the grammar for this parser allows, but no farther.

Specified by:
parseBlock in interface Parser
Throws:
ParseException
java.io.IOException