Package org.apache.tapestry5.internal.clojure

## Class DefaultMapper

- java.lang.Object
- - org.apache.tapestry5.internal.clojure.DefaultMapper

- All Implemented Interfaces:
    `MethodToFunctionSymbolMapper`

      public class DefaultMapper
      extends java.lang.Object
      implements MethodToFunctionSymbolMapper

  Default implementation that transforms a camelCased method-name to a clojure-style function name.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultMapper()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `clojure.lang.Symbol` | `mapMethod​(java.lang.String namespace, java.lang.reflect.Method method)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultMapper

          public DefaultMapper()

  - ### Method Detail

    - #### mapMethod

          public clojure.lang.Symbol mapMethod​(java.lang.String namespace,
                                               java.lang.reflect.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)