org.openorb.pss.compiler.util
Class tools

java.lang.Object
  extended by org.openorb.compiler.idl.util.tools
      extended by org.openorb.pss.compiler.util.tools

public class tools
extends org.openorb.compiler.idl.util.tools

This class provides several tools to help user to define its own translation.

Author:
Jerome Daniel

Field Summary
 
Fields inherited from class org.openorb.compiler.idl.util.tools
tab
 
Constructor Summary
tools()
           
 
Method Summary
static boolean compare(byte[] b1, byte[] b2)
          This operation is used to compare two buffers
static psdlStore get_store_for(java.lang.Object ob, org.openorb.compiler.idl.reflect.idlObject state)
          This operation returns the associated store directive for a reference state
static psdlStore get_store(java.lang.Object ob, org.openorb.compiler.idl.reflect.idlObject state)
           
static java.lang.String javaName(PsdlCompilerProperties pcp, org.openorb.compiler.idl.reflect.idlObject obj)
          This operation returns a Java name for an IDL object accroding to the IDL to Java mapping rules.
static void javaType(PsdlCompilerProperties pcp, org.openorb.compiler.idl.reflect.idlObject obj, java.io.PrintWriter output)
          This operations return the translation of an IDL object to java
static psdlStore look_store_for(java.lang.Object ob, org.openorb.compiler.idl.reflect.idlObject state)
           
static void marshal(PsdlCompilerProperties pcp, org.openorb.compiler.idl.reflect.idlObject obj, java.io.PrintWriter output, java.lang.String streamName, java.lang.String typeName, java.lang.Object extra, java.lang.Object extra2)
          This operations marshals an IDL object to java
static void unmarshal(PsdlCompilerProperties pcp, org.openorb.compiler.idl.reflect.idlObject obj, java.io.PrintWriter output, java.lang.String streamName, java.lang.String typeName, java.lang.Object extra, org.openorb.compiler.idl.reflect.idlObject extra2, boolean fromHome)
          This operation unmarshals an IDL object to java
 
Methods inherited from class org.openorb.compiler.idl.util.tools
adaptToDot, createNewFile, inversedPrefix, javadoc_base, javadoc, javaName, javaType, marshal, translate_comment_section_base, translate_comment_section, unmarshal, writePackageName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

tools

public tools()
Method Detail

javaName

public static java.lang.String javaName(PsdlCompilerProperties pcp,
                                        org.openorb.compiler.idl.reflect.idlObject obj)
This operation returns a Java name for an IDL object accroding to the IDL to Java mapping rules.


javaType

public static void javaType(PsdlCompilerProperties pcp,
                            org.openorb.compiler.idl.reflect.idlObject obj,
                            java.io.PrintWriter output)
This operations return the translation of an IDL object to java


marshal

public static void marshal(PsdlCompilerProperties pcp,
                           org.openorb.compiler.idl.reflect.idlObject obj,
                           java.io.PrintWriter output,
                           java.lang.String streamName,
                           java.lang.String typeName,
                           java.lang.Object extra,
                           java.lang.Object extra2)
This operations marshals an IDL object to java


unmarshal

public static void unmarshal(PsdlCompilerProperties pcp,
                             org.openorb.compiler.idl.reflect.idlObject obj,
                             java.io.PrintWriter output,
                             java.lang.String streamName,
                             java.lang.String typeName,
                             java.lang.Object extra,
                             org.openorb.compiler.idl.reflect.idlObject extra2,
                             boolean fromHome)
This operation unmarshals an IDL object to java


get_store_for

public static psdlStore get_store_for(java.lang.Object ob,
                                      org.openorb.compiler.idl.reflect.idlObject state)
This operation returns the associated store directive for a reference state


look_store_for

public static psdlStore look_store_for(java.lang.Object ob,
                                       org.openorb.compiler.idl.reflect.idlObject state)

get_store

public static psdlStore get_store(java.lang.Object ob,
                                  org.openorb.compiler.idl.reflect.idlObject state)

compare

public static boolean compare(byte[] b1,
                              byte[] b2)
This operation is used to compare two buffers