code: protected int getNextNode()
    {
      if (m_foundLast)
        return DTM.NULL;
  
      int next = m_iterator.next();
      
      if (m_isFresh)
        m_isFresh = false;
  
      if (DTM.NULL == next)
        this.m_foundLast = true;
  
      return next;
    }
docs: Get the next node in document order on the axes.
  
  @return the next node in document order on the axes, or null.