throws IllegalArgumentException {
checkName(name);
GeoAlgorithm algorithm = Sextante.getAlgorithmFromCommandLineName(name.getLocalPart());
Class outputClass = null;
OutputObjectsSet ooset = algorithm.getOutputObjects();
Map<String, Parameter<?>> outputInfo = new HashMap<String, Parameter<?>>();
for (int i = 0; i < ooset.getOutputObjectsCount(); i++) {
Output output = ooset.getOutput(i);
if (output instanceof OutputVectorLayer) {
outputClass = FeatureCollection.class;
} else if (output instanceof OutputRasterLayer) {
outputClass = GridCoverage2D.class;