private void genCommonPostamble(){
  for (int i=0; i < methodsBuffered.size(); i++) {
    GenBuffer methodBuffer=methodsBuffered.get(i);
    methodBuffer.adjustJavaLines(out.getJavaLine() - 1);
    out.printMultiLn(methodBuffer.toString());
  }
  if (fragmentHelperClass.isUsed()) {
    fragmentHelperClass.generatePostamble();
    fragmentHelperClass.adjustJavaLines(out.getJavaLine() - 1);
    out.printMultiLn(fragmentHelperClass.toString());
  }
  if (arrayBuffer != null) {
    out.printMultiLn(arrayBuffer.toString());
  }
  out.popIndent();
  out.printil("}");
}

private void genCommonPostamble ( ) { for ( int i = 0 ; i < methodsBuffered . size ( ) ; i ++ ) { GenBuffer methodBuffer = methodsBuffered . get ( i ) ; methodBuffer . adjustJavaLines ( out . getJavaLine ( ) - 1 ) ; out . printMultiLn ( methodBuffer . toString ( ) ) ; } if ( fragmentHelperClass . isUsed ( ) ) { fragmentHelperClass . generatePostamble ( ) ; fragmentHelperClass . adjustJavaLines ( out . getJavaLine ( ) - 1 ) ; out . printMultiLn ( fragmentHelperClass . toString ( ) ) ; } if ( arrayBuffer != null ) { out . printMultiLn ( arrayBuffer . toString ( ) ) ; } out . popIndent ( ) ; out . printil ( "}" ) ; }
common part of postamble , shared by both servlets and tag files .
