ConForM.CoopnTools.CoKer.CoalaMgr
Class CoalaSymbolList

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
        |
        +--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElementList
              |
              +--ConForM.CoopnTools.CoKer.CoalaMgr.CoalaSymbolList
All Implemented Interfaces:
java.lang.Cloneable, CoopnSyntacticElement, java.io.Serializable
Direct Known Subclasses:
CoalaField

public abstract class CoalaSymbolList
extends CoalaElementList

Coala elements. This class essentially defines lists of coala symbols, i.e. elements of the abstract syntax. This class should be extended by defining an empty constructor and methods for adding,merging and retrieving the elements of the list; these methods must be based on the two protected methods "addElement", "mergeElementList" and "getElement". In addition, it should be extended by defining the two methods "toText" and "toCompleteText"; these methods must be based on the protected methods "gettextElements" and "getCompleteTextElements". Lists of symbols are themselves elements; therefore, this class extends "CoopnElement". However, the management of lists is generic, and this class actually implements the abstract methods of class "CoopnElement", except the methods for converting the list into strings.

See Also:
CoalaElement, Serialized Form

Constructor Summary
CoalaSymbolList()
           
 
Method Summary
protected  ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement[] getCompleteTextElements(CoopnSymbolTable table)
          Get the complete textual elements of a list.
protected  ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement[] getTextElements()
          Get the textual elements of a list.
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElementList
addElement, clone, contains, empty, equals, getElements, hashCode, mergeElementList, size
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoalaMgr.CoalaElement
cloneCoalaElement, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteText, toCompleteText, toString, toString, toString, toText
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoalaSymbolList

public CoalaSymbolList()
Method Detail

getTextElements

protected ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement[] getTextElements()
Get the textual elements of a list. This method must be used by the actual lists for achieving their goal.
Returns:
an array of textual elements

getCompleteTextElements

protected ConForM.CoopnTools.CoKer.CoalaMgr.CoalaTextMgr.CoalaTextElement[] getCompleteTextElements(CoopnSymbolTable table)
Get the complete textual elements of a list. This method must be used by the actual lists for achieving their goal.
Returns:
an array of textual elements