ControllerConfig.java |
/* PCS - A Framework For Java Web Applications Copyright (C) 2002 Patrick Carl, patrick.carl@web.de This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA $Id: ControllerConfig.java,v 1.2 2003/01/19 23:41:36 pcs_org Exp $ */ package de.spieleck.pcs.http; import de.spieleck.config.ConfigVerify; /** * This interface provides methods for configuration of the * ControllerServlet * XXX Should it be generic or not? The best would be an * XML-Object-Mapping - difficult! * @author Patrick Carl */ public interface ControllerConfig extends ConfigVerify.Acceptor{ public static final String ROOT_NODE = "pcs"; /** * returns the ServiceInfo object related to a Service * with the given name */ public ServiceInfo getServiceInfo(String name) throws ControllerException; /** * returns the names of the directories, where stylesheets can be found */ public String[] getStyleSheetDirs(); /** * determines whether or not to use JTidy to parse HTML output */ public boolean useJTidy(); /** * returns the absolute path of the stylesheet file connected to * the named service */ public String getStyleSheetAbsoluteFileName(String relativFileName) throws ControllerException; }
ControllerConfig.java |