Class ValueBoxGen
java.lang.Object
com.sun.tools.corba.ee.idl.toJavaPortable.ValueBoxGen
- All Implemented Interfaces:
Generator
,JavaGenerator
,ValueBoxGen
- Direct Known Subclasses:
ValueBoxGen24
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PrintWriter
protected Hashtable
protected ValueBoxEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
generate
(Hashtable symbolTable, ValueBoxEntry v, PrintWriter str) protected void
protected void
void
helperRead
(String entryName, SymtabEntry entry, PrintWriter stream) int
helperType
(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) void
helperWrite
(SymtabEntry entry, PrintWriter stream) protected void
int
read
(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) protected void
streamableRead
(String entryName, SymtabEntry entry, PrintWriter stream) int
type
(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) int
write
(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) protected void
protected void
protected void
protected void
protected void
protected void
-
Field Details
-
symbolTable
-
v
-
stream
-
-
Constructor Details
-
ValueBoxGen
public ValueBoxGen()Public zero-argument constructor.
-
-
Method Details
-
generate
- Specified by:
generate
in interfaceValueBoxGen
-
openStream
protected void openStream() -
generateHelper
protected void generateHelper() -
generateHolder
protected void generateHolder() -
writeHeading
protected void writeHeading() -
writeBody
protected void writeBody() -
writeTruncatable
protected void writeTruncatable() -
writeClosing
protected void writeClosing() -
closeStream
protected void closeStream() -
writeStreamableMethods
protected void writeStreamableMethods() -
helperType
public int helperType(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) - Specified by:
helperType
in interfaceJavaGenerator
-
type
public int type(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) - Specified by:
type
in interfaceJavaGenerator
-
read
- Specified by:
read
in interfaceJavaGenerator
-
helperRead
- Specified by:
helperRead
in interfaceJavaGenerator
-
helperWrite
- Specified by:
helperWrite
in interfaceJavaGenerator
-
write
- Specified by:
write
in interfaceJavaGenerator
-
writeAbstract
protected void writeAbstract() -
streamableRead
-