org.jacorb.naming
public class Name extends Object implements Serializable
Version: $Id: Name.java,v 1.14 2006/06/14 11:56:28 alphonse.bendt Exp $
Constructor Summary | |
---|---|
Name() | |
Name(NameComponent[] n)
create a name from an array of NameComponents | |
Name(String string_name)
create a name from a stringified name | |
Name(NameComponent n)
create a name from a singleNameComponent |
Method Summary | |
---|---|
NameComponent | baseNameComponent() |
NameComponent[] | components() |
Name | ctxName() |
boolean | equals(Object obj) |
Name | fullName() |
int | hashCode() |
String | kind() |
static NameComponent[] | toName(String sn) |
String | toString() |
static String | toString(NameComponent[] n) |
Returns: a NameComponent object representing the unstructured base name of this structured name
Returns: this name as an array of org.omg.CosNaming.NameComponent, neccessary for a number of operations on naming context
Returns: a Name object representing the name of the enclosing context
Returns: an a array of NameComponents
Throws: org.omg.CosNaming.NamingContextPackage.InvalidName
Returns: the string representation of this name
Returns: the string representation of this NameComponent array