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 org.xml.sax.SAXException;
015    
016    /**
017     * For a generated class to be serializable, it has to
018     * implement this interface.
019     * 
020     * @author Kohsuke Kawaguchi
021     */
022    public interface XMLSerializable
023    {
024        /**
025         * Serializes child elements and texts into the specified target.
026         */
027        void serializeElementBody( XMLSerializer target ) throws SAXException;
028    
029        /**
030         * Serializes itself as an attribute body into the specified target.
031         */
032        void serializeAttributeBody( XMLSerializer target ) throws SAXException;
033        
034        /**
035         * Serializes attributes into the specified target.
036         */
037        void serializeAttributes( XMLSerializer target ) throws SAXException;
038        
039        /**
040         * Declares all the namespace URIs this object is using at
041         * its top-level scope into the specified target.
042         */
043        void serializeURIs( XMLSerializer target ) throws SAXException;
044    
045    }