Package org.apache.wicket
Interface IMarkupIdGenerator
-
- All Known Implementing Classes:
DefaultMarkupIdGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IMarkupIdGenerator
Generates markup ids for components
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
generateMarkupId(Component component, boolean createIfDoesNotExist)
Generates markup id for the given component
-
-
-
Method Detail
-
generateMarkupId
String generateMarkupId(Component component, boolean createIfDoesNotExist)
Generates markup id for the given component- Parameters:
component
- The component for which to generate a markup idcreateIfDoesNotExist
- When there is no existing markup id, determines whether it should be generated or whethernull
should be returned.- Returns:
- The generated markup id
-
-