public interface RendererBuilder extends DataHolder
Modifier and Type | Method and Description |
---|---|
RendererBuilder |
attributeProviderFactory(AttributeProviderFactory attributeProviderFactory)
Add an attribute provider for adding/changing HTML attributes to the rendered tags.
|
RendererBuilder |
htmlIdGeneratorFactory(HeaderIdGeneratorFactory htmlIdGeneratorFactory)
Add a factory for generating the header id attribute from the header's text
|
RendererBuilder |
linkResolverFactory(LinkResolverFactory linkResolverFactory)
Add a factory for instantiating a node renderer (done when rendering).
|
contains, get, getAll, keySet, toImmutable, toMutable
RendererBuilder attributeProviderFactory(AttributeProviderFactory attributeProviderFactory)
attributeProviderFactory
- the attribute provider factory to addthis
RendererBuilder linkResolverFactory(LinkResolverFactory linkResolverFactory)
If multiple node renderers for the same node type are created, the one from the factory that was added first "wins". (This is how the rendering for core node types can be overridden; the default rendering comes last.)
linkResolverFactory
- the factory for creating a node rendererthis
RendererBuilder htmlIdGeneratorFactory(HeaderIdGeneratorFactory htmlIdGeneratorFactory)
htmlIdGeneratorFactory
- the factory for generating header tag id attributesthis
Copyright © 2018. All rights reserved.