org.omg.CosPropertyService
Class PropertiesHelper

java.lang.Object
  extended by org.omg.CosPropertyService.PropertiesHelper

public class PropertiesHelper
extends java.lang.Object

Helper class for : Properties

Author:
OpenORB Compiler

Constructor Summary
PropertiesHelper()
           
 
Method Summary
static Property[] extract(org.omg.CORBA.Any a)
          Extract Properties from an any
static java.lang.String id()
          Return the Properties IDL ID
static void insert(org.omg.CORBA.Any a, Property[] t)
          Insert Properties into an any
static Property[] read(org.omg.CORBA.portable.InputStream istream)
          Read Properties from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the Properties TypeCode
static void write(org.omg.CORBA.portable.OutputStream ostream, Property[] value)
          Write Properties into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesHelper

public PropertiesHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          Property[] t)
Insert Properties into an any

Parameters:
a - an any
t - Properties value

extract

public static Property[] extract(org.omg.CORBA.Any a)
Extract Properties from an any

Parameters:
a - an any
Returns:
the extracted Properties value

type

public static org.omg.CORBA.TypeCode type()
Return the Properties TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the Properties IDL ID

Returns:
an ID

read

public static Property[] read(org.omg.CORBA.portable.InputStream istream)
Read Properties from a marshalled stream

Parameters:
istream - the input stream
Returns:
the readed Properties value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         Property[] value)
Write Properties into a marshalled stream

Parameters:
ostream - the output stream
value - Properties value