org.kuali.rice.coreservice.impl.style
Class StyleServiceImpl
java.lang.Object
   org.kuali.rice.coreservice.impl.style.StyleServiceImpl
org.kuali.rice.coreservice.impl.style.StyleServiceImpl
- All Implemented Interfaces: 
- StyleService
- public class StyleServiceImpl 
- extends Object- implements StyleService
Implements generic StyleService via existing EDL style table
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
StyleServiceImpl
public StyleServiceImpl()
setStyleRepositoryService
public void setStyleRepositoryService(StyleRepositoryService styleRepositoryService)
- 
 
- 
 
getStyle
public Style getStyle(String styleName)
- Loads the named style from the database, or (if configured) imports it from a file
 specified via a configuration parameter with a name of the format edl.style.<styleName>
 
 
- 
- Specified by:
- getStylein interface- StyleService
 
- 
- See Also:
- StyleRepositoryService.getStyle(String)
 
getStyleAsTranslet
public Templates getStyleAsTranslet(String name)
                             throws TransformerConfigurationException
- Description copied from interface: StyleService
- Gets a compiled version of the style with the given name.
 
- 
- Specified by:
- getStyleAsTransletin interface- StyleService
 
- 
- Parameters:
- name- the name of the style for which to retrieve a compiled version
- Returns:
- a compiled version of the stylesheet as a Templatesinstance
- Throws:
- TransformerConfigurationException- if compilation of the stylesheet fails
 
saveStyle
public void saveStyle(Style style)
- 
- Specified by:
- saveStylein interface- StyleService
 
- 
- See Also:
- StyleRepositoryService.saveStyle(Style)
 
getAllStyleNames
public List<String> getAllStyleNames()
- 
- Specified by:
- getAllStyleNamesin interface- StyleService
 
- 
- See Also:
- StyleRepositoryService.getAllStyleNames()
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.