public class FacesConfigIf
extends java.lang.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>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
protected java.lang.String |
value |
Constructor and Description |
---|
FacesConfigIf() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.String |
getValue()
EL expressions present within a faces config file
must start with the character sequence of '#{' and
end with '}'.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
public java.lang.String getValue()
EL expressions present within a faces config file must start with the character sequence of '#{' and end with '}'.
String
public void setValue(java.lang.String value)
value
- allowed object is
String
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String