Package org.zkoss.stateless.ui.util

## Class Normalizer

- java.lang.Object
- - org.zkoss.stateless.ui.util.Normalizer

-     public final class Normalizer
      extends java.lang.Object

  This class provides the method normalize which transforms CSS selector into ZK widget selector.
  Author:
    jumperchen

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static java.lang.String` | `normalize​(java.lang.String selector)` | Converts a CSS selector into ZK widget selector.

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

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

- - ### Constructor Detail

    - #### Normalizer

          public Normalizer()

  - ### Method Detail

    - #### normalize

          public static java.lang.String normalize​(java.lang.String selector)

      Converts a CSS selector into ZK widget selector. i.e. converts from `#btn` to `$btn` and from `button` to @`button`.
      Parameters:
        `selector` - The CSS selector
      Returns:
        a ZK widget selector.