org.apache.tapestry5.internal.services

## Class FormControlNameManagerImpl

- java.lang.Object
- - org.apache.tapestry5.internal.services.FormControlNameManagerImpl

- All Implemented Interfaces:
    FormControlNameManager

      public class FormControlNameManagerImpl
      extends Object
      implements FormControlNameManager

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FormControlNameManagerImpl(String preselectedFormNames)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<String>` | `getReservedNames()` Returns the set of reserved form names (ones that shouldn't be used as HTML elements client ids).
    `boolean` | `isReserved(String name)` Tells whether a given name is reserved.

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

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

- - ### Constructor Detail

    - #### FormControlNameManagerImpl

          public FormControlNameManagerImpl(@Symbol(value="tapestry.reserved-form-control-names")
                                            String preselectedFormNames)

  - ### Method Detail

    - #### getReservedNames

          public Set<String> getReservedNames()

      Description copied from interface: `FormControlNameManager`
      Returns the set of reserved form names (ones that shouldn't be used as HTML elements client ids).
      Specified by:
        `getReservedNames` in interface `FormControlNameManager`
      Returns:
        a `Set` of `String`s.

    - #### isReserved

          public boolean isReserved(String name)

      Description copied from interface: `FormControlNameManager`
      Tells whether a given name is reserved.
      Specified by:
        `isReserved` in interface `FormControlNameManager`

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.