public class RenderContextFactory extends Object
RenderContext
based on Dialect
.Modifier and Type | Field and Description |
---|---|
Dialect |
dialect |
RenderNamingStrategy |
namingStrategy |
Constructor and Description |
---|
RenderContextFactory(Dialect dialect)
Creates a new
RenderContextFactory given Dialect . |
Modifier and Type | Method and Description |
---|---|
RenderContext |
createRenderContext()
Returns a
RenderContext configured with Dialect specifics. |
void |
setNamingStrategy(RenderNamingStrategy namingStrategy)
Set a
RenderNamingStrategy . |
public final Dialect dialect
public RenderNamingStrategy namingStrategy
public RenderContextFactory(Dialect dialect)
RenderContextFactory
given Dialect
.dialect
- must not be null.public void setNamingStrategy(RenderNamingStrategy namingStrategy)
RenderNamingStrategy
.namingStrategy
- must not be null.public RenderContext createRenderContext()
RenderContext
configured with Dialect
specifics.RenderContext
.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.