public Occurence (XSCMRepeatingLeaf leaf, int elemIndex) { minOccurs = leaf.getMinOccurs(); maxOccurs = leaf.getMaxOccurs(); this.elemIndex = elemIndex; } public String toString() {
public CMNode getCMRepeatingLeafNode(int type, Object leaf, int minOccurs, int maxOccurs, int id, int position) { nodeCountCheck(); return new XSCMRepeatingLeaf(type, leaf, minOccurs, maxOccurs, id, position); }