1 16 package org.apache.myfaces.config.impl.digester.elements; 17 18 import java.util.ArrayList ; 19 import java.util.List ; 20 import java.util.Collection ; 21 22 import org.apache.myfaces.config.impl.digester.elements.NavigationCase; 23 24 25 28 public class NavigationRule implements org.apache.myfaces.config.element.NavigationRule 29 { 30 31 private String fromViewId; 32 private List navigationCases = new ArrayList (); 33 34 35 public String getFromViewId() 36 { 37 return fromViewId; 38 } 39 40 41 public void setFromViewId(String fromViewId) 42 { 43 this.fromViewId = fromViewId; 44 } 45 46 47 public void addNavigationCase(NavigationCase value) 48 { 49 navigationCases.add(value); 50 } 51 52 53 public Collection getNavigationCases() 54 { 55 return navigationCases; 56 } 57 58 } 59 | Popular Tags |