org.jacorb.naming
Class Name
- java.io.Serializable
public class Name
extends java.lang.Object
implements java.io.Serializable
A convenience class for names and converting
between Names and their string representation
Version:
- Gerald Brose, FU Berlin
- Serialized Form
Name
public Name(String string_name)
throws InvalidName
create a name from a stringified name
baseNameComponent
public NameComponent baseNameComponent()
- a NameComponent object representing the unstructured
base name of this structured name
components
public NameComponent[] components()
- this name as an array of org.omg.CosNaming.NameComponent,
neccessary for a number of operations on naming context
ctxName
public Name ctxName()
- a Name object representing the name of the enclosing context
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
toString
public String toString()
- the string representation of this name
toString
public static String toString(NameComponent n)
throws InvalidName
- the string representation of this NameComponent array