| org.millstone.webadapter.ThemeSource
All known Subclasses: org.millstone.webadapter.ServletThemeSource, org.millstone.webadapter.DirectoryThemeSource, org.millstone.webadapter.CollectionThemeSource, org.millstone.webadapter.JarThemeSource,
ThemeSource | public interface ThemeSource (Code) | | Interface implemented by theme sources.
author: IT Mill Ltd. version: 3.1.1 since: 3.0 |
Inner Class :public class ThemeException extends Exception | |
Inner Class :public class XSLStream | |
getModificationTime | public long getModificationTime()(Code) | | Get the last modification time, used to reload theme on changes.
Last modification time of the theme source. |
getName | public String getName()(Code) | | Get the name of the ThemeSource.
Name of the theme source. |
getResource | public InputStream getResource(String resourceId) throws ThemeException(Code) | | Get input stream for the resource with the specified resource id.
Stream where the resource can be read. throws: ThemeException - If the resource is not found or there wassome problem finding the resource. |
getThemeByName | public Theme getThemeByName(String name)(Code) | | Return Theme instance by name.
Parameters: name - Theme name. Theme instance matching the name, or null if not found. |
getThemes | public Collection getThemes()(Code) | | Get list of themes in the theme source.
List of themes included in the theme source. |
getXSLStreams | public Collection getXSLStreams(Theme theme, WebBrowser type) throws ThemeException(Code) | | Get XSL stream for the specified theme and web-browser type.
Returns the XSL templates, which are used to process the
UIDL data. The type parameter is used to limit
the templates, which are returned based on the theme fileset
requirements.
Parameters: theme - Theme, which XSL should be returned Parameters: type - The type of the current client. Collection of ThemeSource.XSLStream objects. See Also: Theme |
|
|