1 /**
2 * Interface for an object that is associated with a resolver.
3 * Typically the object will use the resolver to add and remove
4 * objects that are added or removed to one of this object's
5 * collection. The supplied resolver should implement a suitable
6 * add/remove scheme. A resolving object need not necessarily make
7 * use of the supplied resolver.
8 * <p>
9 * Not objects will implement add/remove on a resolver. Such objects
10 * would not implement this interace and a simple <tt>instanceof</tt>
11 * operation can be used to decide whether to call {@link
12 * #useResolver}.
13 *
14 * @see Resolver
15 */
16
17 package org.exolab.castor.xml.schema;
18
19 public interface ResolvingObject
20 {
21
22 public void useResolver( Resolver resolver );
23
24 }
25