KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infohazard > maverick > flow > TransformFactory


1 /*
2  * $Id: TransformFactory.java,v 1.2 2002/06/06 12:23:54 lhoriman Exp $
3  * $Source: /cvsroot/mav/maverick/src/java/org/infohazard/maverick/flow/TransformFactory.java,v $
4  */

5
6 package org.infohazard.maverick.flow;
7
8 import javax.servlet.ServletConfig JavaDoc;
9 import org.jdom.Element;
10
11
12 /**
13  */

14 public interface TransformFactory
15 {
16     /**
17      * Factories will be initialized with the XML from the configuration file
18      * so that they can check for any options defined in child nodes,
19      * attributes, etc.
20      */

21     public void init(Element factoryNode, ServletConfig JavaDoc servletCfg) throws ConfigException;
22
23     /**
24      * Creates a transform from the element (and any children, if appropriate).
25      */

26     public Transform createTransform(Element transformNode) throws ConfigException;
27 }
Popular Tags