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.component.UIOutput;
22  import javax.faces.convert.Converter;
23  
24  import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
25  import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFExclude;
26  import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
27  
28  /**
29   * 
30   */
31  @JSFComponent
32  (name="h:head", clazz = "javax.faces.component.html.HtmlHead",
33   defaultRendererType="javax.faces.Head",template=true)
34  abstract class _HtmlHead extends UIOutput 
35  {
36  
37    static public final String COMPONENT_FAMILY = "javax.faces.Output";
38    static public final String COMPONENT_TYPE = "javax.faces.OutputHead";
39  
40    /**
41     * HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
42     * 
43     */
44    @JSFProperty
45    public abstract String getDir();
46  
47    /**
48     * HTML: The base language of this document.
49     * 
50     */
51    @JSFProperty
52    public abstract String getLang();
53    
54    /**
55     * 
56     * @since 2.1.0
57     * @return
58     */
59    @JSFProperty
60    public abstract String getXmlns();
61    
62    @JSFExclude
63    @JSFProperty(tagExcluded=true)
64    @Override
65    public Converter getConverter()
66    {
67      return super.getConverter();
68    }
69  
70    @JSFExclude  
71    @JSFProperty(tagExcluded=true)
72    @Override
73    public Object getValue()
74    {
75      return super.getValue();
76    }
77  
78    @JSFExclude
79    @JSFProperty(tagExcluded=true)
80    @Override
81    public String getId()
82    {
83      return super.getId();
84    }
85  
86    @JSFExclude
87    @JSFProperty(tagExcluded=true)
88    @Override
89    public boolean isRendered()
90    {
91      return super.isRendered();
92    }
93  }