public class DataSourceGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DataSourceGenerator.VelocityFunctions |
| Constructor and Description |
|---|
DataSourceGenerator(NamespaceManager nsManager,
File templateDir,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRegexRule(RegexRule rule) |
void |
close() |
void |
generate(Shape shape,
Function func,
ShapeManager shapeManager) |
void |
generate(Shape shape,
String templateName,
ShapeManager shapeManager) |
org.apache.velocity.VelocityContext |
getContext() |
File |
getTemplateDir() |
File |
getVelocityLog() |
void |
put(Properties properties) |
void |
setVelocityLog(File velocityLog) |
public DataSourceGenerator(NamespaceManager nsManager, File templateDir, Properties properties)
public void addRegexRule(RegexRule rule)
public File getTemplateDir()
public File getVelocityLog()
public void setVelocityLog(File velocityLog)
public void close()
public void put(Properties properties)
public void generate(Shape shape, Function func, ShapeManager shapeManager)
public void generate(Shape shape, String templateName, ShapeManager shapeManager)
public org.apache.velocity.VelocityContext getContext()
Copyright © 2018. All rights reserved.