Package 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
  Description
  `FormControlNameManagerImpl(String preselectedFormNames)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### FormControlNameManagerImpl

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

- ## Method Details

  - ### 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`