Interface ElementIdCreator
-
- All Known Implementing Classes:
HtmlElementIdCreator
public interface ElementIdCreator
Implemented by a class that can create id's for Elements suitable for use in the context of a particularConversionContext
.Instances of this interface are not required to be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
generateId()
String
generateId(String basis)
-
-
-
Method Detail
-
generateId
String generateId()
- Returns:
- an auto-generate id unique within the context of a particular
ConversionContext
.
-
generateId
String generateId(String basis)
- Parameters:
basis
- a String to base the generated unique id on- Returns:
- an id created from the supplied parameter which is unique within the context of a particular
ConversionContext
.
-
-