001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.1-05/30/2003 05:06 AM(java_re)-fcs 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2004.10.11 at 12:13:34 EDT 
006    //
007    
008    /*
009     * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
010     * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
011     */
012    package astronomy.data.spectra.impl.runtime;
013    
014    import com.sun.msv.verifier.DocumentDeclaration;
015    
016    /**
017     * This interface is implemented by generated classes
018     * to indicate that the class supports validation.
019     */
020    public interface ValidatableObject extends XMLSerializable
021    {
022        /** Gets the schema fragment associated with this class. */
023        DocumentDeclaration createRawValidator();
024        
025        /**
026         * Gets the main interface that this object implements.
027         * 
028         * For example, <code>FooImpl</code> will return <code>Foo</code>
029         * from this method.
030         */
031        Class getPrimaryInterface();
032    }