public class TemplateRenderer extends Object
Constructor and Description |
---|
TemplateRenderer(String template)
Constructs a template renderer
|
Modifier and Type | Method and Description |
---|---|
int |
getAnticipatedNumberOfArguments() |
String |
getTemplate() |
String |
render(List args,
SessionFactoryImplementor factory)
The rendering code.
|
public TemplateRenderer(String template)
template
- The templatepublic String getTemplate()
public int getAnticipatedNumberOfArguments()
public String render(List args, SessionFactoryImplementor factory)
args
- The arguments to inject into the templatefactory
- The SessionFactoryCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.