01: /**
02: * Interface for an object that is associated with a resolver.
03: * Typically the object will use the resolver to add and remove
04: * objects that are added or removed to one of this object's
05: * collection. The supplied resolver should implement a suitable
06: * add/remove scheme. A resolving object need not necessarily make
07: * use of the supplied resolver.
08: * <p>
09: * 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: */package org.exolab.castor.xml.schema;
16:
17: public interface ResolvingObject {
18:
19: public void useResolver(Resolver resolver);
20:
21: }
|