Home | History | Annotate | Download | only in ref

Lines Matching refs:Axis

95    * over an XPath axis, though perhaps not in document order.
97 * @param axis One of Axes.ANCESTORORSELF, etc.
99 * @return A DTMAxisTraverser, or null if the given axis isn't supported.
101 public DTMAxisTraverser getAxisTraverser(final int axis)
108 m_traversers = new DTMAxisTraverser[Axis.getNamesLength()];
113 traverser = m_traversers[axis]; // Share/reuse existing traverser
119 switch (axis) // Generate new traverser
121 case Axis.ANCESTOR :
124 case Axis.ANCESTORORSELF :
127 case Axis.ATTRIBUTE :
130 case Axis.CHILD :
133 case Axis.DESCENDANT :
136 case Axis.DESCENDANTORSELF :
139 case Axis.FOLLOWING :
142 case Axis.FOLLOWINGSIBLING :
145 case Axis.NAMESPACE :
148 case Axis.NAMESPACEDECLS :
151 case Axis.PARENT :
154 case Axis.PRECEDING :
157 case Axis.PRECEDINGSIBLING :
160 case Axis.SELF :
163 case Axis.ALL :
166 case Axis.ALLFROMNODE :
169 case Axis.PRECEDINGANDANCESTOR :
172 case Axis.DESCENDANTSFROMROOT :
175 case Axis.DESCENDANTSORSELFFROMROOT :
178 case Axis.ROOT :
181 case Axis.FILTEREDLIST :
184 throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_UNKNOWN_AXIS_TYPE, new Object[]{Integer.toString(axis)})); //"Unknown axis traversal type: "+axis);
188 throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_AXIS_TRAVERSER_NOT_SUPPORTED, new Object[]{Axis.getNames(axis)}));
189 // "Axis traverser not supported: "
190 // + Axis.names[axis]);
192 m_traversers[axis] = traverser;
339 * @param axisRoot The root identity of the axis.
365 // we know it is past the child axis.
399 * an axis, the first function must be used to get the first node.
401 * <p>This method needs to be overloaded only by those axis that process
416 * an axis, the first function must be used to get the first node.
418 * <p>This method needs to be overloaded only by those axis that process
515 * Tell if a node is outside the axis being traversed. This method must be
517 * node that occurs after the axis root.
519 * @param axisRoot The root identity of the axis.
522 * @return true if the given node falls outside the axis being traversed.
527 * Tell if the axis has been fully processed to tell if a the wait for
531 * @param axisRoot The root identity of the axis.
533 * @return true if the axis has been fully processed.
543 * @param axisRoot The root identity of the axis.
597 * Tell if the axis has been fully processed to tell if a the wait for
600 * @param axisRoot The root identity of the axis.
602 * @return true if the axis has been fully processed.
640 * Tell if a node is outside the axis being traversed. This method must be
642 * node that occurs after the axis root.
644 * @param axisRoot The root identity of the axis.
647 * @return true if the given node falls outside the axis being traversed.
668 * an axis, the first function must be used to get the first node.
670 * <p>This method needs to be overloaded only by those axis that process
765 * axis context, in this case.
769 * @return The axis context.
1132 * an axis, the first function must be used to get the first node.
1134 * <p>This method needs to be overloaded only by those axis that process
1149 * an axis, the first function must be used to get the first node.
1151 * <p>This method needs to be overloaded only by those axis that process
1217 * But the preceding axis is used fairly infrequently.
1219 * @param contextIdent The context node of the axis traversal.
1295 * Implements traversal of the Ancestor and the Preceding axis,
1399 * Implements traversal of the Self axis.
1441 * @return Always return NULL for this axis.
1551 * Implements traversal of the Self axis.
1577 * @return Always return NULL for this axis.
1601 * A non-xpath axis, returns all nodes that aren't namespaces or attributes,
1608 * Get the first potential identity that can be returned, which is the axis
1646 * an axis, the first function must be used to get the first node.
1648 * <p>This method needs to be overloaded only by those axis that process
1673 * A non-xpath axis, returns all nodes that aren't namespaces or attributes,
1680 * Get the first potential identity that can be returned, which is the axis
1717 * an axis, the first function must be used to get the first node.
1719 * <p>This method needs to be overloaded only by those axis that process