Class FacesConfigIf


  • public class FacesConfigIf
    extends Object

    The "if" element defines a condition that must resolve to true in order for the navigation case on which it is defined to be matched, with the existing match criteria (action method and outcome) as a prerequiste, if present. The condition is defined declaratively using a value expression in the body of this element. The expression is evaluated at the time the navigation case is being matched. If the "from-outcome" is omitted and this element is present, the navigation handler will match a null outcome and use the condition return value to determine if the case should be considered a match.

    When used in a <switch>true, the <from-outcome>

    Java class for faces-config-ifType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="faces-config-ifType">
       <simpleContent>
         <extension base="<http://xmlns.jcp.org/xml/ns/javaee>faces-config-el-expressionType">
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Constructor Detail

      • FacesConfigIf

        public FacesConfigIf()
    • Method Detail

      • getValue

        public String getValue()

        EL expressions present within a faces config file must start with the character sequence of '#{' and end with '}'.

        Returns:
        possible object is String
      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String