KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > japex > testsuite > impl > runtime > XMLSerializable


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.3-b18-fcs
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2005.06.14 at 12:02:17 PDT
6
//
7

8 package com.sun.japex.testsuite.impl.runtime;
9
10 import org.xml.sax.SAXException JavaDoc;
11
12 /**
13  * For a generated class to be serializable, it has to
14  * implement this interface.
15  *
16  * @author Kohsuke Kawaguchi
17  */

18 public interface XMLSerializable
19 {
20     /**
21      * Serializes child elements and texts into the specified target.
22      */

23     void serializeBody( XMLSerializer target ) throws SAXException JavaDoc;
24     
25     /**
26      * Serializes attributes into the specified target.
27      */

28     void serializeAttributes( XMLSerializer target ) throws SAXException JavaDoc;
29     
30     /**
31      * Declares all the namespace URIs this object is using at
32      * its top-level scope into the specified target.
33      */

34     void serializeURIs( XMLSerializer target ) throws SAXException JavaDoc;
35
36 }
37
Popular Tags