com.atlassian.confluence.content.render.xhtml
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 particular ConversionContext
.
Instances of this interface are not required to be thread safe.
generateId
java.lang.String generateId()
- Returns:
- an auto-generate id unique within the context of a particular
ConversionContext
.
generateId
java.lang.String generateId(java.lang.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
.
Copyright © 2003-2014 Atlassian. All Rights Reserved.