KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > test > mocks > jsf > MockApplication


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.test.mocks.jsf;
6 import java.util.*;
7 import javax.faces.FacesException;
8 import javax.faces.component.UIComponent;
9 import javax.faces.context.FacesContext;
10 import javax.faces.convert.Converter;
11 import javax.faces.el.*;
12 import javax.faces.event.ActionListener;
13 import javax.faces.validator.Validator;
14 import javax.faces.application.*;
15 /**
16  * Apr 15, 2004
17  * @author: Tuan Nguyen
18  * @email: tuan08@users.sourceforge.net
19  * @version: $Id: MockApplication.java,v 1.1 2004/10/11 23:27:25 tuan08 Exp $
20  **/

21 public class MockApplication extends Application {
22     public MockApplication() {
23     }
24     
25     public ActionListener getActionListener() {
26         return null;
27     }
28     public void setActionListener(ActionListener actionlistener) {
29     }
30     public Locale getDefaultLocale() {
31         return null;
32     }
33     public void setDefaultLocale(Locale locale) {
34     }
35     public String JavaDoc getDefaultRenderKitId() {
36         return null;
37     }
38     public void setDefaultRenderKitId(String JavaDoc s) {
39     }
40     public String JavaDoc getMessageBundle() {
41         return null;
42     }
43     public void setMessageBundle(String JavaDoc s) {
44     }
45     public NavigationHandler getNavigationHandler() {
46         return null;
47     }
48     public void setNavigationHandler(NavigationHandler navigationhandler) {
49     }
50     public PropertyResolver getPropertyResolver() {
51         return null;
52     }
53     public void setPropertyResolver(PropertyResolver propertyresolver) {
54     }
55     public VariableResolver getVariableResolver() {
56         return null;
57     }
58     public void setVariableResolver(VariableResolver variableresolver) {
59     }
60     public ViewHandler getViewHandler() {
61         return null;
62     }
63     public void setViewHandler(ViewHandler viewhandler) {
64     }
65     public StateManager getStateManager() {
66         return null;
67     }
68     public void setStateManager(StateManager statemanager) {
69     }
70     public void addComponent(String JavaDoc s, String JavaDoc s1) {
71     }
72     public UIComponent createComponent(String JavaDoc s) throws FacesException {
73         return null;
74     }
75     public UIComponent createComponent(ValueBinding valuebinding,
76             FacesContext facescontext, String JavaDoc s) throws FacesException {
77         return null;
78     }
79     public Iterator getComponentTypes() {
80         return null;
81     }
82     public void addConverter(String JavaDoc s, String JavaDoc s1) {
83     }
84     public void addConverter(Class JavaDoc class1, String JavaDoc s) {
85     }
86     public Converter createConverter(String JavaDoc s) {
87         return null;
88     }
89     public Converter createConverter(Class JavaDoc class1) {
90         return null;
91     }
92     public Iterator getConverterIds() {
93         return null;
94     }
95     public Iterator getConverterTypes() {
96         return null;
97     }
98     public MethodBinding createMethodBinding(String JavaDoc s, Class JavaDoc aclass[])
99             throws ReferenceSyntaxException {
100         return null;
101     }
102     public Iterator getSupportedLocales() {
103         return null;
104     }
105     public void setSupportedLocales(Collection collection) {
106     }
107     public void addValidator(String JavaDoc s, String JavaDoc s1) {
108     }
109     public Validator createValidator(String JavaDoc s) throws FacesException {
110         return null;
111     }
112     public Iterator getValidatorIds() {
113         return null;
114     }
115     public ValueBinding createValueBinding(String JavaDoc s)
116             throws ReferenceSyntaxException {
117         return null;
118     }
119 }
Popular Tags