astronomy.data.spectra.impl.runtime
Interface XMLSerializable

All Known Subinterfaces:
ValidatableObject
All Known Implementing Classes:
AuthorTypeImpl, AuthorTypeImpl.InstitutionTypeImpl, CoordinatesTypeImpl, CoordinatesTypeImpl.DecTypeImpl, CoordinatesTypeImpl.RaTypeImpl, IdTypeImpl, IdTypeImpl.MagnitudeTypeImpl, LineTypeImpl, LineTypeImpl.TransitionTypeImpl, PlotTypeImpl, PlotTypeImpl.ExposureTypeImpl, PlotTypeImpl.PlotdataTypeImpl, PlotTypeImpl.PlotdataTypeImpl.ImagefileTypeImpl, PlotTypeImpl.PlotdataTypeImpl.PlotfileTypeImpl, PlotTypeImpl.ResolutionTypeImpl, RangeTypeImpl, ReferenceTypeImpl, ReferenceTypeImpl.JournalTypeImpl, SpectradatabaseImpl, SpectradatabaseTypeImpl, SpectradatabaseTypeImpl.TypeTypeImpl, SpectradatabaseTypeImpl.TypeTypeImpl.SourceTypeImpl, SpectraTypeImpl, SpectraTypeImpl.AbsorptionlineTypeImpl, SpectraTypeImpl.CommentTypeImpl, SpectraTypeImpl.DetectorTypeImpl, SpectraTypeImpl.DiscontinuityTypeImpl, SpectraTypeImpl.EmissionlineTypeImpl, SpectraTypeImpl.SpectrometerTypeImpl, SpectraTypeImpl.TelescopeTypeImpl, WavelengthTypeImpl

public interface XMLSerializable

For a generated class to be serializable, it has to implement this interface.

Author:
Kohsuke Kawaguchi

Method Summary
 void serializeAttributeBody(XMLSerializer target)
          Serializes itself as an attribute body into the specified target.
 void serializeAttributes(XMLSerializer target)
          Serializes attributes into the specified target.
 void serializeElementBody(XMLSerializer target)
          Serializes child elements and texts into the specified target.
 void serializeURIs(XMLSerializer target)
          Declares all the namespace URIs this object is using at its top-level scope into the specified target.
 

Method Detail

serializeElementBody

void serializeElementBody(XMLSerializer target)
                          throws SAXException
Serializes child elements and texts into the specified target.

Throws:
SAXException

serializeAttributeBody

void serializeAttributeBody(XMLSerializer target)
                            throws SAXException
Serializes itself as an attribute body into the specified target.

Throws:
SAXException

serializeAttributes

void serializeAttributes(XMLSerializer target)
                         throws SAXException
Serializes attributes into the specified target.

Throws:
SAXException

serializeURIs

void serializeURIs(XMLSerializer target)
                   throws SAXException
Declares all the namespace URIs this object is using at its top-level scope into the specified target.

Throws:
SAXException