01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.common.utils.xml;
09:
10: //base classes
11:
12: //project specific classes
13:
14: //other classes
15:
16: final class XPathElementTuple {
17:
18: private String name = null;
19: private int index = 0;
20:
21: XPathElementTuple(String inName, int inIndex) {
22: this .name = inName;
23: this .index = inIndex;
24: }
25:
26: public String getName() {
27: return this .name;
28: }
29:
30: public int getIndex() {
31: return this.index;
32: }
33:
34: }
|