org.apache.openejb.jee
Class FacesConfigIf

java.lang.Object
  extended by org.apache.openejb.jee.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> within a flow, if the expresion returns true, the <from-outcome> sibling element's outcome is used as the id of the node in the flow graph to which control must be passed.

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>
 


Field Summary
protected  String id
           
protected  String value
           
 
Constructor Summary
FacesConfigIf()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 String getValue()
           EL expressions present within a faces config file must start with the character sequence of '#{' and end with '}'.
 void setId(String value)
          Sets the value of the id property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

id

protected String id
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


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.