bpp
Class PreprocessorDecoratorFilter

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

public abstract class PreprocessorDecoratorFilter
extends DecoratorFilter


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

Field Detail

echoChar

protected char echoChar

exactCmd

protected char exactCmd

magicCmd

protected char magicCmd

defaultCmd

protected char defaultCmd

magicIdentifier

protected char magicIdentifier

depth

protected int depth
Constructor Detail

PreprocessorDecoratorFilter

public PreprocessorDecoratorFilter(int _depth)
Method Detail

getEchoCommmand

public char getEchoCommmand()

getExactCommmand

public char getExactCommmand()

getMagicCommmand

public char getMagicCommmand()

getDefaultCommand

public char getDefaultCommand()

getDepth

public int getDepth()

decorate

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

echo

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

hasMagic

public boolean hasMagic(java.lang.String line)

exact

public abstract void exact(java.lang.String line,
                           java.io.PrintWriter out)
                    throws java.io.IOException
Throws:
java.io.IOException

magic

public abstract void magic(java.lang.String line,
                           java.io.PrintWriter out)
                    throws java.io.IOException
Throws:
java.io.IOException