ConForM.CoopnTools.CoKer.CoopnMgr
Class CoopnTypeAgg

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
        |
        +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElementList
              |
              +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTypeAgg
All Implemented Interfaces:
java.lang.Cloneable, CoopnSyntacticElement, java.io.Serializable

public class CoopnTypeAgg
extends CoopnElementList

Aggregates of coopn types.

See Also:
CoopnElement, Serialized Form

Fields inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElementList
elems
 
Constructor Summary
CoopnTypeAgg()
          Simple constructor.
CoopnTypeAgg(CoopnType type)
          Simple constructor with a first value.
 
Method Summary
 void add(CoopnType type)
           
 CoopnType[] elements()
           
 void merge(CoopnTypeAgg list)
           
 void remove(CoopnType type)
           
 ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement toCoco(CoopnSymbolTable table)
          CoCo conversion method.
 ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toCompleteText(CoopnSymbolTable table)
          Complete textual elements conversion method.
 ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toText()
          Textual elements conversion method.
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElementList
add, clone, contains, empty, equals, getElements, hashCode, interpret, merge, pureCOIL, pureCOOPN, remove, size, unmodifiableCopy
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
cloneCoopnElement, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteText, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toString, toString, toString, toTokens, toTokens, toTokens
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoopnTypeAgg

public CoopnTypeAgg()
Simple constructor.

CoopnTypeAgg

public CoopnTypeAgg(CoopnType type)
Simple constructor with a first value.
Method Detail

add

public void add(CoopnType type)

merge

public void merge(CoopnTypeAgg list)

remove

public void remove(CoopnType type)

elements

public CoopnType[] elements()

toText

public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toText()
Textual elements conversion method. Overrides the conversion of lists.
Overrides:
toText in class CoopnElement
Returns:
a CoopnTextExpression image.

toCompleteText

public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toCompleteText(CoopnSymbolTable table)
Complete textual elements conversion method. Overrides the conversion of lists.
Overrides:
toCompleteText in class CoopnElement
Parameters:
table - the symbol table used to generate symbol references
Returns:
a CoopnTextElementList image.

toCoco

public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement toCoco(CoopnSymbolTable table)
                                                                       throws java.lang.IllegalArgumentException
Description copied from class: CoopnElement
CoCo conversion method. Must be defined in the inherited classes. This routine convert an element into a string representing it in a CO-opn COnpact form.
Overrides:
toCoco in class CoopnElement
Following copied from class: ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
Parameters:
origin - the module which generated the Coco conversion
table - the symbol table used to generate symbol references
Returns:
a String image of the element.
Throws:
java.lang.IllegalArgumentException - A used symbol is not in the symbol table.