public class CssThemeHandler extends Object
| Constructor and Description |
|---|
CssThemeHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
determineThemeTokens() |
DependencyHandler |
getDependencyHandler() |
int |
getTargetGroup()
The target group matched by the
tokenRegex |
Map<String,String> |
getTokenMap() |
String |
getTokenRegex()
Gets the Regular Expression used to find tokens within a CSS source file.
|
WebFrameworkConfigElement |
getWebFrameworkConfigElement()
Returns the configuration for the web framework.
|
String |
processCssThemes(String path,
StringBuilder cssContents) |
protected String |
processCssThemeTokens(String path,
StringBuilder cssContents) |
void |
setDependencyHandler(DependencyHandler dependencyHandler) |
void |
setTargetGroup(int targetGroup)
Allows the target group matched by the
tokenRegex to be set. |
void |
setTokenRegex(String tokenRegex)
Allows the Regular Expression used to find tokens within a CSS source file to be set.
|
void |
setWebFrameworkConfigElement(WebFrameworkConfigElement webFrameworkConfigElement)
Required by Spring to inject the web framework configuration.
|
public String getTokenRegex()
public void setTokenRegex(String tokenRegex)
tokenRegex - Stringpublic int getTargetGroup()
tokenRegexpublic void setTargetGroup(int targetGroup)
tokenRegex to be set.targetGroup - intpublic WebFrameworkConfigElement getWebFrameworkConfigElement()
public void setWebFrameworkConfigElement(WebFrameworkConfigElement webFrameworkConfigElement)
webFrameworkConfigElement - WebFrameworkConfigElementpublic DependencyHandler getDependencyHandler()
public void setDependencyHandler(DependencyHandler dependencyHandler)
public void determineThemeTokens()
protected String processCssThemeTokens(String path, StringBuilder cssContents) throws IOException
IOExceptionpublic String processCssThemes(String path, StringBuilder cssContents) throws IOException
path - StringcssContents - StringBuilderIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.