public class JrpcgenUnion
extends java.lang.Object
JrpcgenUnion class represents a single union defined
in an rpcgen "x"-file.| Modifier and Type | Field and Description |
|---|---|
JrpcgenDeclaration |
descriminant
JrpcgenDeclaration of descriminant element (containing its
identifier and data type). |
java.util.Vector |
elements
Contains arms of union.
|
java.lang.String |
identifier
Union identifier.
|
| Constructor and Description |
|---|
JrpcgenUnion(java.lang.String identifier,
JrpcgenDeclaration descriminant,
java.util.Vector elements)
Constructs a
JrpcgenUnion and sets the identifier, the
descrimant element as well as all attribute elements. |
public java.lang.String identifier
public JrpcgenDeclaration descriminant
JrpcgenDeclaration of descriminant element (containing its
identifier and data type).public java.util.Vector elements
JrpcgenDeclaration. The keys are the descriminant values.public JrpcgenUnion(java.lang.String identifier,
JrpcgenDeclaration descriminant,
java.util.Vector elements)
JrpcgenUnion and sets the identifier, the
descrimant element as well as all attribute elements.identifier - Identifier to be declared.descriminant - Descriminant element of class
JrpcgenDeclaration.elements - Vector of atrribute elements of class
JrpcgenDeclaration.