001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one
003     * or more contributor license agreements.  See the NOTICE file
004     * distributed with this work for additional information
005     * regarding copyright ownership.  The ASF licenses this file
006     * to you under the Apache License, Version 2.0 (the
007     * "License"); you may not use this file except in compliance
008     * with the License.  You may obtain a copy of the License at
009     *
010     *   http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing,
013     * software distributed under the License is distributed on an
014     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015     * KIND, either express or implied.  See the License for the
016     * specific language governing permissions and limitations
017     * under the License.
018     */
019    
020    package org.apache.myfaces.tobago.taglib.component;
021    
022    import org.apache.myfaces.tobago.apt.annotation.BodyContentDescription;
023    import org.apache.myfaces.tobago.apt.annotation.Tag;
024    import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
025    import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
026    import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
027    import org.apache.myfaces.tobago.taglib.decl.HasConverter;
028    import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
029    import org.apache.myfaces.tobago.taglib.decl.HasTip;
030    import org.apache.myfaces.tobago.taglib.decl.HasValue;
031    import org.apache.myfaces.tobago.taglib.decl.IsInline;
032    
033    /*
034     * Created: Aug 5, 2005 3:32:40 PM
035     * User: bommel
036     * $Id: OutTagDeclaration.java 1368577 2012-08-02 16:20:31Z lofwyr $
037     */
038    
039    /**
040     * Renders a text
041     */
042    @Tag(name = "out")
043    @BodyContentDescription(anyTagOf = "f:converter|f:convertNumber|f:convertDateTime|...")
044    @UIComponentTag(
045        uiComponent = "org.apache.myfaces.tobago.component.UIOutput",
046        rendererType = "Out")
047    
048    public interface OutTagDeclaration extends
049        BeanTagDeclaration, HasIdBindingAndRendered, HasConverter, IsInline, HasTip, HasValue {
050    
051      /**
052       * Flag indicating that characters that are
053       * sensitive in HTML and XML markup must be escaped.
054       */
055      @TagAttribute
056      @UIComponentTagAttribute(type = {"java.lang.Boolean"}, defaultValue = "true")
057      void setEscape(String escape);
058    
059      /**
060       * Indicate markup of this component.
061       * Possible values are 'none', 'strong' and 'deleted'
062       */
063      @TagAttribute
064      @UIComponentTagAttribute(defaultValue = "none", allowedValues = {"none", "strong", "deleted"})
065      void setMarkup(String markup);
066    }