com.bowstreet.webapp
Interface Initializer

All Superinterfaces:
ClassItem

public interface Initializer
extends ClassItem

Interface to represent a static initializer.


Method Summary
 void addLine(java.lang.String line)
          Helper method to add a line to the method body.
 java.lang.String getBody()
          Gets the method body.
 void setBody(java.lang.String body)
          Sets the method body.
 
Methods inherited from interface com.bowstreet.webapp.ClassItem
getComment, getModifier, isGenerated, setComment, setGenerated, write
 

Method Detail

addLine

void addLine(java.lang.String line)
Helper method to add a line to the method body.

Parameters:
line - The lide to add to the method body.

getBody

java.lang.String getBody()
Gets the method body.

Returns:
The method body.

setBody

void setBody(java.lang.String body)
Sets the method body.

Parameters:
body - The method body


Copyright © 2009 IBM. All Rights Reserved.