# OpenORB 1.3.1: Class StringNameHelper

## org.omg.CosNaming.NamingContextExtPackage
Class StringNameHelper

    java.lang.Object
      |
      +--org.omg.CosNaming.NamingContextExtPackage.StringNameHelper

public class StringNameHelper
extends java.lang.Object

Helper class for : StringName

Author:
  OpenORB Compiler

Constructor Summary
`StringNameHelper()`

Method Summary
`static java.lang.String` `extract(Any a)` Extract StringName from an any
`static java.lang.String` `id()` Return the StringName IDL ID
`static void` `insert(Any a, java.lang.String t)` Insert StringName into an any
`static java.lang.String` `read(InputStream istream)` Read StringName from a marshalled stream
`static TypeCode` `type()` Return the StringName TypeCode
`static void` `write(OutputStream ostream, java.lang.String value)` Write StringName into a marshalled stream

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StringNameHelper

    public StringNameHelper()

Method Detail

### insert

    public static void insert(Any a,
                              java.lang.String t)

  Insert StringName into an any
  Parameters:
    `a` - an any
    `t` - StringName value

### extract

    public static java.lang.String extract(Any a)

  Extract StringName from an any
  Parameters:
    `a` - an any
  Returns:
    the extracted StringName value

### type

    public static TypeCode type()

  Return the StringName TypeCode
  Returns:
    a TypeCode

### id

    public static java.lang.String id()

  Return the StringName IDL ID
  Returns:
    an ID

### read

    public static java.lang.String read(InputStream istream)

  Read StringName from a marshalled stream
  Parameters:
    `istream` - the input stream
  Returns:
    the readed StringName value

### write

    public static void write(OutputStream ostream,
                             java.lang.String value)

  Write StringName into a marshalled stream
  Parameters:
    `ostream` - the output stream
    `value` - StringName value