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.


Method Summary
 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.


Copyright © 2003-2011 Atlassian. All Rights Reserved.