KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > tools > xjc > runtime > ValidatableObject


1 package com.sun.tools.xjc.runtime;
2
3 import com.sun.msv.verifier.DocumentDeclaration;
4
5 /**
6  * This interface is implemented by generated classes
7  * to indicate that the class supports validation.
8  */

9 public interface ValidatableObject extends XMLSerializable
10 {
11     /** Gets the schema fragment associated with this class. */
12     DocumentDeclaration createRawValidator();
13     
14     /**
15      * Gets the main interface that this object implements.
16      *
17      * For example, <code>FooImpl</code> will return <code>Foo</code>
18      * from this method.
19      */

20     Class JavaDoc getPrimaryInterface();
21 }
22
Popular Tags