// To form the result spec that will be passed down to each component,
// we take the union aResultSpec with the inputs of all components in this
// aggregate. This forms the complete list of types that any component in
// this aggregate might ever need to produce.
ResultSpecification resultSpecForComponents = (ResultSpecification) aResultSpec.clone();
resultSpecForComponents.addCapabilities(getAllComponentCapabilities(), false);
// now iterate over components and call their setResultSpecification methods
Iterator<AnalysisEngine> componentIter = _getASB().getComponentAnalysisEngines().values().iterator();
while (componentIter.hasNext()) {
AnalysisEngine ae = (AnalysisEngine) componentIter.next();