org.webmacro.engine
Class TextParser

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

public class TextParser
extends java.lang.Object
implements Parser

This parser returns all the input as is


Constructor Summary
TextParser(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

TextParser

public TextParser(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


Copyright © 1999-2006 WebMacro. All Rights Reserved.