blob: c55e1879a93cba5a5490868c104fec174e01c811 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.cocoon.template.instruction;
/**
* @version SVN $Id$
*/
public class LoopTagStatus {
private Object current;
private int index;
private int count;
private boolean first;
private boolean last;
private int begin;
private int end;
private int step;
public void setBegin(int begin) {
this.begin = begin;
}
public int getBegin() {
return begin;
}
public void setEnd(int end) {
this.end = end;
}
public int getEnd() {
return end;
}
public void setStep(int step) {
this.step = step;
}
public int getStep() {
return step;
}
public void setFirst(boolean first) {
this.first = first;
}
public boolean isFirst() {
return first;
}
public void setIndex(int index) {
this.index = index;
}
public int getIndex() {
return index;
}
public void setCount(int count) {
this.count = count;
}
public int getCount() {
return count;
}
public void setCurrent(Object current) {
this.current = current;
}
public Object getCurrent() {
return current;
}
public void setLast(boolean last) {
this.last = last;
}
public boolean isLast() {
return last;
}
}