Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.CosNaming.NameComponentHelper
Many of the operations defined on a naming context take names as parameters. Names have structure. A name is an ordered sequence of components.
A name with a single component is called a simple name; a name with multiple components is called a compound name. Each component except the last is used to name a context; the last component denotes the bound object.
A name component consists of two attributes: the identifier attribute and the kind attribute. Both the identifier attribute and the kind attribute are represented as IDL strings. The kind attribute adds descriptive power to names in a syntax-independent way. Examples of the value of the kind attribute include c_source, object_code, executable, postscript, or " ".
Constructor Summary | |
NameComponentHelper()
|
Method Summary | |
static NameComponent |
extract(Any a)
|
static String |
id()
|
static void |
insert(Any a,
NameComponent that)
|
static NameComponent |
read(InputStream istream)
|
static TypeCode |
type()
|
static void |
write(OutputStream ostream,
NameComponent value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NameComponentHelper()
Method Detail |
public static void insert(Any a, NameComponent that)
public static NameComponent extract(Any a)
public static TypeCode type()
public static String id()
public static NameComponent read(InputStream istream)
public static void write(OutputStream ostream, NameComponent value)
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the