Class Skeleton
- java.lang.Object
-
- com.sun.tools.corba.ee.idl.toJavaPortable.Skeleton
-
-
Field Summary
Fields Modifier and Type Field Description protected InterfaceEntryiprotected java.lang.StringintfNameprotected java.util.Vector<MethodEntry>methodListprotected booleanpoaprotected java.lang.StringskeletonClassNameprivate NameModifierskeletonNameModifierprotected java.io.PrintWriterstreamprotected java.util.HashtablesymbolTableprotected booleantieprotected java.lang.StringtieClassNameprivate NameModifiertieNameModifier
-
Constructor Summary
Constructors Constructor Description Skeleton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddMethod(MethodEntry method)private voidbuildIDList(InterfaceEntry entry, java.util.Vector<java.lang.String> list)protected voidbuildMethodList()Build a list of all of the methods, keeping out duplicates.private voidbuildMethodList(InterfaceEntry entry)protected voidcloseStream()Close the print stream, which flushes the stream to file.voidgenerate(java.util.Hashtable symbolTable, SymtabEntry entry)protected voidinit()Initialize members unique to this generator.protected voidopenStream()protected voidwriteBody()protected voidwriteClassDeclaration()protected voidwriteClosing()Close the skeleton class.protected voidwriteCORBAOperations()protected voidwriteCtors()protected voidwriteDispatchMethod()protected voidwriteHeading()private voidwriteIDs()protected voidwriteMethods()protected voidwriteMethodTable()protected voidwriteNonPOACORBAOperations()protected voidwriteOperations()protected voidwritePOACORBAOperations()private voidwritePOATieCtors()private voidwritePOATieFieldAccessMethods()
-
-
-
Field Detail
-
skeletonNameModifier
private NameModifier skeletonNameModifier
-
tieNameModifier
private NameModifier tieNameModifier
-
symbolTable
protected java.util.Hashtable symbolTable
-
i
protected InterfaceEntry i
-
stream
protected java.io.PrintWriter stream
-
tieClassName
protected java.lang.String tieClassName
-
skeletonClassName
protected java.lang.String skeletonClassName
-
tie
protected boolean tie
-
poa
protected boolean poa
-
methodList
protected java.util.Vector<MethodEntry> methodList
-
intfName
protected java.lang.String intfName
-
-
Method Detail
-
generate
public void generate(java.util.Hashtable symbolTable, SymtabEntry entry)
-
init
protected void init()
Initialize members unique to this generator.
-
openStream
protected void openStream()
-
writeHeading
protected void writeHeading()
-
writeClassDeclaration
protected void writeClassDeclaration()
-
writeBody
protected void writeBody()
-
writeClosing
protected void writeClosing()
Close the skeleton class. The singleton ORB member is necessary only for portable skeletons.
-
closeStream
protected void closeStream()
Close the print stream, which flushes the stream to file.
-
writeCtors
protected void writeCtors()
-
writePOATieCtors
private void writePOATieCtors()
-
writePOATieFieldAccessMethods
private void writePOATieFieldAccessMethods()
-
buildMethodList
protected void buildMethodList()
Build a list of all of the methods, keeping out duplicates.
-
buildMethodList
private void buildMethodList(InterfaceEntry entry)
-
addMethod
private void addMethod(MethodEntry method)
-
writeDispatchMethod
protected void writeDispatchMethod()
-
writeMethodTable
protected void writeMethodTable()
-
writeMethods
protected void writeMethods()
-
writeIDs
private void writeIDs()
-
buildIDList
private void buildIDList(InterfaceEntry entry, java.util.Vector<java.lang.String> list)
-
writeCORBAOperations
protected void writeCORBAOperations()
-
writePOACORBAOperations
protected void writePOACORBAOperations()
-
writeNonPOACORBAOperations
protected void writeNonPOACORBAOperations()
-
writeOperations
protected void writeOperations()
-
-