org.jamon.codegen
Class FlowControlBlock

java.lang.Object
  extended by org.jamon.codegen.AbstractStatementBlock
      extended by org.jamon.codegen.FlowControlBlock
All Implemented Interfaces:
Statement, StatementBlock

public class FlowControlBlock
extends AbstractStatementBlock
implements Statement


Constructor Summary
FlowControlBlock(StatementBlock p_parent, java.lang.String p_header, org.jamon.api.Location p_location)
           
 
Method Summary
 void generateSource(CodeWriter p_writer, TemplateDescriber p_describer)
          Generate the java source corresponding to this statement, emitting the code to the specified writer.
protected  void printOpening(CodeWriter p_writer)
           
 
Methods inherited from class org.jamon.codegen.AbstractStatementBlock
addFragment, addOptionalArg, addRequiredArg, addStatement, canThrowIOException, getFragmentUnitIntf, getLocation, getParent, getParentUnit, getStatements, printStatements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowControlBlock

public FlowControlBlock(StatementBlock p_parent,
                        java.lang.String p_header,
                        org.jamon.api.Location p_location)
Method Detail

printOpening

protected void printOpening(CodeWriter p_writer)

generateSource

public void generateSource(CodeWriter p_writer,
                           TemplateDescriber p_describer)
                    throws ParserErrorImpl
Description copied from interface: Statement
Generate the java source corresponding to this statement, emitting the code to the specified writer.

Specified by:
generateSource in interface Statement
Parameters:
p_writer - where to emit the java source
p_describer - the TemplateDescriber to use
Throws:
ParserErrorImpl


jamon