/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
nl.setCurrentPos(currentPos);
sourceNodes.setCurrentPos(0);
sourceNodes.setCurrentPos(0);
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
/** * Public constructor: Wrap a DTMNodeList around an existing * and preconfigured DTMIterator * * WARNING: THIS HAS THE SIDE EFFECT OF ISSUING setShouldCacheNodes(true) * AGAINST THE DTMIterator. * */ public DTMNodeList(DTMIterator dtmIterator) { if (dtmIterator != null) { int pos = dtmIterator.getCurrentPos(); try { m_iter=(DTMIterator)dtmIterator.cloneWithReset(); } catch(CloneNotSupportedException cnse) { m_iter = dtmIterator; } m_iter.setShouldCacheNodes(true); m_iter.runTo(-1); m_iter.setCurrentPos(pos); } }
sourceNodes.setCurrentPos(0);
sourceNodes.setCurrentPos(0);
sourceNodes.setCurrentPos(0);