View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:15 PM(kohsuke)-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: 2012.10.03 at 04:27:47 AM CEST 
6   //
7   
8   package org.jdtaus.mojo.resource.model.impl.runtime;
9   
10  import org.xml.sax.SAXException;
11  import com.sun.xml.bind.JAXBObject;
12  
13  /**
14   * For a generated class to be serializable, it has to
15   * implement this interface.
16   * 
17   * @author Kohsuke Kawaguchi
18   */
19  public interface XMLSerializable extends JAXBObject
20  {
21      /**
22       * Serializes child elements and texts into the specified target.
23       */
24      void serializeBody( XMLSerializer target ) throws SAXException;
25      
26      /**
27       * Serializes attributes into the specified target.
28       */
29      void serializeAttributes( XMLSerializer target ) throws SAXException;
30      
31      /**
32       * Declares all the namespace URIs this object is using at
33       * its top-level scope into the specified target.
34       */
35      void serializeURIs( XMLSerializer target ) throws SAXException;
36  
37  }