Class DefaultMacroIdSupplier

java.lang.Object
com.atlassian.confluence.content.render.xhtml.editor.macro.DefaultMacroIdSupplier
All Implemented Interfaces:
MacroIdSupplier, com.google.common.base.Supplier<MacroId>, Supplier<MacroId>

public class DefaultMacroIdSupplier extends Object implements MacroIdSupplier
The default implementation of MacroIdSupplier which uses a randomly generated UUID to generate a unique MacroId.

Even though this supplier generates globally unique UUID's you can only assume they are unique within the current version of a single page. This is because they are not reset after a page is created via rpc, copied or restored from the history.

  • Constructor Details

    • DefaultMacroIdSupplier

      public DefaultMacroIdSupplier()
  • Method Details