Lines Matching refs:axis
89 * Get an iterator that can navigate over an XPath Axis, predicated by
94 * @param axis One of Axes.ANCESTORORSELF, etc.
97 * @return A DTMAxisIterator, or null if the given axis isn't supported.
99 public DTMAxisIterator getTypedAxisIterator(int axis, int type)
113 // iterator = new FilterIterator(getAxisIterator(axis),
118 switch (axis)
120 case Axis.SELF :
123 case Axis.CHILD :
126 case Axis.PARENT :
128 case Axis.ANCESTOR :
130 case Axis.ANCESTORORSELF :
132 case Axis.ATTRIBUTE :
134 case Axis.DESCENDANT :
137 case Axis.DESCENDANTORSELF :
140 case Axis.FOLLOWING :
143 case Axis.PRECEDING :
146 case Axis.FOLLOWINGSIBLING :
149 case Axis.PRECEDINGSIBLING :
152 case Axis.NAMESPACE :
155 case Axis.ROOT :
161 new Object[]{Axis.getNames(axis)}));
162 //"Error: typed iterator for axis "
163 //+ Axis.names[axis] + "not implemented");
176 * @param axis One of Axes.ANCESTORORSELF, etc.
178 * @return A DTMAxisIterator, or null if the given axis isn't supported.
180 public DTMAxisIterator getAxisIterator(final int axis)
185 switch (axis)
187 case Axis.SELF :
190 case Axis.CHILD :
193 case Axis.PARENT :
195 case Axis.ANCESTOR :
197 case Axis.ANCESTORORSELF :
199 case Axis.ATTRIBUTE :
201 case Axis.DESCENDANT :
204 case Axis.DESCENDANTORSELF :
207 case Axis.FOLLOWING :
210 case Axis.PRECEDING :
213 case Axis.FOLLOWINGSIBLING :
216 case Axis.PRECEDINGSIBLING :
219 case Axis.NAMESPACE :
222 case Axis.ROOT :
228 new Object[]{Axis.getNames(axis)}));
229 //"Error: iterator for axis '" + Axis.names[axis]
240 * individual axis iterator.
1090 * True if this iterator has a reversed axis.
1257 * True if this iterator has a reversed axis.
1259 * @return true since this iterator is a reversed axis.
1490 m_traverser = getAxisTraverser(Axis.FOLLOWING);
1611 * True if this iterator has a reversed axis.
1613 * @return true since this iterator is a reversed axis.