View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  
20  package org.apache.myfaces.tobago.component;
21  
22  import javax.faces.component.EditableValueHolder;
23  import javax.faces.component.StateHolder;
24  import javax.faces.component.UIComponent;
25  import javax.faces.context.FacesContext;
26  import javax.faces.el.MethodBinding;
27  import javax.faces.el.ValueBinding;
28  import javax.faces.event.AbortProcessingException;
29  import java.io.IOException;
30  import java.util.Iterator;
31  import java.util.List;
32  import java.util.Map;
33  
34  /**
35   * @deprecated since 1.5.0. Please use {@link UIIn}
36   */
37  @Deprecated
38  public interface UIInput extends StateHolder, EditableValueHolder {
39  
40    Map<String, Object> getAttributes();
41  
42    ValueBinding getValueBinding(String name);
43  
44    void setValueBinding(String name, ValueBinding binding);
45  
46    String getClientId(FacesContext context);
47  
48    String getFamily();
49  
50    String getId();
51  
52    void setId(String id);
53  
54    UIComponent getParent();
55  
56    void setParent(UIComponent parent);
57  
58    boolean isRendered();
59  
60    void setRendered(boolean rendered);
61  
62    String getRendererType();
63  
64    void setRendererType(String rendererType);
65  
66    boolean getRendersChildren();
67  
68    List<UIComponent> getChildren();
69  
70    int getChildCount();
71  
72    UIComponent findComponent(String expr);
73  
74    Map<String, UIComponent> getFacets();
75  
76    UIComponent getFacet(String name);
77  
78    Iterator<UIComponent> getFacetsAndChildren();
79  
80    void broadcast(javax.faces.event.FacesEvent event) throws AbortProcessingException;
81  
82    void decode(FacesContext context);
83  
84    void encodeBegin(FacesContext context) throws IOException;
85  
86    void encodeChildren(FacesContext context) throws IOException;
87  
88    void encodeEnd(FacesContext context) throws IOException;
89  
90    void queueEvent(javax.faces.event.FacesEvent event);
91  
92    void processRestoreState(FacesContext context, Object state);
93  
94    void processDecodes(FacesContext context);
95  
96    void processValidators(FacesContext context);
97  
98    void processUpdates(FacesContext context);
99  
100   Object processSaveState(FacesContext context);
101 
102   void setSuggestMethod(MethodBinding suggestMethod);
103 }