Lines Matching refs:context

206      * @param context The context node if this iteration.
211 public int next(int context, int current)
220 * @param context The context node of this iteration.
226 public int next(int context, int current, int expandedTypeID)
248 * By the nature of the stateless traversal, the context node can not be
252 * @param context The context node of this traversal.
256 public int first(int context)
258 return context;
262 * By the nature of the stateless traversal, the context node can not be
264 * the self node should be processed, use this function. If the context
268 * @param context The context node of this traversal.
273 public int first(int context, int expandedTypeID)
275 return (getExpandedTypeID(context) == expandedTypeID)
276 ? context : next(context, context, expandedTypeID);
289 * @param context The context node of this iteration.
294 public int next(int context, int current)
296 return (context == current)
297 ? getFirstAttribute(context) : getNextAttribute(current);
304 * @param context The context node of this iteration.
310 public int next(int context, int current, int expandedTypeID)
313 current = (context == current)
314 ? getFirstAttribute(context) : getNextAttribute(current);
397 * By the nature of the stateless traversal, the context node can not be
404 * @param context The context node of this traversal. This is the point
408 public int first(int context)
410 return getFirstChild(context);
414 * By the nature of the stateless traversal, the context node can not be
421 * @param context The context node of this traversal. This is the point
427 public int first(int context, int expandedTypeID)
431 int identity = makeNodeIdentity(context);
441 for (int current = _firstch(makeNodeIdentity(context));
455 * @param context The context node of this iteration.
460 public int next(int context, int current)
469 * @param context The context node of this iteration.
475 public int next(int context, int current, int expandedTypeID)
587 * @param identity The node identity of the root context of the traversal.
612 * context of the traversal.
614 * @param handle handle to the root context.
630 * @param subtreeRootIdentity The root context of the subtree in question.
666 * By the nature of the stateless traversal, the context node can not be
673 * @param context The context node of this traversal. This is the point
679 public int first(int context, int expandedTypeID)
684 int identity = getSubtreeRoot(context);
690 return next(context, context, expandedTypeID);
696 * @param context The context node of this iteration.
701 public int next(int context, int current)
704 int subtreeRootIdent = getSubtreeRoot(context);
724 * @param context The context node of this iteration.
730 public int next(int context, int current, int expandedTypeID)
733 int subtreeRootIdent = getSubtreeRoot(context);
765 * axis context, in this case.
767 * @param identity The node identity of the root context of the traversal.
769 * @return The axis context.
777 * By the nature of the stateless traversal, the context node can not be
781 * @param context The context node of this traversal.
785 public int first(int context)
787 return context;
800 * @param context The context node of this iteration.
805 public int next(int context, int current)
808 int subtreeRootIdent = makeNodeIdentity(context);
836 * @param context The context node of this traversal. This is the point
840 public int first(int context)
843 context=makeNodeIdentity(context);
846 int type = _type(context);
850 context = _parent(context);
851 first = _firstch(context);
859 first = _nextsib(context);
862 context = _parent(context);
864 while (NULL == first && NULL != context);
872 * @param context The context node of this traversal. This is the point
878 public int first(int context, int expandedTypeID)
883 int type = getNodeType(context);
887 context = getParent(context);
888 first = getFirstChild(context);
895 return next(context, first, expandedTypeID);
901 first = getNextSibling(context);
904 context = getParent(context);
910 return next(context, first, expandedTypeID);
913 while (NULL == first && NULL != context);
921 * @param context The context node of this iteration.
926 public int next(int context, int current)
952 * @param context The context node of this iteration.
958 public int next(int context, int current, int expandedTypeID)
989 * @param context The context node of this iteration.
994 public int next(int context, int current)
1003 * @param context The context node of this iteration.
1009 public int next(int context, int current, int expandedTypeID)
1031 * @param context The context node of this iteration.
1036 public int next(int context, int current)
1039 return (context == current)
1040 ? getFirstNamespaceNode(context, false)
1041 : getNextNamespaceNode(context, current, false);
1048 * @param context The context node of this iteration.
1054 public int next(int context, int current, int expandedTypeID)
1057 current = (context == current)
1058 ? getFirstNamespaceNode(context, false)
1059 : getNextNamespaceNode(context, current, false);
1067 != (current = getNextNamespaceNode(context, current, false)));
1082 * @param context The context node of this iteration.
1087 public int next(int context, int current)
1090 return (context == current)
1091 ? getFirstNamespaceNode(context, true)
1092 : getNextNamespaceNode(context, current, true);
1099 * @param context The context node of this iteration.
1105 public int next(int context, int current, int expandedTypeID)
1108 current = (context == current)
1109 ? getFirstNamespaceNode(context, true)
1110 : getNextNamespaceNode(context, current, true);
1118 != (current = getNextNamespaceNode(context, current, true)));
1130 * By the nature of the stateless traversal, the context node can not be
1137 * @param context The context node of this traversal. This is the point
1141 public int first(int context)
1143 return getParent(context);
1147 * By the nature of the stateless traversal, the context node can not be
1154 * @param context The context node of this traversal. This is the point
1178 * @param context The context node of this iteration.
1183 public int next(int context, int current)
1195 * @param context The context node of this iteration.
1201 public int next(int context, int current, int expandedTypeID)
1215 * Tell if the current identity is an ancestor of the context identity.
1219 * @param contextIdent The context node of the axis traversal.
1240 * @param context The context node of this iteration.
1245 public int next(int context, int current)
1248 int subtreeRootIdent = makeNodeIdentity(context);
1268 * @param context The context node of this iteration.
1274 public int next(int context, int current, int expandedTypeID)
1277 int subtreeRootIdent = makeNodeIdentity(context);
1304 * @param context The context node of this iteration.
1309 public int next(int context, int current)
1312 int subtreeRootIdent = makeNodeIdentity(context );
1331 * @param context The context node of this iteration.
1337 public int next(int context, int current, int expandedTypeID)
1340 int subtreeRootIdent = makeNodeIdentity(context);
1365 * @param context The context node of this iteration.
1370 public int next(int context, int current)
1379 * @param context The context node of this iteration.
1385 public int next(int context, int current, int expandedTypeID)
1405 * By the nature of the stateless traversal, the context node can not be
1409 * @param context The context node of this traversal.
1413 public int first(int context)
1415 return context;
1419 * By the nature of the stateless traversal, the context node can not be
1421 * the self node should be processed, use this function. If the context
1425 * @param context The context node of this traversal.
1430 public int first(int context, int expandedTypeID)
1432 return (getExpandedTypeID(context) == expandedTypeID) ? context : NULL;
1438 * @param context The context node of this iteration.
1443 public int next(int context, int current)
1452 * @param context The context node of this iteration.
1458 public int next(int context, int current, int expandedTypeID)
1473 * @param context The context node of this traversal.
1477 public int first(int context)
1479 return getDocumentRoot(context);
1485 * @param context The context node of this traversal.
1490 public int first(int context, int expandedTypeID)
1492 return (getExpandedTypeID(getDocumentRoot(context)) == expandedTypeID)
1493 ? context : next(context, context, expandedTypeID);
1499 * @param context The context node of this iteration.
1504 public int next(int context, int current)
1507 int subtreeRootIdent = makeNodeIdentity(context);
1524 * @param context The context node of this iteration.
1530 public int next(int context, int current, int expandedTypeID)
1533 int subtreeRootIdent = makeNodeIdentity(context);
1559 * @param context The context node of this traversal.
1564 public int first(int context, int expandedTypeID)
1566 int root=getDocumentRoot(context);
1574 * @param context The context node of this iteration.
1579 public int next(int context, int current)
1588 * @param context The context node of this iteration.
1594 public int next(int context, int current, int expandedTypeID)
1609 * root context in this case.
1611 * @param identity The node identity of the root context of the traversal.
1622 * @param handle handle to the root context.
1634 * @param context The context node of this traversal.
1638 public int first(int context)
1640 return getDocumentRoot(context);
1644 * By the nature of the stateless traversal, the context node can not be
1651 * @param context The context node of this traversal. This is the point
1657 public int first(int context, int expandedTypeID)
1667 int root = first(context);
1681 * root context in this case.
1683 * @param identity The node identity of the root context of the traversal.
1694 * @param handle handle to the root context.
1705 * @param context The context node of this traversal.
1709 public int first(int context)
1715 * By the nature of the stateless traversal, the context node can not be
1722 * @param context The context node of this traversal. This is the point
1728 public int first(int context, int expandedTypeID)
1738 int root = getDocumentRoot(context);