|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.idl.runtime.symbol
org.jacorb.idl.IdlSymbol
org.jacorb.idl.Declaration
org.jacorb.idl.TypeDeclaration
org.jacorb.idl.Interface
Field Summary | |
InterfaceBody |
body
|
SymbolList |
inheritanceSpec
|
Fields inherited from class org.jacorb.idl.TypeDeclaration |
type_decl |
Fields inherited from class org.jacorb.idl.IdlSymbol |
_id, enclosing_symbol, fileSeparator, included, inhibitionFlag, is_pseudo, omg_package_prefix, pack_name |
Fields inherited from class org.jacorb.idl.runtime.symbol |
parse_state, sym |
Constructor Summary | |
Interface(int num)
|
Method Summary | |
void |
accept(IDLTreeVisitor visitor)
let the visitor pattern do its work... |
boolean |
basic()
|
java.lang.Object |
clone()
|
TypeDeclaration |
declaration()
override methods from superclass TypeDeclaration |
java.lang.String[] |
get_ids()
|
ScopeData |
getScopeData()
|
java.lang.String |
getTypeCodeExpression()
getTypeCodeExpression produces a string for an expression
of type TypeCode that describes this type. |
java.lang.String |
getTypeCodeExpression(java.util.Set knownTypes)
Returns a type code expression (for use in generated code) for this type. |
java.lang.String |
holderName()
|
protected java.io.PrintWriter |
openOutput(java.lang.String typeName)
Open a PrintWriter to write to the .java file for typeName. |
void |
parse()
empty parse |
void |
print(java.io.PrintWriter _ps)
|
protected void |
printClassComment(java.lang.String className,
java.io.PrintWriter ps)
|
protected void |
printHelper()
Generate the helper class for an interface |
protected void |
printHolder()
Print the holder class for the interface. |
protected void |
printImplSkeleton()
|
protected void |
printInterface()
generate the signature interface |
protected void |
printIRHelper()
|
protected void |
printLocalBase()
|
protected void |
printLocalTie()
|
protected void |
printOperations()
generate the operations Java interface (not for pseudo interfaces) |
protected void |
printPackage(java.io.PrintWriter ps)
|
java.lang.String |
printReadExpression(java.lang.String Streamname)
|
protected void |
printStub()
Generates a stub class for this Interface |
protected void |
printSuperclassImports(java.io.PrintWriter ps)
If this interface inherits from classes in the unnamed package, generate explicit import statements for them. |
protected void |
printTieSkeleton()
print the stream-based skeleton class |
java.lang.String |
printWriteStatement(java.lang.String var_name,
java.lang.String Streamname)
|
void |
set_abstract()
|
void |
set_included(boolean i)
|
void |
set_locality(boolean local)
set by the parser after creating this object depending on the presence of the "local" modifier. |
void |
setEnclosingSymbol(IdlSymbol s)
|
void |
setPackage(java.lang.String s)
|
void |
setScopeData(ScopeData data)
|
java.lang.String |
toString()
|
java.lang.String |
typeName()
|
Methods inherited from class org.jacorb.idl.TypeDeclaration |
getIDLTypeName, getJavaTypeName, getRecursiveTypeCodeExpression, markTypeDefd, printReadStatement |
Methods inherited from class org.jacorb.idl.IdlSymbol |
addImportedAlias, addImportedName, addImportedName, addImportedNameHolder, deEscapeName, escapeName, generateIncluded, get_token, getEnclosingSymbol, id, is_included, is_pseudo, isEscaped, name, new_num, omgPrefix, printIdMethod, printImport, set_name, set_pseudo, set_token, setPrintPhaseNames |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jacorb.idl.Scope |
get_token, name |
Field Detail |
public InterfaceBody body
public SymbolList inheritanceSpec
Constructor Detail |
public Interface(int num)
Method Detail |
public void setScopeData(ScopeData data)
setScopeData
in interface Scope
public ScopeData getScopeData()
getScopeData
in interface Scope
public void setPackage(java.lang.String s)
setPackage
in class TypeDeclaration
public void set_abstract()
public TypeDeclaration declaration()
declaration
in class TypeDeclaration
public java.lang.String typeName()
typeName
in class TypeDeclaration
public java.lang.Object clone()
clone
in class TypeDeclaration
public void setEnclosingSymbol(IdlSymbol s)
setEnclosingSymbol
in class TypeDeclaration
public void set_locality(boolean local)
public java.lang.String getTypeCodeExpression()
getTypeCodeExpression
produces a string for an expression
of type TypeCode that describes this type.
getTypeCodeExpression
in class TypeDeclaration
public java.lang.String getTypeCodeExpression(java.util.Set knownTypes)
TypeDeclaration
getTypeCodeExpression
in class TypeDeclaration
public boolean basic()
basic
in class TypeDeclaration
public java.lang.String holderName()
holderName
in class TypeDeclaration
public java.lang.String toString()
toString
in class TypeDeclaration
public void set_included(boolean i)
set_included
in class TypeDeclaration
public java.lang.String printReadExpression(java.lang.String Streamname)
printReadExpression
in class TypeDeclaration
public java.lang.String printWriteStatement(java.lang.String var_name, java.lang.String Streamname)
printWriteStatement
in class TypeDeclaration
public void parse()
IdlSymbol
parse
in class TypeDeclaration
protected java.io.PrintWriter openOutput(java.lang.String typeName)
protected void printPackage(java.io.PrintWriter ps)
protected void printClassComment(java.lang.String className, java.io.PrintWriter ps)
protected void printSuperclassImports(java.io.PrintWriter ps)
protected void printInterface()
protected void printOperations()
protected void printHolder()
protected void printHelper()
public java.lang.String[] get_ids()
protected void printStub()
protected void printImplSkeleton()
protected void printTieSkeleton()
protected void printIRHelper()
protected void printLocalBase()
protected void printLocalTie()
public void print(java.io.PrintWriter _ps)
print
in class TypeDeclaration
public void accept(IDLTreeVisitor visitor)
IdlSymbol
accept
in class TypeDeclaration
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |