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, uberInfo
Fields inherited from class org.apache.velocity.runtime.directive.Directive
log, rsvc
Fields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants
BLOCK, LINE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
getType()
void
init
(org.apache.velocity.runtime.RuntimeServices rs, org.apache.velocity.context.InternalContextAdapter context, org.apache.velocity.runtime.parser.node.Node node) boolean
render
(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, put
Methods 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:
getName
in 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:
init
in classRepeatDirective
-
render
public boolean render(org.apache.velocity.context.InternalContextAdapter context, Writer writer, org.apache.velocity.runtime.parser.node.Node node) throws IOException - Overrides:
render
in classRepeatDirective
- Throws:
IOException
-
getType
public int getType()- Overrides:
getType
in classRepeatDirective
-