View Javadoc

1   /*
2    * Copyright (c) 2001-2003 The XDoclet team
3    * All rights reserved.
4    */
5   package xjavadoc;
6   
7   import java.util.Iterator;
8   
9   /***
10   * Implementation of ConstructorIterator.
11   *
12   * @deprecated Use a plain java.lang.Iterator and do the cast instead.
13   * @created   24. juli 2002
14   */
15  class ConstructorIteratorImpl extends IteratorImpl implements ConstructorIterator
16  {
17  	public ConstructorIteratorImpl( Iterator iterator )
18  	{
19  		super( iterator );
20  	}
21  
22  	public XConstructor next()
23  	{
24  		return ( XConstructor ) n();
25  	}
26  }