1
2
3
4 package org.rcfaces.core.validator;
5
6 import javax.faces.application.FacesMessage;
7 import javax.faces.context.FacesContext;
8
9 import org.rcfaces.core.internal.renderkit.IComponentRenderContext;
10
11
12
13
14
15
16 public interface IClientValidatorContext {
17
18 FacesContext getFacesContext();
19
20 IComponentRenderContext getComponentRenderContext();
21
22 IParameter[] getParameters();
23
24 void setInputValue(String input);
25
26 void setOutputValue(String output);
27
28 String getInput();
29
30 String getOutputValue();
31
32 void setLastError(String summary, String detail,
33 FacesMessage.Severity severity);
34
35 String getLastErrorSummary();
36
37 String getLastErrorDetail();
38
39 FacesMessage.Severity getLastErrorSeverity();
40
41 boolean containsAttribute(String key);
42
43 Object getAttribute(String key);
44
45 Object setAttribute(String key, Object value);
46
47 Object removeAttribute(String key);
48
49 }