KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jas > CP


1 /**
2  * this is an abstraction to contain all the CPE items
3  * that can be created.
4  *
5  * @see AsciiCP
6  * @see ClassCP
7  * @see NameTypeCP
8  * @see FieldCP
9  * @see InterfaceCP
10  * @see MethodCP
11  * @see IntegerCP
12  * @see LongCP
13  * @see FloatCP
14  * @see DoubleCP
15  * @see StringCP
16  *
17  * @author $Author: fqian $
18  * @version $Revision: 1.1 $
19  */

20
21
22 package jas;
23                                 // one class to ring them all...
24

25 import java.io.*;
26
27 public abstract class CP
28 {
29   String JavaDoc uniq;
30
31   String JavaDoc getUniq() { return uniq; }
32
33   abstract void resolve(ClassEnv e);
34
35   abstract void write(ClassEnv e, DataOutputStream out)
36    throws IOException, jasError;
37 }
38
Popular Tags