Class ForEach

java.lang.Object
org.apache.jasper.tagplugins.jstl.ForEach
All Implemented Interfaces:
TagPlugin

public final class ForEach extends Object implements TagPlugin
  • Field Details

    • hasVar

      private boolean hasVar
    • hasBegin

      private boolean hasBegin
    • hasEnd

      private boolean hasEnd
    • hasStep

      private boolean hasStep
  • Constructor Details

    • ForEach

      public ForEach()
  • Method Details

    • doTag

      public void doTag(TagPluginContext ctxt)
      Description copied from interface: TagPlugin
      Generate codes for a custom tag.
      Specified by:
      doTag in interface TagPlugin
      Parameters:
      ctxt - a TagPluginContext for accessing Jasper functions
    • doCollection

      private void doCollection(TagPluginContext ctxt)
      Generate codes for Collections The pseudo code is:
    • generateIterators

      private void generateIterators(TagPluginContext ctxt)
      Generate iterators for data types supported in items