All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.asg.generator.AbstractAnoDocGenerator Maven / Gradle / Ivy

package net.anotheria.asg.generator;

import java.util.Iterator;
import java.util.List;

import net.anotheria.asg.generator.util.FileWriter;


/**
 * Base class for generators.  
 * @author lrosenberg
 */
public class AbstractAnoDocGenerator {
	protected void runGenerator(IGenerator generator, IGenerateable target, Context context, List results){
		List tmp = generator.generate(target);
		for (Iterator it = tmp.iterator(); it.hasNext(); )
			results.add(it.next());
		
	}
	
	protected void writeFiles(List entries){
		for (int i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy