Class Generator.GenBuffer

java.lang.Object
org.apache.jasper.compiler.Generator.GenBuffer
Enclosing class:
Generator

private static class Generator.GenBuffer extends Object
A class for generating codes to a buffer. Included here are some support for tracking source to Java lines mapping.
  • Field Details

  • Constructor Details

  • Method Details

    • getOut

      public ServletWriter getOut()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • adjustJavaLines

      public void adjustJavaLines(int offset)
      Adjust the Java Lines. This is necessary because the Java lines stored with the nodes are relative the beginning of this buffer and need to be adjusted when this buffer is inserted into the source.
    • adjustJavaLine

      private static void adjustJavaLine(Node n, int offset)