KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > webdocwf > util > loader > transformation > Transformer


1 /**
2   Transformer - Transformer interface.
3     Copyright (C) 2002-2004 Together
4     This library is free software; you can redistribute it and/or
5     modify it under the terms of the GNU Lesser General Public
6     License as published by the Free Software Foundation; either
7     version 2.1 of the License, or (at your option) any later version.
8     This library is distributed in the hope that it will be useful,
9     but WITHOUT ANY WARRANTY; without even the implied warranty of
10     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11     Lesser General Public License for more details.
12     You should have received a copy of the GNU Lesser General Public
13     License along with this library; if not, write to the Free Software
14     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15  Transformation.java
16  Date: 05.04.2004.
17  @version 1.0
18  @author: Zoran Milakovic zoran@prozone.co.yu
19  @author: Milosevic Sinisa sinisa@prozone.co.yu
20  */

21
22 package org.webdocwf.util.loader.transformation;
23
24 import java.util.List JavaDoc;
25
26 public interface Transformer {
27
28     /**
29      * Configure transformer
30      */

31     public void configure(String JavaDoc s) throws Exception JavaDoc;
32     
33     /**
34      * Release resources if necessairly
35      */

36     public void release() throws Exception JavaDoc;
37
38     /**
39      * This method return List with transformed values for source column(s).
40      */

41     public List JavaDoc transformValue(List JavaDoc valueToTransform) throws Exception JavaDoc;
42
43 }
44
45
46
Popular Tags