Class DefaultMapper

java.lang.Object
org.apache.tapestry5.internal.clojure.DefaultMapper
All Implemented Interfaces:
MethodToFunctionSymbolMapper

public class DefaultMapper extends Object implements MethodToFunctionSymbolMapper
Default implementation that transforms a camelCased method-name to a clojure-style function name.
  • Constructor Details

  • Method Details

    • mapMethod

      public clojure.lang.Symbol mapMethod(String namespace, Method method)
      Specified by:
      mapMethod in interface MethodToFunctionSymbolMapper
      Parameters:
      namespace - namespace for the service (from Namespace annotation)
      method - method for which a function name is desired.
      Returns:
      Symbol for this method, or null (to drop down to next mapper)