Coverage Report - javax.faces.component._UIParameter
 
Classes in this File Line Coverage Branch Coverage Complexity
_UIParameter
0%
0/3
N/A
0
 
 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;
 20  
 
 21  
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
 22  
 import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
 23  
 
 24  
 /**
 25  
  * This tag associates a parameter name-value pair with the nearest parent UIComponent. A UIComponent is created to
 26  
  * represent this name-value pair, and stored as a child of the parent component; what effect this has depends upon the
 27  
  * renderer of that parent component.
 28  
  * <p>
 29  
  * Unless otherwise specified, all attributes accept static values or EL expressions.
 30  
  * </p>
 31  
  */
 32  
 @JSFComponent(clazz = "javax.faces.component.UIParameter", template = true, name = "f:param", tagClass = "org.apache.myfaces.taglib.core.ParamTag")
 33  0
 abstract class _UIParameter extends UIComponentBase
 34  
 {
 35  
 
 36  
     static public final String COMPONENT_FAMILY = "javax.faces.Parameter";
 37  
     static public final String COMPONENT_TYPE = "javax.faces.Parameter";
 38  
 
 39  
     /**
 40  
      * Disable this property; although this class extends a base-class that defines a read/write rendered property, this
 41  
      * particular subclass does not support setting it. Yes, this is broken OO design: direct all complaints to the JSF
 42  
      * spec group.
 43  
      */
 44  
     @Override
 45  
     @JSFProperty(tagExcluded = true)
 46  
     public void setRendered(boolean state)
 47  
     {
 48  0
         super.setRendered(state);
 49  
         // call parent method due TCK problems
 50  
         // throw new UnsupportedOperationException();
 51  0
     }
 52  
 
 53  
     /**
 54  
      * The value of this component.
 55  
      * 
 56  
      * @return the new value value
 57  
      */
 58  
     @JSFProperty
 59  
     public abstract Object getValue();
 60  
 
 61  
     /**
 62  
      * The name under which the value is stored.
 63  
      * 
 64  
      * @return the new name value
 65  
      */
 66  
     @JSFProperty
 67  
     public abstract String getName();
 68  
 
 69  
     /**
 70  
      *  If this property is true, the value of this component is
 71  
      *  just ignored or skipped.
 72  
      *  
 73  
      *  @since 2.0
 74  
      */
 75  
     @JSFProperty(defaultValue="false", tagExcluded=true)
 76  
     public abstract boolean isDisable();
 77  
 }