org.jacorb.ir
Class IdlWriter
public class IdlWriter
extends java.lang.Object
This class prints IDL from IR-Descriptions to PrintStreams
Version:
- (c) Gerald Brose, FU Berlin 2000
IdlWriter(PrintStream _ps) - create a new IdlWriter for the default JacORB IR
which writes to a specific PrintStream
|
IdlWriter(PrintStream _ps, Repository _ir) - create a new IdlWriter for a specific IR which writes
to a specific PrintStream
|
void | close()
|
void | printAlias(TypeDescription t, int indentation) - print an IDL alias
|
void | printAttribute(AttributeDescription a, int indentation) - print an IDL attribute
|
void | printConstant(ConstantDescription c, int indentation) - print an IDL const
|
void | printContained(Contained c, int indentation) - print the IDL definition for a contained objec
|
void | printEnum(TypeDescription t, int indentation) - print an IDL Enum
|
void | printException(ExceptionDescription e, int indentation) - print an IDL exception def
|
void | printInterface(InterfaceDef idef, int indentation) - print an IDL interface
|
void | printModule(ModuleDescription mdes, int indentation) - print the IDL definition for a module
|
void | printOperation(OperationDescription op, int indentation) - print an IDL operation
|
void | printParameter(ParameterDescription p, String separator)
|
void | printStruct(TypeDescription t, int indentation) - print an IDL struct def
|
void | printUnion(TypeDescription t, int indentation) - print an IDL Union
|
IdlWriter
public IdlWriter(PrintStream _ps)
create a new IdlWriter for the default JacORB IR
which writes to a specific PrintStream
_ps
- a PrintStream
IdlWriter
public IdlWriter(PrintStream _ps,
Repository _ir)
create a new IdlWriter for a specific IR which writes
to a specific PrintStream
_ps
- a PrintStream_ir
- a Repository
printAlias
public void printAlias(TypeDescription t,
int indentation)
print an IDL alias
printAttribute
public void printAttribute(AttributeDescription a,
int indentation)
print an IDL attribute
printConstant
public void printConstant(ConstantDescription c,
int indentation)
print an IDL const
printContained
public void printContained(Contained c,
int indentation)
print the IDL definition for a contained objec
c
- the contained objectindentation
- how many spaces to use for indentation
printEnum
public void printEnum(TypeDescription t,
int indentation)
print an IDL Enum
printException
public void printException(ExceptionDescription e,
int indentation)
print an IDL exception def
printInterface
public void printInterface(InterfaceDef idef,
int indentation)
print an IDL interface
printModule
public void printModule(ModuleDescription mdes,
int indentation)
print the IDL definition for a module
mdes
- the module descriptionindentation
- how many spaces to use for indentation
printOperation
public void printOperation(OperationDescription op,
int indentation)
print an IDL operation
printStruct
public void printStruct(TypeDescription t,
int indentation)
print an IDL struct def
printUnion
public void printUnion(TypeDescription t,
int indentation)
print an IDL Union