org.mmbase.applications.thememanager
Class Theme

java.lang.Object
  extended by org.mmbase.applications.thememanager.Theme

public class Theme
extends Object

Author:
Daniel Ockeloen

Field Summary
static String DTD_ASSIGNED_1_0
           
static String DTD_THEME_1_0
           
static String PUBLIC_ID_ASSIGNED_1_0
           
static String PUBLIC_ID_THEME_1_0
           
 
Constructor Summary
Theme(String mainid, String themefilename, boolean create)
           
 
Method Summary
 void addImageSet(String id, ImageSet im)
           
 void addStyleSheet(String id, String value)
           
 String getFileName()
           
 String getId()
           
 ImageSet getImageSet(String id)
           
 HashMap getImageSets()
           
 HashMap getImageSets(String role)
           
 int getImageSetsCount()
           
 String getStyleSheet()
           
 String getStyleSheet(String id)
           
 StyleSheetManager getStyleSheetManager(String stylesheet)
           
 HashMap getStyleSheets()
           
 int getStyleSheetsCount()
           
 void readTheme(String themefilename)
           
static void registerPublicIDs()
          Register the Public Ids for DTDs used by DatabaseReader This method is called by XMLEntityResolver.
 void save()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DTD_THEME_1_0

public static final String DTD_THEME_1_0
See Also:
Constant Field Values

DTD_ASSIGNED_1_0

public static final String DTD_ASSIGNED_1_0
See Also:
Constant Field Values

PUBLIC_ID_THEME_1_0

public static final String PUBLIC_ID_THEME_1_0
See Also:
Constant Field Values

PUBLIC_ID_ASSIGNED_1_0

public static final String PUBLIC_ID_ASSIGNED_1_0
See Also:
Constant Field Values
Constructor Detail

Theme

public Theme(String mainid,
             String themefilename,
             boolean create)
Method Detail

registerPublicIDs

public static void registerPublicIDs()
Register the Public Ids for DTDs used by DatabaseReader This method is called by XMLEntityResolver.


getStyleSheet

public String getStyleSheet()

getStyleSheets

public HashMap getStyleSheets()

getImageSets

public HashMap getImageSets()

getImageSets

public HashMap getImageSets(String role)

getImageSet

public ImageSet getImageSet(String id)

getStyleSheet

public String getStyleSheet(String id)

addStyleSheet

public void addStyleSheet(String id,
                          String value)

addImageSet

public void addImageSet(String id,
                        ImageSet im)

getStyleSheetsCount

public int getStyleSheetsCount()

getImageSetsCount

public int getImageSetsCount()

save

public void save()

getFileName

public String getFileName()

readTheme

public void readTheme(String themefilename)

getStyleSheetManager

public StyleSheetManager getStyleSheetManager(String stylesheet)

getId

public String getId()


MMBase 2.0-SNAPSHOT - null