"(0x"+Integer.toHexString(getExpandedTypeID(nodeHandle))+") "+ getNodeNameX(nodeHandle)+" {"+getNamespaceURI(nodeHandle)+"}"+ "=\""+ getNodeValue(nodeHandle)+"\"]");
"(0x"+Integer.toHexString(getExpandedTypeID(nodeHandle))+") "+ getNodeNameX(nodeHandle)+" {"+getNamespaceURI(nodeHandle)+"}"+ "=\""+ getNodeValue(nodeHandle)+"\"]");
if(newEType==getExpandedTypeID(nsList.elementAt(i)))
if(newEType==getExpandedTypeID(nsList.elementAt(i)))
/** * By the nature of the stateless traversal, the context node can not be * returned or the iteration will go into an infinate loop. To see if * the self node should be processed, use this function. If the context * node does not match the expanded type ID, this function will return * false. * * @param context The context node of this traversal. * @param expandedTypeID The expanded type ID that must match. * * @return the first node in the traversal. */ public int first(int context, int expandedTypeID) { return (getExpandedTypeID(context) == expandedTypeID) ? context : NULL; }
/** * @param parm1 * @param parm2 * @param parm3 * */ public int getExpandedTypeID( String parm1, String parm2, int parm3 ) { if (DEBUG) System.out.println("getExpandedTypeID()"); return super.getExpandedTypeID( parm1, parm2, parm3); }
/** * @param parm1 * @param parm2 * @param parm3 * */ public int getExpandedTypeID( String parm1, String parm2, int parm3 ) { if (DEBUG) System.out.println("getExpandedTypeID()"); return super.getExpandedTypeID( parm1, parm2, parm3); }
/** * @param parm1 * */ public int getExpandedTypeID( int parm1 ) { if (DEBUG) System.out.println("getExpandedTypeID("+parm1+")"); return super.getExpandedTypeID( parm1); }
/** * @param parm1 * */ public int getExpandedTypeID( int parm1 ) { if (DEBUG) System.out.println("getExpandedTypeID("+parm1+")"); return super.getExpandedTypeID( parm1); }
public int getExpandedTypeID(final int nodeHandle) { if (_dom != null) { return _dom.getExpandedTypeID(nodeHandle); } else { return super.getExpandedTypeID(nodeHandle); } }
public int getExpandedTypeID(final int nodeHandle) { if (_dom != null) { return _dom.getExpandedTypeID(nodeHandle); } else { return super.getExpandedTypeID(nodeHandle); } }
public int getExpandedTypeID(String namespace, String localName, int type) { if (_dom != null) { return _dom.getExpandedTypeID(namespace, localName, type); } else { return super.getExpandedTypeID(namespace, localName, type); } }
public int getExpandedTypeID(String namespace, String localName, int type) { if (_dom != null) { return _dom.getExpandedTypeID(namespace, localName, type); } else { return super.getExpandedTypeID(namespace, localName, type); } }
/** * Return the root if it matches the expanded type ID, * else return null (nothing found) * * @param context The context node of this traversal. * @param expandedTypeID The expanded type ID that must match. * * @return the first node in the traversal. */ public int first(int context, int expandedTypeID) { int root=getDocumentRoot(context); return (getExpandedTypeID(root) == expandedTypeID) ? root : NULL; }
/** * Return the root if it matches the expanded type ID, * else return null (nothing found) * * @param context The context node of this traversal. * @param expandedTypeID The expanded type ID that must match. * * @return the first node in the traversal. */ public int first(int context, int expandedTypeID) { int root=getDocumentRoot(context); return (getExpandedTypeID(root) == expandedTypeID) ? root : NULL; }
/** * Returns the attribute node of a given type (if any) for an element */ public int getAttributeNode(final int type, final int element) { for (int attr = getFirstAttribute(element); attr != DTM.NULL; attr = getNextAttribute(attr)) { if (getExpandedTypeID(attr) == type) return attr; } return DTM.NULL; }
/** * Returns the attribute node of a given type (if any) for an element */ public int getAttributeNode(final int type, final int element) { for (int attr = getFirstAttribute(element); attr != DTM.NULL; attr = getNextAttribute(attr)) { if (getExpandedTypeID(attr) == type) return attr; } return DTM.NULL; }
/** * Return the root if it matches the expanded type ID. * * @param context The context node of this traversal. * @param expandedTypeID The expanded type ID that must match. * * @return the first node in the traversal. */ public int first(int context, int expandedTypeID) { return (getExpandedTypeID(getDocumentRoot(context)) == expandedTypeID) ? context : next(context, context, expandedTypeID); }
/** * Return the root if it matches the expanded type ID. * * @param context The context node of this traversal. * @param expandedTypeID The expanded type ID that must match. * * @return the first node in the traversal. */ public int first(int context, int expandedTypeID) { return (getExpandedTypeID(getDocumentRoot(context)) == expandedTypeID) ? context : next(context, context, expandedTypeID); }
/** * Get the next node in the iteration. * * @return The next node handle in the iteration, or END. */ public int next() { int node; do{ node = _currentNode; _currentNode = m_traverser.next(_startNode, _currentNode); } while (node != DTM.NULL && (getExpandedTypeID(node) != _nodeType && getNodeType(node) != _nodeType)); return (node == DTM.NULL ? DTM.NULL :returnNode(node)); } } // end of TypedFollowingIterator