org.omg.CORBA
Class CharSeqHelper

java.lang.Object
  |
  +--org.omg.CORBA.CharSeqHelper

public class CharSeqHelper
extends java.lang.Object

Helper class for : CharSeq

Author:
OpenORB Compiler

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

Constructor Detail

CharSeqHelper

public CharSeqHelper()
Method Detail

insert

public static void insert(Any a,
                          char[] t)
Insert CharSeq into an any
Parameters:
a - an any
t - CharSeq value

extract

public static char[] extract(Any a)
Extract CharSeq from an any
Parameters:
a - an any
Returns:
the extracted CharSeq value

type

public static TypeCode type()
Return the CharSeq TypeCode
Returns:
a TypeCode

id

public static java.lang.String id()
Return the CharSeq IDL ID
Returns:
an ID

read

public static char[] read(InputStream istream)
Read CharSeq from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed CharSeq value

write

public static void write(OutputStream ostream,
                         char[] value)
Write CharSeq into a marshalled stream
Parameters:
ostream - the output stream
value - CharSeq value