|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.compiler.generator.IdlToJava
org.openorb.pss.compiler.generator.psdlToJava
public class psdlToJava
This class converts PSDL description to Java classes and interfaces
Field Summary |
---|
Fields inherited from class org.openorb.compiler.generator.IdlToJava |
---|
_root, current_pkg, tab, tab1, tab2, tab3, tab4, tab5, tab6 |
Constructor Summary | |
---|---|
psdlToJava(PsdlCompilerProperties psp)
Constructor |
Method Summary | |
---|---|
void |
addDescriptiveHeader(java.io.PrintWriter output,
org.openorb.compiler.object.IdlObject obj)
|
void |
javadoc(java.io.PrintWriter output,
org.openorb.compiler.object.IdlObject obj)
Add a JavaDoc comment |
void |
translate_abstract_storagehome(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate an abstract storagehome |
void |
translate_abstract_storagetype_content(PsdlAbstractStorageType abs,
java.io.PrintWriter output)
Translate an abstract storagetype content |
void |
translate_abstract_storagetype_local_op(PsdlLocalOp op,
java.io.PrintWriter output)
Translate an abstract storagetype local op |
void |
translate_abstract_storagetype_state(PsdlState state,
java.io.PrintWriter output)
Translate an abstract storagetype state |
void |
translate_abstract_storagetype(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate an abstract storagetype |
void |
translate_catalog(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate a catalog |
void |
translate_comment_section(java.io.PrintWriter output,
java.lang.String description,
org.openorb.compiler.object.IdlObject obj)
Translate a JavaDoc comments section |
void |
translate_factory_to_equivalent_operations(PsdlFactory factory,
org.openorb.compiler.object.IdlObject obj,
PsdlAbstractStorageHome abh)
Translate factory to equivalent operations |
void |
translate_key_to_equivalent_operations(PsdlKey key,
org.openorb.compiler.object.IdlObject obj,
PsdlAbstractStorageHome abh)
Translate key to equivalent operations |
void |
translate_object_content(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto,
int translateType)
Translate data from PSDL description to Java |
void |
translate_object(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto,
int translateType)
Traduit les donnees d'un objet conteneur ( Module, Interface, Root ) |
void |
translate_parameter(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output,
int attr)
Translate a parameter |
void |
translate_provides_to_equivalent_operations(PsdlProvides provides,
org.openorb.compiler.object.IdlObject obj)
Translate provides to equivalent operations |
void |
translate_type(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Translate a data type |
void |
translate_typedef(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Translate a typedef |
void |
write_helper(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Add a helper |
void |
write_holder_for_abstract_storagetype_ref(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Write an holder for an abstract storagetype ref |
void |
write_holder_for_abstract_storagetype(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Write an holder for an abstract_storagetype |
void |
write_holder_for_sequence_ref(org.openorb.compiler.object.IdlObject obj,
java.io.PrintWriter output)
Write an holder for a sequence ref |
void |
write_holder(org.openorb.compiler.object.IdlObject obj,
java.io.File writeInto)
Add a holder |
Methods inherited from class org.openorb.compiler.generator.IdlToJava |
---|
addPackageName, addToPkg, createDirectory, createPrefixDirectories, fileAccess, final_kind, final_type, find_default_value, fullname, get_array_name, getContext, getDirectory, getPrefixDirectories, IdlEspaceCharToJavaEscapeChar, IdlScopeToJavaScope, inversedPrefix, isAbstractBaseInterface, isEmpty, isEmptyInterface, isEmptyValue, isEnumCase, isHexaCar, isInto, isNativeDefinition, isSameScope, isTruncatable, newFile, printConcreteTypeCode, printNativeDefinition, recursion, removePackageName, translate_any_insert, translate_attribute_stub_stream, translate_attribute_stub, translate_attribute_tie, translate_attribute, translate_constant, translate_enum, translate_exception, translate_interface_operations, translate_interface_skel, translate_interface_stub, translate_interface_tie, translate_interface, translate_marshalling_data, translate_marshalling_member, translate_marshalling, translate_module, translate_native, translate_new_typecode, translate_operation_skel_stream, translate_operation_skel, translate_operation_stub_stream, translate_operation_stub, translate_operation_tie, translate_operation, translate_read_attribute_skel_stream, translate_read_attribute_skel, translate_state_member, translate_struct, translate_to_java_expression, translate_to_union_case_expression, translate_typecode, translate_union, translate_unmarshalling_data, translate_unmarshalling_member, translate_unmarshalling, translate_user_attribute, translate_user_interface, translate_user_module, translate_user_object, translate_user_operation, translate_value_box, translate_value_type, translate_write_attribute_skel_stream, translate_write_attribute_skel, translateData, translateSkeleton, translateStub, translateTIE, translateUser, writeDefaultAttribute, writeDefaultMethods, writeDefaultMethodsForInterfaces, writeDefaultMethodsForValueTypes, writeDefaultOperation, writeDefaultValueFactory, writeDefaultValueImpl |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public psdlToJava(PsdlCompilerProperties psp)
Method Detail |
---|
public void translate_comment_section(java.io.PrintWriter output, java.lang.String description, org.openorb.compiler.object.IdlObject obj)
translate_comment_section
in class org.openorb.compiler.generator.IdlToJava
public void javadoc(java.io.PrintWriter output, org.openorb.compiler.object.IdlObject obj)
javadoc
in class org.openorb.compiler.generator.IdlToJava
output
- the target fileobj
- the object the header has to be addedpublic void translate_abstract_storagetype_state(PsdlState state, java.io.PrintWriter output)
public void translate_abstract_storagetype_local_op(PsdlLocalOp op, java.io.PrintWriter output)
public void translate_abstract_storagetype_content(PsdlAbstractStorageType abs, java.io.PrintWriter output)
public void translate_abstract_storagetype(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto)
public void translate_key_to_equivalent_operations(PsdlKey key, org.openorb.compiler.object.IdlObject obj, PsdlAbstractStorageHome abh)
public void translate_factory_to_equivalent_operations(PsdlFactory factory, org.openorb.compiler.object.IdlObject obj, PsdlAbstractStorageHome abh)
public void translate_provides_to_equivalent_operations(PsdlProvides provides, org.openorb.compiler.object.IdlObject obj)
public void translate_abstract_storagehome(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto)
public void translate_catalog(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto)
public void addDescriptiveHeader(java.io.PrintWriter output, org.openorb.compiler.object.IdlObject obj)
addDescriptiveHeader
in class org.openorb.compiler.generator.IdlToJava
public void translate_parameter(org.openorb.compiler.object.IdlObject obj, java.io.PrintWriter output, int attr)
translate_parameter
in class org.openorb.compiler.generator.IdlToJava
public void translate_typedef(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto)
translate_typedef
in class org.openorb.compiler.generator.IdlToJava
public void translate_type(org.openorb.compiler.object.IdlObject obj, java.io.PrintWriter output)
translate_type
in class org.openorb.compiler.generator.IdlToJava
public void write_holder_for_abstract_storagetype(org.openorb.compiler.object.IdlObject obj, java.io.PrintWriter output)
public void write_holder_for_abstract_storagetype_ref(org.openorb.compiler.object.IdlObject obj, java.io.PrintWriter output)
public void write_holder_for_sequence_ref(org.openorb.compiler.object.IdlObject obj, java.io.PrintWriter output)
public void write_holder(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto)
write_holder
in class org.openorb.compiler.generator.IdlToJava
public void write_helper(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto)
write_helper
in class org.openorb.compiler.generator.IdlToJava
public void translate_object_content(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto, int translateType)
translate_object_content
in class org.openorb.compiler.generator.IdlToJava
public void translate_object(org.openorb.compiler.object.IdlObject obj, java.io.File writeInto, int translateType)
translate_object
in class org.openorb.compiler.generator.IdlToJava
obj
- l'objet a traduirewriteInto
- l'acces en ecrituretranslateType
- le type de traduction ( 0=data, 1=stub, 2=skeleton )
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |