fr.paris5.shaman.spirit.logicsheet
Class CommandsBuilder

java.lang.Object
  |
  +--fr.paris5.shaman.spirit.logicsheet.CommandsBuilder
All Implemented Interfaces:
CommandConstants

public class CommandsBuilder
extends java.lang.Object
implements CommandConstants

Builds a list of "commands" which can be accessed with a CommandsReader.

Version:
$Id: CommandsBuilder.java,v 1.1 2002/06/25 08:33:10 caillette Exp $
Author:
Laurent Caillette

Field Summary
private static int COMMAND_ARRAY_SIZE_INCREMENT
           
private  java.lang.Object[] commands
           
private  int position
           
 
Fields inherited from interface fr.paris5.shaman.spirit.logicsheet.CommandConstants
END_COMMAND, EPILOGUE_COMMAND, PROLOGUE_COMMAND
 
Constructor Summary
CommandsBuilder()
           
 
Method Summary
private  void addCommand(java.lang.Object command)
           
 void addEnd()
           
 void addEpilogue()
           
 void addItem(java.lang.Object item)
           
 void addPrologue()
           
 CommandsReader getReader()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

COMMAND_ARRAY_SIZE_INCREMENT

private static final int COMMAND_ARRAY_SIZE_INCREMENT

commands

private java.lang.Object[] commands

position

private int position
Constructor Detail

CommandsBuilder

public CommandsBuilder()
Method Detail

addPrologue

public void addPrologue()

addEnd

public void addEnd()

addItem

public void addItem(java.lang.Object item)

addEpilogue

public void addEpilogue()

getReader

public CommandsReader getReader()

addCommand

private void addCommand(java.lang.Object command)


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.