public void addAll(Sequence other) throws XPathException { if (!Type.subTypeOf(other.getItemType(), Type.NODE)) throw new XPathException("sequence argument is not a node sequence"); for (SequenceIterator i = other.iterate(); i.hasNext();) { add(i.nextItem()); } }
public void addAll(NodeSet other);
	public void addAll(Sequence other) throws XPathException {		if (!Type.subTypeOf(other.getItemType(), Type.NODE))			throw new XPathException("sequence argument is not a node sequence");		for (SequenceIterator i = other.iterate(); i.hasNext();) {			add(i.nextItem());		}	}