|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.jee.FacesNavigationRule
public class FacesNavigationRule
The "navigation-rule" element represents an individual decision rule that will be utilized by the default NavigationHandler implementation to make decisions on what view should be displayed next, based on the view id being processed.
Java class for faces-config-navigation-ruleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faces-config-navigation-ruleType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="from-view-id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="navigation-case" type="{http://java.sun.com/xml/ns/javaee}faces-config-navigation-caseType" maxOccurs="unbounded" minOccurs="0"/> <element name="navigation-rule-extension" type="{http://java.sun.com/xml/ns/javaee}faces-config-navigation-rule-extensionType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<DescriptionType> |
description
|
protected List<String> |
displayName
|
protected String |
fromViewId
|
protected List<Icon> |
icon
|
protected String |
id
|
protected List<FacesNavigationCase> |
navigationCase
|
protected List<FacesNavigationRuleExtension> |
navigationRuleExtension
|
Constructor Summary | |
---|---|
FacesNavigationRule()
|
Method Summary | |
---|---|
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<String> |
getDisplayName()
Gets the value of the displayName property. |
String |
getFromViewId()
Gets the value of the fromViewId property. |
List<Icon> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
List<FacesNavigationCase> |
getNavigationCase()
Gets the value of the navigationCase property. |
List<FacesNavigationRuleExtension> |
getNavigationRuleExtension()
Gets the value of the navigationRuleExtension property. |
void |
setFromViewId(String value)
Sets the value of the fromViewId property. |
void |
setId(String value)
Sets the value of the id property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<DescriptionType> description
protected List<String> displayName
protected List<Icon> icon
protected String fromViewId
protected List<FacesNavigationCase> navigationCase
protected List<FacesNavigationRuleExtension> navigationRuleExtension
protected String id
Constructor Detail |
---|
public FacesNavigationRule()
Method Detail |
---|
public List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public List<String> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<Icon> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
Icon
public String getFromViewId()
String
public void setFromViewId(String value)
value
- allowed object is
String
public List<FacesNavigationCase> getNavigationCase()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the navigationCase property.
For example, to add a new item, do as follows:
getNavigationCase().add(newItem);
Objects of the following type(s) are allowed in the list
FacesNavigationCase
public List<FacesNavigationRuleExtension> getNavigationRuleExtension()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the navigationRuleExtension property.
For example, to add a new item, do as follows:
getNavigationRuleExtension().add(newItem);
Objects of the following type(s) are allowed in the list
FacesNavigationRuleExtension
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |