|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by theme sources.
Nested Class Summary | |
static class |
ThemeSource.ThemeException
Theme exception. |
Method Summary | |
long |
getModificationTime()
Get the last modification time, used to reload theme on changes. |
java.lang.String |
getName()
Get the name of the ThemeSource. |
java.io.InputStream |
getResource(java.lang.String resourceId)
Get input stream for the resource with the specified resource id. |
Theme |
getThemeByName(java.lang.String name)
Return Theme instance by name. |
java.util.Collection |
getThemes()
Get list of themes in the theme source. |
java.util.Collection |
getXSLStreams(Theme theme,
WebBrowser type)
Get XSL stream for the specified theme and web-browser type. |
Method Detail |
public java.lang.String getName()
public java.util.Collection getXSLStreams(Theme theme, WebBrowser type) throws ThemeSource.ThemeException
type
parameter is used to limit
the templates, which are returned based on the theme fileset
requirements.
theme
- Theme, which XSL should be returnedtype
- The type of the current client.
ThemeSource.ThemeException
Theme
public long getModificationTime()
public java.io.InputStream getResource(java.lang.String resourceId) throws ThemeSource.ThemeException
ThemeSource.ThemeException
- If the resource is not found or there was
some problem finding the resource.public java.util.Collection getThemes()
public Theme getThemeByName(java.lang.String name)
name
- Theme name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |