com.vaadin.sass.internal.resolver
Class VaadinResolver

java.lang.Object
  extended by com.vaadin.sass.internal.resolver.VaadinResolver
All Implemented Interfaces:
ScssStylesheetResolver

public class VaadinResolver
extends java.lang.Object
implements ScssStylesheetResolver


Constructor Summary
VaadinResolver()
           
 
Method Summary
 org.w3c.css.sac.InputSource resolve(java.lang.String identifier)
          Called with the "identifier" of a stylesheet that the resolver should try to find.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VaadinResolver

public VaadinResolver()
Method Detail

resolve

public org.w3c.css.sac.InputSource resolve(java.lang.String identifier)
Description copied from interface: ScssStylesheetResolver
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".

Specified by:
resolve in interface ScssStylesheetResolver
Parameters:
identifier - used fo find stylesheet
Returns:
InputSource for stylesheet (with URI set) or null if not found


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.