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
All Methods Instance Methods Concrete Methods 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.
-
-
-
Constructor Detail
-
FormControlNameManagerImpl
public FormControlNameManagerImpl(@Symbol("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 interfaceFormControlNameManager
- Returns:
- a
Set
ofString
s.
-
isReserved
public boolean isReserved(String name)
Description copied from interface:FormControlNameManager
Tells whether a given name is reserved.- Specified by:
isReserved
in interfaceFormControlNameManager
-
-