@SupportedResourceType(value=CSS) public class SassCssProcessor extends Object implements ResourcePreProcessor, ResourcePostProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS |
static String |
ALIAS_RUBY |
| Constructor and Description |
|---|
SassCssProcessor()
default constructor that sets the engine used to RHINO for backwards compatibility.
|
| Modifier and Type | Method and Description |
|---|---|
protected SassCss |
newEngine()
Method for processing with Rhino based engine
|
protected void |
onException(WroRuntimeException e)
Invoked when a processing exception occurs.
|
void |
process(Reader reader,
Writer writer) |
void |
process(Resource resource,
Reader reader,
Writer writer) |
public static final String ALIAS
public static final String ALIAS_RUBY
public SassCssProcessor()
public void process(Resource resource, Reader reader, Writer writer) throws IOException
process in interface ResourcePreProcessorIOExceptionprotected void onException(WroRuntimeException e)
protected SassCss newEngine()
content - public void process(Reader reader, Writer writer) throws IOException
process in interface ResourcePostProcessorIOExceptionCopyright © 2008-2013. All Rights Reserved.