com.atlassian.confluence.themes
Class ClasspathThemeStylesheet

java.lang.Object
  extended by com.atlassian.confluence.themes.ClasspathThemeStylesheet
All Implemented Interfaces:
ThemeStylesheet

public class ClasspathThemeStylesheet
extends java.lang.Object
implements ThemeStylesheet


Constructor Summary
ClasspathThemeStylesheet(java.lang.String moduleKey, java.lang.String name, java.lang.String location)
           
 
Method Summary
 java.lang.String getCompleteModuleKey()
          Returns the plugin module key which this stylesheet belongs to, or the plugin key if the resource is specified at the plugin level.
 java.lang.String getLocation()
          Returns the location of this stylesheet resource on the classpath of the Velocity classloader.
 java.lang.String getName()
          Returns the name of the stylesheet resource.
 boolean isIeOnly()
          Returns true iff the ieonly param is set to true in the plugin, false otherwise.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClasspathThemeStylesheet

public ClasspathThemeStylesheet(java.lang.String moduleKey,
                                java.lang.String name,
                                java.lang.String location)
Method Detail

getLocation

public java.lang.String getLocation()
Description copied from interface: ThemeStylesheet
Returns the location of this stylesheet resource on the classpath of the Velocity classloader. Used to load it as a Velocity template using #parse() in the main stylesheet.

Specified by:
getLocation in interface ThemeStylesheet

getCompleteModuleKey

public java.lang.String getCompleteModuleKey()
Description copied from interface: ThemeStylesheet
Returns the plugin module key which this stylesheet belongs to, or the plugin key if the resource is specified at the plugin level. Returns null if the stylesheet is not part of a plugin.

Specified by:
getCompleteModuleKey in interface ThemeStylesheet

getName

public java.lang.String getName()
Description copied from interface: ThemeStylesheet
Returns the name of the stylesheet resource.

Specified by:
getName in interface ThemeStylesheet

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isIeOnly

public boolean isIeOnly()
Description copied from interface: ThemeStylesheet
Returns true iff the ieonly param is set to true in the plugin, false otherwise.

Specified by:
isIeOnly in interface ThemeStylesheet
Returns:
true if the ieonly param is set to true.


Copyright © 2003-2010 Atlassian. All Rights Reserved.