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

public class InDirective extends RepeatDirective
#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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InDirective

      public InDirective()
  • Method Details

    • getName

      public String getName()
      Overrides:
      getName in class RepeatDirective
    • 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 class RepeatDirective
    • 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 class RepeatDirective
      Throws:
      IOException
    • getType

      public int getType()
      Overrides:
      getType in class RepeatDirective