ro.isdc.wro.extensions.processor.css
Class RubySassCssProcessor
java.lang.Object
ro.isdc.wro.extensions.processor.css.RubySassCssProcessor
- All Implemented Interfaces:
- ResourcePostProcessor, ResourcePreProcessor
- Direct Known Subclasses:
- BourbonCssProcessor
@SupportedResourceType(value=CSS)
public class RubySassCssProcessor
- extends Object
- implements ResourcePreProcessor, ResourcePostProcessor
A processor using the ruby sass engine:
- Since:
- 1.4.6
- Author:
- Simon van der Sluis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALIAS
public static final String ALIAS
- See Also:
- Constant Field Values
RubySassCssProcessor
public RubySassCssProcessor()
process
public void process(Resource resource,
Reader reader,
Writer writer)
throws IOException
-
- Specified by:
process in interface ResourcePreProcessor
- Throws:
IOException
onException
protected void onException(WroRuntimeException e)
- Invoked when a processing exception occurs. By default propagates the runtime exception.
getEngine
@Deprecated
protected RubySassEngine getEngine()
- Deprecated. use
newEngine() instead.
- A getter used for lazy loading.
newEngine
protected RubySassEngine newEngine()
- Returns:
- a fresh instance of
RubySassEngine
process
public void process(Reader reader,
Writer writer)
throws IOException
-
- Specified by:
process in interface ResourcePostProcessor
- Throws:
IOException
Copyright © 2008-2013. All Rights Reserved.