bpp
Class BeanshellDecoratorFilter

java.lang.Object
  extended bybpp.DecoratorFilter
      extended bybpp.PreprocessorDecoratorFilter
          extended bybpp.BeanshellDecoratorFilter
All Implemented Interfaces:
Filter

public class BeanshellDecoratorFilter
extends PreprocessorDecoratorFilter

This is used by the BPFilter for the decorating stages of filtering.



The Beanshell Preprocessor
Copyright (C) 2003-2004 Warren D. MacEvoy jr.


Field Summary
 
Fields inherited from class bpp.PreprocessorDecoratorFilter
defaultCmd, depth, echoChar, exactCmd, magicCmd, magicIdentifier
 
Constructor Summary
BeanshellDecoratorFilter(int _depth, int _blankLines)
           
 
Method Summary
 void begin(java.io.PrintWriter out)
           
 void echo(java.lang.String line, java.io.PrintWriter out)
           
 void exact(java.lang.String line, java.io.PrintWriter out)
           
 void exception(java.lang.Exception e)
           
 int getLine()
           
 void magic(java.lang.String line, java.io.PrintWriter out)
           
 
Methods inherited from class bpp.PreprocessorDecoratorFilter
decorate, getDefaultCommand, getDepth, getEchoCommmand, getExactCommmand, getMagicCommmand, hasMagic
 
Methods inherited from class bpp.DecoratorFilter
end, filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanshellDecoratorFilter

public BeanshellDecoratorFilter(int _depth,
                                int _blankLines)
Method Detail

getLine

public int getLine()

begin

public void begin(java.io.PrintWriter out)
           throws java.io.IOException
Overrides:
begin in class DecoratorFilter
Throws:
java.io.IOException

exact

public void exact(java.lang.String line,
                  java.io.PrintWriter out)
           throws java.io.IOException
Specified by:
exact in class PreprocessorDecoratorFilter
Throws:
java.io.IOException

magic

public void magic(java.lang.String line,
                  java.io.PrintWriter out)
           throws java.io.IOException
Specified by:
magic in class PreprocessorDecoratorFilter
Throws:
java.io.IOException

echo

public void echo(java.lang.String line,
                 java.io.PrintWriter out)
          throws java.io.IOException
Overrides:
echo in class PreprocessorDecoratorFilter
Throws:
java.io.IOException

exception

public void exception(java.lang.Exception e)