Class ForEach

  • All Implemented Interfaces:
    TagPlugin

    public final class ForEach
    extends java.lang.Object
    implements TagPlugin
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean hasBegin  
      private boolean hasEnd  
      private boolean hasStep  
      private boolean hasVar  
    • Constructor Summary

      Constructors 
      Constructor Description
      ForEach()  
    • Field Detail

      • hasVar

        private boolean hasVar
      • hasBegin

        private boolean hasBegin
      • hasEnd

        private boolean hasEnd
      • hasStep

        private boolean hasStep
    • Constructor Detail

      • ForEach

        public ForEach()
    • Method Detail

      • 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