1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.seasar.teeda.core.mock; |
17 | |
|
18 | |
import javax.faces.application.Application; |
19 | |
import javax.faces.context.FacesContext; |
20 | |
import javax.faces.el.EvaluationException; |
21 | |
import javax.faces.el.PropertyNotFoundException; |
22 | |
import javax.faces.el.ValueBinding; |
23 | |
|
24 | |
import org.seasar.teeda.core.el.ELParser; |
25 | |
|
26 | |
public class MockMultipleArgsValueBinding extends ValueBinding { |
27 | |
|
28 | |
private Application app_; |
29 | |
|
30 | |
private String expression_; |
31 | |
|
32 | |
private ELParser parser_; |
33 | |
|
34 | |
public MockMultipleArgsValueBinding(Application app, String expression, |
35 | 0 | ELParser parser) { |
36 | 0 | app_ = app; |
37 | 0 | expression_ = expression; |
38 | 0 | parser_ = parser; |
39 | 0 | } |
40 | |
|
41 | |
public Object getValue(FacesContext context) throws EvaluationException, |
42 | |
PropertyNotFoundException { |
43 | 0 | return null; |
44 | |
} |
45 | |
|
46 | |
public void setValue(FacesContext context, Object obj) |
47 | |
throws EvaluationException, PropertyNotFoundException { |
48 | 0 | } |
49 | |
|
50 | |
public boolean isReadOnly(FacesContext context) throws EvaluationException, |
51 | |
PropertyNotFoundException { |
52 | 0 | return false; |
53 | |
} |
54 | |
|
55 | |
public Class getType(FacesContext context) throws EvaluationException, |
56 | |
PropertyNotFoundException { |
57 | 0 | return null; |
58 | |
} |
59 | |
|
60 | |
} |