Class HeaderIdGenerator.Factory
- java.lang.Object
-
- com.vladsch.flexmark.html.renderer.HeaderIdGenerator.Factory
-
- All Implemented Interfaces:
HeaderIdGeneratorFactory
,HtmlIdGeneratorFactory
- Enclosing class:
- HeaderIdGenerator
public static class HeaderIdGenerator.Factory extends Object implements HeaderIdGeneratorFactory
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull HeaderIdGenerator
create()
Create an id generator@NotNull HeaderIdGenerator
create(@NotNull LinkResolverContext context)
Create a new HeaderIdGenerator for the specified resolver context.
-
-
-
Method Detail
-
create
@NotNull public @NotNull HeaderIdGenerator create(@NotNull @NotNull LinkResolverContext context)
Description copied from interface:HeaderIdGeneratorFactory
Create a new HeaderIdGenerator for the specified resolver context.- Specified by:
create
in interfaceHeaderIdGeneratorFactory
- Parameters:
context
- the context for link resolution- Returns:
- an HTML id generator.
-
create
@NotNull public @NotNull HeaderIdGenerator create()
Description copied from interface:HtmlIdGeneratorFactory
Create an id generator- Specified by:
create
in interfaceHtmlIdGeneratorFactory
- Returns:
- an html id generator
-
-