org.acm.seguin.summary
Class SummaryLoaderState

java.lang.Object
  extended by org.acm.seguin.summary.SummaryLoaderState

public class SummaryLoaderState
extends java.lang.Object

State of the summary loader visitor

Author:
Chris Seguin

Field Summary
static int IGNORE
          Tells the loader to ignore the structure - used only for counting
static int INITIALIZE
          Description of the Field
static int LOAD_CLASSBODY
          Description of the Field
static int LOAD_EXCEPTIONS
          Description of the Field
static int LOAD_FILE
          Description of the Field
static int LOAD_INTERFACE_LIST
          Description of the Field
static int LOAD_METHODBODY
          Description of the Field
static int LOAD_PARAMETERS
          Description of the Field
static int LOAD_TYPE
          Description of the Field
 
Constructor Summary
SummaryLoaderState()
          Create a summary loader state
 
Method Summary
 void finishSummary()
          Complete the current summary
 int getCode()
          Get the current code
 Summary getCurrentSummary()
          Get the current summary
 java.io.File getFile()
          Get the file
 void setCode(int next)
          Set the current code
 void setFile(java.io.File next)
          Set the current file
 void startSummary(Summary next)
          Set the current summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIALIZE

public static final int INITIALIZE
Description of the Field

See Also:
Constant Field Values

LOAD_FILE

public static final int LOAD_FILE
Description of the Field

See Also:
Constant Field Values

LOAD_TYPE

public static final int LOAD_TYPE
Description of the Field

See Also:
Constant Field Values

LOAD_CLASSBODY

public static final int LOAD_CLASSBODY
Description of the Field

See Also:
Constant Field Values

LOAD_INTERFACE_LIST

public static final int LOAD_INTERFACE_LIST
Description of the Field

See Also:
Constant Field Values

LOAD_EXCEPTIONS

public static final int LOAD_EXCEPTIONS
Description of the Field

See Also:
Constant Field Values

LOAD_PARAMETERS

public static final int LOAD_PARAMETERS
Description of the Field

See Also:
Constant Field Values

LOAD_METHODBODY

public static final int LOAD_METHODBODY
Description of the Field

See Also:
Constant Field Values

IGNORE

public static final int IGNORE
Tells the loader to ignore the structure - used only for counting

See Also:
Constant Field Values
Constructor Detail

SummaryLoaderState

public SummaryLoaderState()
Create a summary loader state

Method Detail

setFile

public void setFile(java.io.File next)
Set the current file

Parameters:
next - the new file

setCode

public void setCode(int next)
Set the current code

Parameters:
next - The next code

getCurrentSummary

public Summary getCurrentSummary()
Get the current summary

Returns:
the current summary

getFile

public java.io.File getFile()
Get the file

Returns:
the file

getCode

public int getCode()
Get the current code

Returns:
The code

startSummary

public void startSummary(Summary next)
Set the current summary

Parameters:
next - the new current summary

finishSummary

public void finishSummary()
Complete the current summary