001// 002// 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 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: 2012.10.03 at 04:27:47 AM CEST 006// 007 008package org.jdtaus.mojo.resource.model.impl.runtime; 009 010import org.xml.sax.SAXException; 011import com.sun.xml.bind.JAXBObject; 012 013/** 014 * For a generated class to be serializable, it has to 015 * implement this interface. 016 * 017 * @author Kohsuke Kawaguchi 018 */ 019public interface XMLSerializable extends JAXBObject 020{ 021 /** 022 * Serializes child elements and texts into the specified target. 023 */ 024 void serializeBody( XMLSerializer target ) throws SAXException; 025 026 /** 027 * Serializes attributes into the specified target. 028 */ 029 void serializeAttributes( XMLSerializer target ) throws SAXException; 030 031 /** 032 * Declares all the namespace URIs this object is using at 033 * its top-level scope into the specified target. 034 */ 035 void serializeURIs( XMLSerializer target ) throws SAXException; 036 037}