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).
  • 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