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 java.lang.Object implements HeaderIdGeneratorFactory
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderIdGenerator
create()
Create an id generatorHeaderIdGenerator
create(LinkResolverContext context)
Create a new HeaderIdGenerator for the specified resolver context.
-
-
-
Method Detail
-
create
@NotNull public HeaderIdGenerator create(@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 HeaderIdGenerator create()
Description copied from interface:HtmlIdGeneratorFactory
Create an id generator- Specified by:
create
in interfaceHtmlIdGeneratorFactory
- Returns:
- an html id generator
-
-