1
2
3
4
5
6
7
8 package net.sf.jour.config.impl.runtime;
9
10 import com.sun.msv.verifier.DocumentDeclaration;
11
12 /***
13 * This interface is implemented by generated classes
14 * to indicate that the class supports validation.
15 */
16 public interface ValidatableObject extends XMLSerializable
17 {
18 /*** Gets the schema fragment associated with this class. */
19 DocumentDeclaration createRawValidator();
20
21 /***
22 * Gets the main interface that this object implements.
23 *
24 * For example, <code>FooImpl</code> will return <code>Foo</code>
25 * from this method.
26 */
27 Class getPrimaryInterface();
28 }