public class CompareMaxResourceHoursModelTGEmitter extends java.lang.Object implements CompareMaxResourceModelHelper.NodeEmitter
CompareMaxResourceModelHelper.NodeEmitter.Result
INDEX_FIRST, INDEX_SHARED
Constructor and Description |
---|
CompareMaxResourceHoursModelTGEmitter(StreamingDataBuilder out,
UserInfo userInfo,
UIOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
beginChildren()
beginChild may be called after a beginNode IF the node has child nodes.
|
CompareMaxResourceModelHelper.NodeEmitter.Result |
beginNode(int modelIndex,
IMXGanttModel model,
IMXResource 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,
IMXResource node) |
public CompareMaxResourceHoursModelTGEmitter(StreamingDataBuilder out, UserInfo userInfo, UIOptions options)
public CompareMaxResourceModelHelper.NodeEmitter.Result beginNode(int modelIndex, IMXGanttModel model, IMXResource node, boolean modified) throws java.io.IOException
CompareMaxResourceModelHelper.NodeEmitter
beginNode
in interface CompareMaxResourceModelHelper.NodeEmitter
modelIndex
- model index where 0 is a special shared index, and 1,2,3,... are model indexesCompareMaxResourceModelHelper.NodeEmitter.Result
Will tell the process how it should proceedjava.io.IOException
public void endNode(int modelIndex, IMXGanttModel model, IMXResource node) throws java.io.IOException
endNode
in interface CompareMaxResourceModelHelper.NodeEmitter
java.io.IOException
public void beginChildren() throws java.io.IOException
CompareMaxResourceModelHelper.NodeEmitter
beginChildren
in interface CompareMaxResourceModelHelper.NodeEmitter
java.io.IOException
public void endChildren() throws java.io.IOException
CompareMaxResourceModelHelper.NodeEmitter
endChildren
in interface CompareMaxResourceModelHelper.NodeEmitter
java.io.IOException