JSPTemplates

org.tp23.jasper.compiler
Class ScriptletGenerator

java.lang.Object
  |
  +--org.tp23.jasper.compiler.GeneratorBase
        |
        +--org.tp23.jasper.compiler.ScriptletGenerator
All Implemented Interfaces:
Generator, ServiceMethodPhase

public class ScriptletGenerator
extends org.tp23.jasper.compiler.GeneratorBase
implements ServiceMethodPhase

Generator for <% .... %> stuff.

Author:
Anil K. Vijendran, Paul Hinds

Field Summary
protected  JspCompilationContext ctxt
           
 
Constructor Summary
ScriptletGenerator(char[] chars)
           
 
Method Summary
 void generate(ServletWriter writer, java.lang.Class phase)
           
 boolean generateCoordinates(java.lang.Class phase)
           
 void init(JspCompilationContext ctxt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctxt

protected JspCompilationContext ctxt
Constructor Detail

ScriptletGenerator

public ScriptletGenerator(char[] chars)
Method Detail

generate

public void generate(ServletWriter writer,
                     java.lang.Class phase)

init

public void init(JspCompilationContext ctxt)
          throws JasperException
Specified by:
init in interface Generator

generateCoordinates

public boolean generateCoordinates(java.lang.Class phase)
Specified by:
generateCoordinates in interface Generator

JSPTemplates