astronomy.data.spectra.impl.runtime
Interface UnmarshallingEventHandler

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

public interface UnmarshallingEventHandler

Implemented by the generated code to unmarshall an object from unmarshaller events.

AbstractUnmarshallingEventHandlerImpl throws a SAXException when a problem is encountered and that problem is not reported. It is the responsibility of the caller of this interface to report it to the client's ValidationEventHandler and re-wrap it into UnmarshalException.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Method Summary
 void enterAttribute(String uri, String local, String qname)
           
 void enterElement(String uri, String local, String qname, Attributes atts)
           
 void leaveAttribute(String uri, String local, String qname)
           
 void leaveChild(int nextState)
           
 void leaveElement(String uri, String local, String qname)
           
 Object owner()
          Returns the content-tree object for which this unmarshaller is working for.
 void text(String s)
           
 

Method Detail

owner

Object owner()
Returns the content-tree object for which this unmarshaller is working for.


enterElement

void enterElement(String uri,
                  String local,
                  String qname,
                  Attributes atts)
                  throws SAXException
Throws:
SAXException

leaveElement

void leaveElement(String uri,
                  String local,
                  String qname)
                  throws SAXException
Throws:
SAXException

text

void text(String s)
          throws SAXException
Throws:
SAXException

enterAttribute

void enterAttribute(String uri,
                    String local,
                    String qname)
                    throws SAXException
Throws:
SAXException

leaveAttribute

void leaveAttribute(String uri,
                    String local,
                    String qname)
                    throws SAXException
Throws:
SAXException

leaveChild

void leaveChild(int nextState)
                throws SAXException
Throws:
SAXException