com.day.cq.theme.impl
Class PlainTheme
java.lang.Object
com.day.cq.theme.impl.PlainTheme
- All Implemented Interfaces:
- Theme
public class PlainTheme
- extends Object
- implements Theme
Theme that is based on a streamable resource.
|
Constructor Summary |
protected |
PlainTheme(org.apache.sling.api.resource.Resource res)
Creates a plain theme based on the given resource. |
|
Method Summary |
String |
getCss()
Returns the URL to the CSS to use on the result or null if
no CSS should be loaded. |
String |
getPath()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainTheme
protected PlainTheme(org.apache.sling.api.resource.Resource res)
- Creates a plain theme based on the given resource.
Note: Currently no check is performed if the given resource is streamable.
- Parameters:
res - resource
getPath
public String getPath()
-
- Specified by:
getPath in interface Theme
getCss
public String getCss()
- Returns the URL to the CSS to use on the result or
null if
no CSS should be loaded.
- Specified by:
getCss in interface Theme
Copyright © 2008 Day Management AG. All Rights Reserved.