public Name addAll(int posn,Name n) throws InvalidNameException {
  if (n instanceof CompositeName) {
    impl.addAll(posn,n.getAll());
    return this;
  }
 else {
    throw new InvalidNameException("Not a composite name: " + n.toString());
  }
}

public Name addAll ( int posn , Name n ) throws InvalidNameException { if ( n instanceof CompositeName ) { impl . addAll ( posn , n . getAll ( ) ) ; return this ; } else { throw new InvalidNameException ( "Not a composite name: " + n . toString ( ) ) ; } }
adds the components of a composite name - - in order - - at a specified position within this composite name . components of this composite name at or after the index of the first new component are shifted up ( away from index 0 ) to accommodate the new components .
