Class SassCssProcessor
java.lang.Object
ro.isdc.wro.extensions.processor.css.SassCssProcessor
- All Implemented Interfaces:
Destroyable,ResourcePostProcessor,ResourcePreProcessor
@SupportedResourceType(CSS)
public class SassCssProcessor
extends Object
implements ResourcePreProcessor, ResourcePostProcessor, Destroyable
A processor using sass engine:
- Author:
- Alex Objelean
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructor that sets the engine used to RHINO for backwards compatibility. -
Method Summary
-
Field Details
-
ALIAS
- See Also:
-
ALIAS_RUBY
- See Also:
-
-
Constructor Details
-
SassCssProcessor
public SassCssProcessor()default constructor that sets the engine used to RHINO for backwards compatibility.
-
-
Method Details
-
process
- Specified by:
processin interfaceResourcePreProcessor- Throws:
IOException
-
onException
Invoked when a processing exception occurs. By default the exception is thrown further. -
newEngine
Method for processing with Rhino based engine -
process
- Specified by:
processin interfaceResourcePostProcessor- Throws:
IOException
-
destroy
- Specified by:
destroyin interfaceDestroyable- Throws:
Exception
-