com.ashridgetech.jamda.test
Class TestMethodCoderFactory.Coder

java.lang.Object
  |
  +--com.ashridgetech.jamda.code.CodeWriter
        |
        +--com.ashridgetech.jamda.code.JavaWriter
              |
              +--com.ashridgetech.jamda.code.MethodCoder
                    |
                    +--com.ashridgetech.jamda.test.TestMethodCoderFactory.Coder
Enclosing class:
TestMethodCoderFactory

public class TestMethodCoderFactory.Coder
extends MethodCoder

Method coder for testing


Field Summary
 
Fields inherited from class com.ashridgetech.jamda.code.CodeWriter
underlyingWriter
 
Method Summary
 void codeBody()
          Must be implemented by subclasses to write the method body statements.
 java.lang.String getCode()
          Additional function so can identify the coder
 
Methods inherited from class com.ashridgetech.jamda.code.MethodCoder
generate, getClassGenerator, getOperation, getParameters, getReturnType
 
Methods inherited from class com.ashridgetech.jamda.code.JavaWriter
beginComment, commentLine, endComment, endStmt, stmt, writeModifiers
 
Methods inherited from class com.ashridgetech.jamda.code.CodeWriter
begin, commaDoubleList, commaList, copyNoIndent, copyWithIndent, end, end, endLine, flush, getWriter, in, line, newline, newline, out, quote, space, spaceWrite, spaceWrite, spaceWrite, startLine, startLine, write, write, write, writeSpace, writeSpace, writeSpace, writeSpaced, writeSpaced, writeSpaced
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

codeBody

public void codeBody()
Description copied from class: MethodCoder
Must be implemented by subclasses to write the method body statements. The implementation can use any of the methods of JavaWriter.

Specified by:
codeBody in class MethodCoder

getCode

public java.lang.String getCode()
Additional function so can identify the coder



Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.