Class RubySassCssProcessor
java.lang.Object
ro.isdc.wro.extensions.processor.css.RubySassCssProcessor
- All Implemented Interfaces:
Destroyable,ResourcePostProcessor,ResourcePreProcessor
- Direct Known Subclasses:
BourbonCssProcessor
@SupportedResourceType(CSS)
public class RubySassCssProcessor
extends Object
implements ResourcePreProcessor, ResourcePostProcessor, Destroyable
A processor using the ruby sass engine:
- Since:
- 1.4.6
- Author:
- Simon van der Sluis
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected RubySassEngineprotected voidInvoked when a processing exception occurs.voidvoid
-
Field Details
-
ALIAS
- See Also:
-
-
Constructor Details
-
RubySassCssProcessor
public RubySassCssProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceResourcePreProcessor- Throws:
IOException
-
onException
Invoked when a processing exception occurs. By default propagates the runtime exception. -
newEngine
- Returns:
- a fresh instance of
RubySassEngine
-
process
- Specified by:
processin interfaceResourcePostProcessor- Throws:
IOException
-
destroy
- Specified by:
destroyin interfaceDestroyable- Throws:
Exception
-