|
|
@ -61,10 +61,11 @@ public abstract class BaseSaxAnalyser implements AnalysisEventRegisterCenter, Ex |
|
|
|
(List<String>)analysisContext.getCurrentRowAnalysisResult()); |
|
|
|
(List<String>)analysisContext.getCurrentRowAnalysisResult()); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
List<String> content = converter((List<String>)event.getData()); |
|
|
|
/** Parsing Analyze the body content **/ |
|
|
|
/** Parsing Analyze the body content **/ |
|
|
|
analysisContext.setCurrentRowAnalysisResult(event.getData()); |
|
|
|
analysisContext.setCurrentRowAnalysisResult(content); |
|
|
|
if (listeners.size() == 1) { |
|
|
|
if (listeners.size() == 1) { |
|
|
|
analysisContext.setCurrentRowAnalysisResult(converter((List<String>)event.getData())); |
|
|
|
analysisContext.setCurrentRowAnalysisResult(content); |
|
|
|
} |
|
|
|
} |
|
|
|
/** notify all event listeners **/ |
|
|
|
/** notify all event listeners **/ |
|
|
|
for (Map.Entry<String, AnalysisEventListener> entry : listeners.entrySet()) { |
|
|
|
for (Map.Entry<String, AnalysisEventListener> entry : listeners.entrySet()) { |
|
|
|