fr.paris5.shaman.spirit.logicsheet
Class CommandsReader

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

public class CommandsReader
extends java.lang.Object
implements CommandConstants

Access to a list of "commands" built from a tree by a CommandsBuilder.

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

Field Summary
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
(package private) CommandsReader(java.lang.Object[] commands)
           
 
Method Summary
 void consume()
           
 java.lang.Object getItem()
           
 boolean isEmpty()
           
 boolean isEnd()
           
 boolean isEpilogue()
           
 boolean isItem()
           
 boolean isPrologue()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

commands

private final java.lang.Object[] commands

position

private int position
Constructor Detail

CommandsReader

CommandsReader(java.lang.Object[] commands)
Method Detail

isEmpty

public boolean isEmpty()

isPrologue

public boolean isPrologue()

isItem

public boolean isItem()

getItem

public java.lang.Object getItem()

isEnd

public boolean isEnd()

isEpilogue

public boolean isEpilogue()

consume

public void consume()


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