1 16 package org.apache.cocoon.forms.transformation; 17 18 import org.apache.cocoon.ProcessingException; 19 import org.apache.cocoon.environment.SourceResolver; 20 import org.apache.cocoon.transformation.Transformer; 21 22 import org.apache.avalon.framework.parameters.Parameters; 23 24 import org.xml.sax.SAXException ; 25 26 import java.io.IOException ; 27 import java.util.Map ; 28 29 34 public class FormsTemplateTransformer extends EffectWidgetReplacingPipe implements Transformer { 35 36 public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) 37 throws ProcessingException, SAXException , IOException { 38 39 FormsPipelineConfig pipeContext = FormsPipelineConfig.createConfig(objectModel, parameters); 40 super.init(null, pipeContext); 41 } 42 } 43 | Popular Tags |