- Timestamp:
- 01/27/12 11:19:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/JFCLogParser.java
r353 r359 58 58 */ 59 59 private List<JFCEvent> currentSequence = null; 60 61 /** 62 * <p> 63 * Internally used string to build a string representing a component-node. 64 * </p> 65 */ 66 private String componentString; 60 67 61 68 /** … … 69 76 */ 70 77 private enum ParamSource { 71 EVENT, SOURCE, PARENT 78 EVENT, SOURCE, PARENT, COMPONENT 72 79 }; 73 80 … … 132 139 currentEvent.addParentInformation(atts.getValue("name"), 133 140 atts.getValue("value")); 141 } else if (paramSource == ParamSource.COMPONENT) { 142 componentString += "'" + atts.getValue("value") + "',"; 134 143 } 135 144 } else if (qName.equals("source")) { … … 137 146 } else if (qName.equals("parent")) { 138 147 paramSource = ParamSource.PARENT; 148 } else if (qName.equals("component")) { 149 paramSource = ParamSource.COMPONENT; 150 componentString = "["; 139 151 } 140 152 } … … 160 172 } 161 173 currentSequence = null; 174 } else if (qName.equals("component")) { 175 paramSource.equals(ParamSource.SOURCE); 176 currentEvent.extendTarget(componentString.substring(0, componentString.length()-1)+"]"); 162 177 } 163 178 }
Note: See TracChangeset
for help on using the changeset viewer.