public class CompareMaxModelTGEmitter extends java.lang.Object implements CompareMaxModelHelper.NodeEmitter
Modifier and Type | Class and Description |
---|---|
static class |
CompareMaxModelTGEmitter.ModelNumIDGenerator |
CompareMaxModelHelper.NodeEmitter.Result
INDEX_FIRST, INDEX_SHARED
Constructor and Description |
---|
CompareMaxModelTGEmitter(StreamingDataBuilder out) |
Modifier and Type | Method and Description |
---|---|
void |
beginChildren()
beginChild may be called after a beginNode IF the node has child nodes.
|
CompareMaxModelHelper.NodeEmitter.Result |
beginNode(int modelIndex,
IMXGanttModel model,
IMXActivity node,
boolean modified)
beginNode is called at least once for every node.
|
void |
endChildren()
endChildren is called to signify that all the children are processed for a given node heirarchy
|
void |
endNode(int modelIndex,
IMXGanttModel model,
IMXActivity node) |
public CompareMaxModelTGEmitter(StreamingDataBuilder out)
public CompareMaxModelHelper.NodeEmitter.Result beginNode(int modelIndex, IMXGanttModel model, IMXActivity node, boolean modified) throws java.io.IOException
CompareMaxModelHelper.NodeEmitter
beginNode
in interface CompareMaxModelHelper.NodeEmitter
modelIndex
- model index where 0 is a special shared index, and 1,2,3,... are model indexesCompareMaxModelHelper.NodeEmitter.Result
Will tell the process how it should proceedjava.io.IOException
public void endNode(int modelIndex, IMXGanttModel model, IMXActivity node) throws java.io.IOException
endNode
in interface CompareMaxModelHelper.NodeEmitter
java.io.IOException
public void beginChildren() throws java.io.IOException
CompareMaxModelHelper.NodeEmitter
beginChildren
in interface CompareMaxModelHelper.NodeEmitter
java.io.IOException
public void endChildren() throws java.io.IOException
CompareMaxModelHelper.NodeEmitter
endChildren
in interface CompareMaxModelHelper.NodeEmitter
java.io.IOException