1 /* 2 * Copyright 2004 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.apache.myfaces.config.element; 17 18 import java.util.Collection; 19 20 /** 21 * Entry of the Collection returned by 22 * {@link org.apache.myfaces.config.RuntimeConfig#getNavigationRules()}. 23 * 24 * @author Manfred Geiler (latest modification by $Author: matze $) 25 * @version $Revision: 1.2 $ $Date: 2004/10/13 11:50:59 $ 26 * $Log: NavigationRule.java,v $ 27 * Revision 1.2 2004/10/13 11:50:59 matze 28 * renamed packages to org.apache 29 * 30 * Revision 1.1 2004/07/07 00:25:04 o_rossmueller 31 * tidy up config/confignew package (moved confignew classes to package config) 32 * 33 * Revision 1.2 2004/07/01 22:05:04 mwessendorf 34 * ASF switch 35 * 36 * Revision 1.1 2004/05/17 14:28:26 manolito 37 * new configuration concept 38 * 39 */ 40 public interface NavigationRule 41 { 42 // <!ELEMENT navigation-rule (description*, display-name*, icon*, from-view-id?, navigation-case*)> 43 44 public String getFromViewId(); 45 46 /** 47 * @return a Collection of {@link org.apache.myfaces.config.element.NavigationCase}s 48 */ 49 public Collection getNavigationCases(); 50 } 51