Lines Matching defs:CompositeName
79 *(<tt>CompositeName</tt>).
81 <table border="1" cellpadding=3 width="70%" summary="examples showing string form of composite name and its corresponding structural form (CompositeName)">
85 <th>CompositeName</th>
92 <td>{} (the empty name == new CompositeName("") == new CompositeName())
143 * corresponding <tt>CompositeName</tt>s. Notice that composing the
193 * A <tt>CompositeName</tt> instance is not synchronized against concurrent
195 * <tt>CompositeName</tt> should lock the object.
203 public class CompositeName implements Name {
209 * to be used by subclasses of CompositeName when they override
217 protected CompositeName(Enumeration<String> comps) {
230 public CompositeName(String n) throws InvalidNameException {
238 public CompositeName() {
252 * the CompositeName constructor to create a new equivalent
276 obj instanceof CompositeName &&
277 impl.equals(((CompositeName)obj).impl));
294 * Compares this CompositeName with the specified Object for order.
299 * If obj is null or not an instance of CompositeName, ClassCastException
318 * @exception ClassCastException if obj is not a CompositeName.
321 if (!(obj instanceof CompositeName)) {
322 throw new ClassCastException("Not a CompositeName");
324 return impl.compareTo(((CompositeName)obj).impl);
335 return (new CompositeName(getAll()));
398 return (new CompositeName(comps));
416 return (new CompositeName(comps));
426 * @return true if n is a CompositeName and
430 if (n instanceof CompositeName) {
445 * @return true if n is a CompositeName and
449 if (n instanceof CompositeName) {
461 * @return The updated CompositeName, not a new one. Cannot be null.
467 if (suffix instanceof CompositeName) {
486 * @return The updated CompositeName, not a new one. Cannot be null.
494 if (n instanceof CompositeName) {
507 * @return The updated CompositeName, not a new one. Cannot be null.
526 * @return The updated CompositeName, not a new one. Cannot be null.
596 CompositeName c = new CompositeName("aaa/bbb");
603 c = (CompositeName)s2.readObject();
618 name = new CompositeName(args[i]);