Package org.mybatis.scripting.velocity
Class InDirective
java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.mybatis.scripting.velocity.RepeatDirective
org.mybatis.scripting.velocity.InDirective
- All Implemented Interfaces:
Cloneable,org.apache.velocity.runtime.directive.DirectiveConstants
#in($collection $item COLUMN).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mybatis.scripting.velocity.RepeatDirective
RepeatDirective.NullHolderContext, RepeatDirective.RepeatScope -
Field Summary
Fields inherited from class org.mybatis.scripting.velocity.RepeatDirective
MAX_IN_CLAUSE_SIZE, uberInfoFields inherited from class org.apache.velocity.runtime.directive.Directive
log, rsvcFields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants
BLOCK, LINE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()intgetType()voidinit(org.apache.velocity.runtime.RuntimeServices rs, org.apache.velocity.context.InternalContextAdapter context, org.apache.velocity.runtime.parser.node.Node node) booleanrender(org.apache.velocity.context.InternalContextAdapter context, Writer writer, org.apache.velocity.runtime.parser.node.Node node) Methods inherited from class org.mybatis.scripting.velocity.RepeatDirective
clean, isScopeProvided, putMethods inherited from class org.apache.velocity.runtime.directive.Directive
checkArgs, getColumn, getLine, getScopeName, getTemplate, getTemplateName, makeScope, postRender, preRender, setLocation, setLocation
-
Constructor Details
-
InDirective
public InDirective()
-
-
Method Details
-
getName
- Overrides:
getNamein classRepeatDirective
-
init
public void init(org.apache.velocity.runtime.RuntimeServices rs, org.apache.velocity.context.InternalContextAdapter context, org.apache.velocity.runtime.parser.node.Node node) - Overrides:
initin classRepeatDirective
-
render
public boolean render(org.apache.velocity.context.InternalContextAdapter context, Writer writer, org.apache.velocity.runtime.parser.node.Node node) throws IOException - Overrides:
renderin classRepeatDirective- Throws:
IOException
-
getType
public int getType()- Overrides:
getTypein classRepeatDirective
-