1 /* 2 * The SmartWeb Framework 3 * Copyright (C) 2004-2006 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2.1 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 * 19 * For further informations on the SmartWeb Framework please visit 20 * 21 * http://smartweb.sourceforge.net 22 */ 23 24 25 package net.smartlab.web.browse; 26 27 import net.smartlab.config.Element; 28 29 /** 30 * TODO documentation 31 * 32 * @author rlogiacco 33 */ 34 public class NavigationStep { 35 36 private NavigationHandler handler; 37 38 /** 39 * TODO documentation 40 * 41 * @param config 42 */ 43 protected NavigationStep(Element config) { 44 // TODO 45 } 46 47 /** 48 * TODO documentation 49 * 50 * @param context 51 * @return 52 * @throws NavigationException 53 */ 54 public boolean allow(NavigationContext context) throws NavigationException { 55 // TODO 56 return true; 57 } 58 59 /** 60 * TODO documentation 61 * 62 * @return 63 */ 64 public boolean isOneWay() { 65 // TODO 66 return false; 67 } 68 69 /** 70 * TODO documentation 71 * 72 * @return 73 */ 74 public boolean isEntrance() { 75 // TODO 76 return false; 77 } 78 79 /** 80 * TODO documentation 81 * 82 * @return 83 */ 84 public boolean isReloadable() { 85 // TODO 86 return false; 87 } 88 89 /** 90 * TODO documentation 91 * 92 * @return 93 */ 94 public NavigationHandler getHandler() { 95 return handler; 96 } 97 }