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.internal.taglib.extension;
21  
22  import org.apache.myfaces.tobago.apt.annotation.ExtensionTag;
23  import org.apache.myfaces.tobago.apt.annotation.Tag;
24  import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
25  import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
26  
27  /**
28   * Renders a separator.
29   * <br>
30   * Short syntax of:
31   * <pre>
32   * &lt;tc:separator&gt;
33   *   &lt;f:facet name="label"&gt;
34   *     &lt;tc:label value="label"/&gt;
35   *   &lt;/f:facet&gt;
36   * &lt;/tc:separator&gt;
37   * </pre>
38   *
39   * @deprecated since Tobago 3.0. The tx-library is deprecated, please use the tc-library.
40   */
41  @Tag(
42      name = "separator")
43  @ExtensionTag(
44      baseClassName = "org.apache.myfaces.tobago.internal.taglib.component.SeparatorTag",
45      componentType = "org.apache.myfaces.tobago.Separator",
46      rendererType = "Separator",
47      faceletHandler = "org.apache.myfaces.tobago.facelets.extension.SeparatorExtensionHandler")
48  public interface SeparatorExtensionTag {
49  
50    /**
51     * The value binding expression linking this
52     * component to a property in a backing bean.
53     */
54    @TagAttribute
55    @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
56    void setBinding(final javax.el.ValueExpression binding);
57  
58    /**
59     * Flag indicating whether or not this component should be rendered
60     * (during Render Response Phase), or processed on any subsequent form submit.
61     */
62    @TagAttribute
63    @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
64    void setRendered(final javax.el.ValueExpression rendered);
65  
66    /**
67     * Text value to display as label.
68     * If text contains an underscore the next character is used as accesskey.
69     */
70    @TagAttribute
71    @UIComponentTagAttribute()
72    void setLabel(final javax.el.ValueExpression label);
73  }