Modifier and Type | Field and Description |
---|---|
protected SymtabEntry |
entry |
protected String |
helperClass |
protected String |
helperType |
protected GenFileStream |
stream |
protected Hashtable |
symbolTable |
Constructor and Description |
---|
Helper()
Public zero-argument constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeStream()
Write the stream to file by closing the print stream.
|
void |
generate(Hashtable symbolTable,
SymtabEntry entry)
Generate the helper class.
|
protected void |
init()
Initialize variables unique to this generator.
|
protected void |
openStream()
Open the print stream for subsequent output.
|
protected String |
stubName(InterfaceEntry entry)
Return the stub name for the interface entry.
|
protected void |
writeBody()
Generate members of this class.
|
protected void |
writeClosing()
Generate the closing statements.
|
protected void |
writeCtors()
Generate the constructors.
|
protected void |
writeExtract()
Generate the extract method.
|
protected void |
writeGetClass()
Generate the get_class method.
|
protected void |
writeGetID()
Generate the GetID method.
|
protected void |
writeGetInstance()
Generate the get_instance method.
|
protected void |
writeGetSafeBaseIds()
Generate the GetSafeBaseIds method.
|
protected void |
writeGetType()
Generate the GetType method.
|
protected void |
writeHeading()
Generate the heading, including package, imports, class statements,
and open curly.
|
protected void |
writeHelperInterface()
Generate members of the Helper interface.
|
protected void |
writeID()
Generate the ID method.
|
protected void |
writeInsert()
Generate the insert method.
|
protected void |
writeInstVars()
Generate the instance variables.
|
protected void |
writeNarrow()
Generate the narrow method.
|
protected void |
writeRead()
Generate the read method.
|
protected void |
writeRemoteNarrow()
Write the narrow() method for a remotable object.
|
protected void |
writeType()
Generate the typecode variable and type method.
|
protected void |
writeUncheckedNarrow()
Generate the unchecked narrow method.
|
protected void |
writeUncheckedRemoteNarrow()
Write the unchecked narrow() method for a remotable object.
|
protected void |
writeValueHelperInterface()
Generate members of the ValueHelper interface.
|
protected void |
writeWrite()
Generate the write method.
|
protected Hashtable symbolTable
protected SymtabEntry entry
protected GenFileStream stream
protected String helperClass
protected String helperType
public void generate(Hashtable symbolTable, SymtabEntry entry)
protected void init()
protected void openStream()
protected void writeHeading()
protected void writeBody()
protected void writeHelperInterface()
protected void writeValueHelperInterface()
protected void writeClosing()
protected void closeStream()
protected void writeInstVars()
protected void writeCtors()
protected void writeInsert()
protected void writeExtract()
protected void writeType()
protected void writeID()
protected void writeRead()
protected void writeWrite()
protected void writeNarrow()
protected void writeRemoteNarrow()
protected void writeUncheckedNarrow()
protected void writeUncheckedRemoteNarrow()
protected void writeGetID()
protected void writeGetType()
protected void writeGetClass()
protected void writeGetInstance()
protected void writeGetSafeBaseIds()
protected String stubName(InterfaceEntry entry)
Copyright © 2016 JBoss by Red Hat. All rights reserved.