JSPTemplates

org.tp23.jasper.compiler
Class MappedCharDataGenerator

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

public class MappedCharDataGenerator
extends CharDataGenerator

CharDataGenerator generates the character data present in the JSP file. Typically this is HTML which lands up as strings in out.println(...). This generator will print the HTML line-by-line. This is a feature desired by lots of tool vendors.

Author:
Mandar Raje, Paul Hinds

Fields inherited from class org.tp23.jasper.compiler.CharDataGenerator
ctxt
 
Constructor Summary
MappedCharDataGenerator(char[] chars)
           
 
Method Summary
 void generate(ServletWriter writer, java.lang.Class phase)
           
 
Methods inherited from class org.tp23.jasper.compiler.CharDataGenerator
generateCoordinates, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappedCharDataGenerator

public MappedCharDataGenerator(char[] chars)
Method Detail

generate

public void generate(ServletWriter writer,
                     java.lang.Class phase)
Overrides:
generate in class CharDataGenerator

JSPTemplates