1 16 17 package org.apache.taglibs.standard.tag.rt.core; 18 19 import javax.servlet.jsp.JspTagException ; 20 import javax.servlet.jsp.jstl.core.LoopTag; 21 import javax.servlet.jsp.tagext.IterationTag ; 22 23 import org.apache.taglibs.standard.tag.common.core.ForTokensSupport; 24 25 31 32 public class ForTokensTag 33 extends ForTokensSupport 34 implements LoopTag, IterationTag 35 { 36 37 40 public void setBegin(int begin) throws JspTagException { 42 this.beginSpecified = true; 43 this.begin = begin; 44 validateBegin(); 45 } 46 47 public void setEnd(int end) throws JspTagException { 49 this.endSpecified = true; 50 this.end = end; 51 validateEnd(); 52 } 53 54 public void setStep(int step) throws JspTagException { 56 this.stepSpecified = true; 57 this.step = step; 58 validateStep(); 59 } 60 61 public void setItems(String s) throws JspTagException { 63 items = s; 64 if (s == null) 66 items = ""; 67 } 68 69 public void setDelims(String s) throws JspTagException { 71 delims = s; 72 if (s == null) 74 delims = ""; 75 } 76 77 } 78 | Popular Tags |