Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultGssFunctionMapProvider

        public DefaultGssFunctionMapProvider()
    • 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: GssFunctionMapProvider
        Gets the map of custom GSS functions for the given class.
        Specified by:
        get in interface GssFunctionMapProvider
        Type Parameters:
        F - the interface implemented by the GSS functions
        Parameters:
        gssFunctionClass - the class of F
        Returns:
        a map from each custom function name to its implementation