Package org.mybatis.scripting.velocity
Class VelocityLanguageDriver
java.lang.Object
org.mybatis.scripting.velocity.VelocityLanguageDriver
- All Implemented Interfaces:
org.apache.ibatis.scripting.LanguageDriver
- Direct Known Subclasses:
Driver
public class VelocityLanguageDriver
extends Object
implements org.apache.ibatis.scripting.LanguageDriver
The
LanguageDriver
using Velocity.
This class rename from Driver
.
- Since:
- 2.1.0
- Author:
- Kazuki Shimizu
-
Constructor Summary
ConstructorDescriptionDefault constructor.VelocityLanguageDriver
(VelocityLanguageDriverConfig driverConfig) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ibatis.executor.parameter.ParameterHandler
createParameterHandler
(org.apache.ibatis.mapping.MappedStatement mappedStatement, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql) org.apache.ibatis.mapping.SqlSource
createSqlSource
(org.apache.ibatis.session.Configuration configuration, String script, Class<?> parameterTypeClass) org.apache.ibatis.mapping.SqlSource
createSqlSource
(org.apache.ibatis.session.Configuration configuration, org.apache.ibatis.parsing.XNode script, Class<?> parameterTypeClass)
-
Constructor Details
-
VelocityLanguageDriver
public VelocityLanguageDriver()Default constructor. -
VelocityLanguageDriver
Constructor.- Parameters:
driverConfig
- a language driver configuration
-
-
Method Details
-
createParameterHandler
public org.apache.ibatis.executor.parameter.ParameterHandler createParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql) - Specified by:
createParameterHandler
in interfaceorg.apache.ibatis.scripting.LanguageDriver
-
createSqlSource
public org.apache.ibatis.mapping.SqlSource createSqlSource(org.apache.ibatis.session.Configuration configuration, org.apache.ibatis.parsing.XNode script, Class<?> parameterTypeClass) - Specified by:
createSqlSource
in interfaceorg.apache.ibatis.scripting.LanguageDriver
-
createSqlSource
-