iterator = new SingletonIterator(); break; case Axis.CHILD :
iterator = new SingletonIterator(); break; case Axis.CHILD :
iterator = new SingletonIterator(); break; case Axis.CHILD :
iterator = new SingletonIterator(); break; case Axis.CHILD :
iterator = new SingletonIterator(); break; case Axis.CHILD :
return new SingletonIterator(); case Axis.CHILD: return new ChildrenIterator();
return new SingletonIterator(); case Axis.CHILD: return new ChildrenIterator();
return new SingletonIterator(); case Axis.CHILD: return new ChildrenIterator();
iterator = new SingletonIterator(); break; case Axis.CHILD :
/** * Create an org.w3c.dom.NodeList from a node in the tree */ public NodeList makeNodeList(int index) { if (_nodeLists == null) { _nodeLists = new NodeList[_namesSize]; } int nodeID = makeNodeIdentity(index); if (nodeID < 0) { return null; } else if (nodeID < _nodeLists.length) { return (_nodeLists[nodeID] != null) ? _nodeLists[nodeID] : (_nodeLists[nodeID] = new DTMAxisIterNodeList(this, new SingletonIterator(index))); } else { return new DTMAxisIterNodeList(this, new SingletonIterator(index)); } }
/** * Create an org.w3c.dom.NodeList from a node in the tree */ public NodeList makeNodeList(int index) { if (_nodeLists == null) { _nodeLists = new NodeList[_namesSize]; } int nodeID = makeNodeIdentity(index); if (nodeID < 0) { return null; } else if (nodeID < _nodeLists.length) { return (_nodeLists[nodeID] != null) ? _nodeLists[nodeID] : (_nodeLists[nodeID] = new DTMAxisIterNodeList(this, new SingletonIterator(index))); } else { return new DTMAxisIterNodeList(this, new SingletonIterator(index)); } }
/** * Create an org.w3c.dom.NodeList from a node in the tree */ public NodeList makeNodeList(int index) { if (_nodeLists == null) { _nodeLists = new NodeList[_namesSize]; } int nodeID = makeNodeIdentity(index); if (nodeID < 0) { return null; } else if (nodeID < _nodeLists.length) { return (_nodeLists[nodeID] != null) ? _nodeLists[nodeID] : (_nodeLists[nodeID] = new DTMAxisIterNodeList(this, new SingletonIterator(index))); } else { return new DTMAxisIterNodeList(this, new SingletonIterator(index)); } }
/** * Returns singleton iterator containg the document root * Works for them main document (mark == 0). It cannot be made * to point to any other node through setStartNode(). */ public DTMAxisIterator getIterator() { return new SingletonIterator(getDocument(), true); }
/** * Returns singleton iterator containg the document root * Works for them main document (mark == 0). It cannot be made * to point to any other node through setStartNode(). */ public DTMAxisIterator getIterator() { return new SingletonIterator(getDocument(), true); }
/** * Returns singleton iterator containg the document root * Works for them main document (mark == 0). It cannot be made * to point to any other node through setStartNode(). */ public DTMAxisIterator getIterator() { return new SingletonIterator(getDocument(), true); }
iterator = new SingletonIterator(); break; case Axis.CHILD :
return new SingletonIterator(); case Axis.CHILD: return new ChildrenIterator();
iterator = new SingletonIterator(); break; case Axis.CHILD :
/** * Create an org.w3c.dom.NodeList from a node in the tree */ public NodeList makeNodeList(int index) { if (_nodeLists == null) { _nodeLists = new NodeList[_namesSize]; } int nodeID = makeNodeIdentity(index); if (nodeID < 0) { return null; } else if (nodeID < _nodeLists.length) { return (_nodeLists[nodeID] != null) ? _nodeLists[nodeID] : (_nodeLists[nodeID] = new DTMAxisIterNodeList(this, new SingletonIterator(index))); } else { return new DTMAxisIterNodeList(this, new SingletonIterator(index)); } }
/** * Returns singleton iterator containg the document root * Works for them main document (mark == 0). It cannot be made * to point to any other node through setStartNode(). */ public DTMAxisIterator getIterator() { return new SingletonIterator(getDocument(), true); }