|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.acplt.oncrpc.apps.jrpcgen.JrpcgenEnum
public class JrpcgenEnum
The JrpcgenEnum class represents a single enumeration
from an rpcgen "x"-file. It is a "container" for the elements (constants)
belonging to this enumeration.
| Field Summary | |
|---|---|
java.util.Vector |
enums
Contains enumeration elements as well as their values. |
java.lang.String |
identifier
Enumeration identifier. |
| Constructor Summary | |
|---|---|
JrpcgenEnum(java.lang.String identifier,
java.util.Vector enums)
Constructs a JrpcgenEnum and sets the identifier and all
its enumeration elements. |
|
| Method Summary | |
|---|---|
void |
dump()
Dumps the enumeration together with its elements to System.out. |
java.lang.String |
toString()
Returns the fully qualified identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String identifier
public java.util.Vector enums
JrpcgenConst.
| Constructor Detail |
|---|
public JrpcgenEnum(java.lang.String identifier,
java.util.Vector enums)
JrpcgenEnum and sets the identifier and all
its enumeration elements.
identifier - Identifier to be declared.enums - Vector of enumeration elements of class JrpcgenConst.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic void dump()
System.out.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||