Class DefaultGssFunctionMapProvider
- java.lang.Object
-
- com.google.common.css.compiler.gssfunctions.DefaultGssFunctionMapProvider
-
- All Implemented Interfaces:
GssFunctionMapProvider
public class DefaultGssFunctionMapProvider extends java.lang.Object implements GssFunctionMapProvider
Provides the default set of functions that are bundled with Closure Stylesheets.
-
-
Constructor Summary
Constructors Constructor Description DefaultGssFunctionMapProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,GssFunction>get()<F> java.util.Map<java.lang.String,F>get(java.lang.Class<F> gssFunctionClass)Gets the map of custom GSS functions for the given class.
-
-
-
Method Detail
-
get
public java.util.Map<java.lang.String,GssFunction> get()
-
get
public <F> java.util.Map<java.lang.String,F> get(java.lang.Class<F> gssFunctionClass)
Description copied from interface:GssFunctionMapProviderGets the map of custom GSS functions for the given class.- Specified by:
getin interfaceGssFunctionMapProvider- Type Parameters:
F- the interface implemented by the GSS functions- Parameters:
gssFunctionClass- the class ofF- Returns:
- a map from each custom function name to its implementation
-
-