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