org.openorb.pss.compiler.util

Class tools

public class tools extends tools

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

Author: Jerome Daniel

Method Summary
static booleancompare(byte[] b1, byte[] b2)
This operation is used to compare two buffers
static psdlStoreget_store(Object ob, idlObject state)
static psdlStoreget_store_for(Object ob, idlObject state)
This operation returns the associated store directive for a reference state
static StringjavaName(PsdlCompilerProperties pcp, idlObject obj)
This operation returns a Java name for an IDL object accroding to the IDL to Java mapping rules.
static voidjavaType(PsdlCompilerProperties pcp, idlObject obj, PrintWriter output)
This operations return the translation of an IDL object to java
static psdlStorelook_store_for(Object ob, idlObject state)
static voidmarshal(PsdlCompilerProperties pcp, idlObject obj, PrintWriter output, String streamName, String typeName, Object extra, Object extra2)
This operations marshals an IDL object to java
static voidunmarshal(PsdlCompilerProperties pcp, idlObject obj, PrintWriter output, String streamName, String typeName, Object extra, idlObject extra2, boolean fromHome)
This operation unmarshals an IDL object to java

Method Detail

compare

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

get_store

public static psdlStore get_store(Object ob, idlObject state)

get_store_for

public static psdlStore get_store_for(Object ob, idlObject state)
This operation returns the associated store directive for a reference state

javaName

public static String javaName(PsdlCompilerProperties pcp, 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, idlObject obj, PrintWriter output)
This operations return the translation of an IDL object to java

look_store_for

public static psdlStore look_store_for(Object ob, idlObject state)

marshal

public static void marshal(PsdlCompilerProperties pcp, idlObject obj, PrintWriter output, String streamName, String typeName, Object extra, Object extra2)
This operations marshals an IDL object to java

unmarshal

public static void unmarshal(PsdlCompilerProperties pcp, idlObject obj, PrintWriter output, String streamName, String typeName, Object extra, idlObject extra2, boolean fromHome)
This operation unmarshals an IDL object to java