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  package javax.faces.component.html;
20  
21  import javax.faces.el.ValueBinding;
22  import javax.el.ValueExpression;
23  import javax.faces.context.FacesContext;
24  import javax.faces.component.UIComponent;
25  import javax.faces.convert.Converter;
26  
27  
28  // Generated from class javax.faces.component.html._HtmlHead.
29  //
30  // WARNING: This file was automatically generated. Do not edit it directly,
31  //          or you will lose your changes.
32  public class HtmlHead extends javax.faces.component.UIOutput
33  {
34  
35      static public final String COMPONENT_FAMILY =
36          "javax.faces.Output";
37      static public final String COMPONENT_TYPE =
38          "javax.faces.OutputHead";
39  
40  
41      public HtmlHead()
42      {
43          setRendererType("javax.faces.Head");
44      }
45  
46      @Override    
47      public String getFamily()
48      {
49          return COMPONENT_FAMILY;
50      }
51  
52  
53  
54      
55      // Property: dir
56  
57      public String getDir()
58      {
59          return (String) getStateHelper().eval(PropertyKeys.dir);
60      }
61      
62      public void setDir(String dir)
63      {
64          getStateHelper().put(PropertyKeys.dir, dir ); 
65          _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.DIR_PROP);
66      }
67      // Property: lang
68  
69      public String getLang()
70      {
71          return (String) getStateHelper().eval(PropertyKeys.lang);
72      }
73      
74      public void setLang(String lang)
75      {
76          getStateHelper().put(PropertyKeys.lang, lang ); 
77          _CommonPropertyConstants.markProperty(this, _CommonPropertyConstants.LANG_PROP);
78      }
79      // Property: xmlns
80  
81      public String getXmlns()
82      {
83          return (String) getStateHelper().eval(PropertyKeys.xmlns);
84      }
85      
86      public void setXmlns(String xmlns)
87      {
88          getStateHelper().put(PropertyKeys.xmlns, xmlns ); 
89      }
90  
91      public void setValueBinding(String name, ValueBinding binding)
92      {
93          super.setValueBinding(name, binding);
94          _CommonPropertyConstants.markProperty(this, name);
95      }
96  
97      public void setValueExpression(String name, ValueExpression expression)
98      {
99          super.setValueExpression(name, expression);
100         _CommonPropertyConstants.markProperty(this, name);
101     }
102 
103     protected enum PropertyKeys
104     {
105          dir
106         , lang
107         , xmlns
108     }
109 
110  }