de.spieleck.pcs.http
Interface ControllerConfig
- All Superinterfaces:
- ConfigVerify.Acceptor
- All Known Implementing Classes:
- XmlControllerConfig
- public interface ControllerConfig
- extends ConfigVerify.Acceptor
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!
Field Summary |
static java.lang.String |
ROOT_NODE
|
Method Summary |
ServiceInfo |
getServiceInfo(java.lang.String name)
returns the ServiceInfo object related to a Service
with the given name |
java.lang.String |
getStyleSheetAbsoluteFileName(java.lang.String relativFileName)
returns the absolute path of the stylesheet file connected to
the named service |
java.lang.String[] |
getStyleSheetDirs()
returns the names of the directories, where stylesheets can be found |
boolean |
useJTidy()
determines whether or not to use JTidy to parse HTML output |
ROOT_NODE
public static final java.lang.String ROOT_NODE
getServiceInfo
public ServiceInfo getServiceInfo(java.lang.String name)
throws ControllerException
- returns the ServiceInfo object related to a Service
with the given name
getStyleSheetDirs
public java.lang.String[] getStyleSheetDirs()
- returns the names of the directories, where stylesheets can be found
useJTidy
public boolean useJTidy()
- determines whether or not to use JTidy to parse HTML output
getStyleSheetAbsoluteFileName
public java.lang.String getStyleSheetAbsoluteFileName(java.lang.String relativFileName)
throws ControllerException
- returns the absolute path of the stylesheet file connected to
the named service