View Javadoc

1   /*
2    * Copyright (c) 2001-2003 The XDoclet team
3    * All rights reserved.
4    */
5   package xjavadoc;
6   
7   /***
8    * Describe what this class does
9    *
10   * @author         Aslak Hellesøy
11   * @created        7. mars 2002
12   */
13  interface JavaParser
14  {
15  	/***
16  	 * Populates the class by parsing its source.
17  	 *
18  	 * @param sourceClass         the XClass object to populate
19  	 * @exception ParseException  if the parsed file is not compliant with the Java
20  	 *      grammar
21  	 */
22  	void populate( SourceClass sourceClass ) throws ParseException;
23  
24  	/***
25  	 * Gets the Token attribute of the JavaParser object.
26  	 *
27  	 * @param i        Describe what the parameter does
28  	 * @return         The Token value
29  	 */
30  	Token getToken( int i );
31  }