public void addNodes(NodeIterator iterator){
  if (!m_mutable)   throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE,null));
  if (null != iterator) {
    Node obj;
    while (null != (obj=iterator.nextNode())) {
      addElement(obj);
    }
  }
}

public void addNodes ( NodeIterator iterator ) { if ( ! m_mutable ) throw new RuntimeException ( XSLMessages . createXPATHMessage ( XPATHErrorResources . ER_NODESET_NOT_MUTABLE , null ) ) ; if ( null != iterator ) { Node obj ; while ( null != ( obj = iterator . nextNode ( ) ) ) { addElement ( obj ) ; } } }
copy nodelist members into this nodelist , adding in document order . null references are not added .
