diff --git a/src/xid/TagsDataByIndex.java b/src/xid/TagsDataByIndex.java new file mode 100644 index 0000000..9fe2cb1 --- /dev/null +++ b/src/xid/TagsDataByIndex.java @@ -0,0 +1,46 @@ +package xid; + +import java.util.*; +import java.io.*; + +/* + * + */ +public class TagsDataByIndex extends Vector implements TagDataCore +{ + public enum IterationStrategy {ONLY_FIRST_ROW, ONLY_ROW_WITH_ID, ONLY_ROW_WITHOU_ID, ALL_ROWS} + + protected IterationStrategy iterationStrategy; + + /** + * + */ + public TagsDataByIndex () + { + super (); + this.iterationStrategy = IterationStrategy.ONLY_FIRST_ROW; + } + + + /** + * + */ + public void setIterationStrategy (IterationStrategy strategy) + { + this.iterationStrategy = strategy; + } + + + /** + * + */ + public IterationStrategy setIterationStrategy () + { + IterationStrategy result; + + result = this.iterationStrategy; + + // + return (result); + } +}