com.vaadin.sass.internal.resolver
Interface ScssStylesheetResolver

All Known Implementing Classes:
AbstractResolver, ClassloaderResolver, FilesystemResolver

public interface ScssStylesheetResolver


Method Summary
 org.w3c.css.sac.InputSource resolve(ScssStylesheet parentStylesheet, String identifier)
          Called with the "identifier" of a stylesheet that the resolver should try to find.
 

Method Detail

resolve

org.w3c.css.sac.InputSource resolve(ScssStylesheet parentStylesheet,
                                    String identifier)
Called with the "identifier" of a stylesheet that the resolver should try to find. The identifier is basically a filename, like "runo.scss" or "addon/styles.scss", but might exclude ".scss". The resolver must InputSource.setURI(String) to the final location where the stylesheet was found, e.g "runo.scss" might result in a URI like "VAADIN/themes/runo/runo.scss".

Parameters:
parentStylesheet - The parent style sheet
identifier - used fo find stylesheet
Returns:
InputSource for stylesheet (with URI set) or null if not found


Copyright © 2013–2014 Vaadin. All rights reserved.