KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > jsf > JsfConverter


1 package test.jsf;
2
3 import javax.faces.context.*;
4 import javax.faces.component.*;
5
6 /**
7  * User: maplat
8  * Date: 05.07.2004
9  * Time: 15:26:16
10  *
11  * @jsf.converter name="jsfConverter" description="a dummy converter for testing"
12  */

13 public class JsfConverter implements javax.faces.convert.Converter {
14
15     public Object JavaDoc getAsObject(FacesContext facesContext, UIComponent uiComponent, String JavaDoc s) {
16         return null; //To change body of implemented methods use File | Settings | File Templates.
17
}
18
19     public String JavaDoc getAsString(FacesContext facesContext, UIComponent uiComponent, Object JavaDoc o) {
20         return null; //To change body of implemented methods use File | Settings | File Templates.
21
}
22 }
23
Popular Tags