astronomy.data.spectra
Class ObjectFactory

java.lang.Object
  extended by javax.xml.bind.JAXBContext
      extended by astronomy.data.spectra.impl.runtime.DefaultJAXBContextImpl
          extended by astronomy.data.spectra.ObjectFactory

public class ObjectFactory
extends DefaultJAXBContextImpl

This object contains factory methods for each Java content interface and Java element interface generated in the astronomy.data.spectra package.

An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.


Field Summary
static Class version
           
 
Fields inherited from class javax.xml.bind.JAXBContext
JAXB_CONTEXT_FACTORY
 
Constructor Summary
ObjectFactory()
          Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: astronomy.data.spectra
 
Method Summary
 AuthorType createAuthorType()
          Create an instance of AuthorType
 AuthorType.InstitutionType createAuthorTypeInstitutionType()
          Create an instance of AuthorTypeInstitutionType
 CoordinatesType createCoordinatesType()
          Create an instance of CoordinatesType
 CoordinatesType.DecType createCoordinatesTypeDecType()
          Create an instance of CoordinatesTypeDecType
 CoordinatesType.RaType createCoordinatesTypeRaType()
          Create an instance of CoordinatesTypeRaType
 IdType createIdType()
          Create an instance of IdType
 IdType.MagnitudeType createIdTypeMagnitudeType()
          Create an instance of IdTypeMagnitudeType
 LineType createLineType()
          Create an instance of LineType
 LineType.TransitionType createLineTypeTransitionType()
          Create an instance of LineTypeTransitionType
 PlotType createPlotType()
          Create an instance of PlotType
 PlotType.ExposureType createPlotTypeExposureType()
          Create an instance of PlotTypeExposureType
 PlotType.PlotdataType createPlotTypePlotdataType()
          Create an instance of PlotTypePlotdataType
 PlotType.PlotdataType.ImagefileType createPlotTypePlotdataTypeImagefileType()
          Create an instance of PlotTypePlotdataTypeImagefileType
 PlotType.PlotdataType.PlotfileType createPlotTypePlotdataTypePlotfileType()
          Create an instance of PlotTypePlotdataTypePlotfileType
 PlotType.ResolutionType createPlotTypeResolutionType()
          Create an instance of PlotTypeResolutionType
 RangeType createRangeType()
          Create an instance of RangeType
 ReferenceType createReferenceType()
          Create an instance of ReferenceType
 ReferenceType.JournalType createReferenceTypeJournalType()
          Create an instance of ReferenceTypeJournalType
 Spectradatabase createSpectradatabase()
          Create an instance of Spectradatabase
 SpectradatabaseType createSpectradatabaseType()
          Create an instance of SpectradatabaseType
 SpectradatabaseType.TypeType createSpectradatabaseTypeTypeType()
          Create an instance of SpectradatabaseTypeTypeType
 SpectradatabaseType.TypeType.SourceType createSpectradatabaseTypeTypeTypeSourceType()
          Create an instance of SpectradatabaseTypeTypeTypeSourceType
 SpectraType createSpectraType()
          Create an instance of SpectraType
 SpectraType.AbsorptionlineType createSpectraTypeAbsorptionlineType()
          Create an instance of SpectraTypeAbsorptionlineType
 SpectraType.CommentType createSpectraTypeCommentType()
          Create an instance of SpectraTypeCommentType
 SpectraType.DetectorType createSpectraTypeDetectorType()
          Create an instance of SpectraTypeDetectorType
 SpectraType.DiscontinuityType createSpectraTypeDiscontinuityType()
          Create an instance of SpectraTypeDiscontinuityType
 SpectraType.EmissionlineType createSpectraTypeEmissionlineType()
          Create an instance of SpectraTypeEmissionlineType
 SpectraType.SpectrometerType createSpectraTypeSpectrometerType()
          Create an instance of SpectraTypeSpectrometerType
 SpectraType.TelescopeType createSpectraTypeTelescopeType()
          Create an instance of SpectraTypeTelescopeType
 WavelengthType createWavelengthType()
          Create an instance of WavelengthType
 Object getProperty(String name)
          Get the specified property.
 Object newInstance(Class javaContentInterface)
          Create an instance of the specified Java content interface.
 void setProperty(String name, Object value)
          Set the specified property.
 
Methods inherited from class astronomy.data.spectra.impl.runtime.DefaultJAXBContextImpl
createMarshaller, createUnmarshaller, createValidator, getGrammar, getGrammarInfo
 
Methods inherited from class javax.xml.bind.JAXBContext
newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static final Class version
Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: astronomy.data.spectra

Method Detail

newInstance

public Object newInstance(Class javaContentInterface)
                   throws javax.xml.bind.JAXBException
Create an instance of the specified Java content interface.

Overrides:
newInstance in class DefaultJAXBContextImpl
Parameters:
javaContentInterface - the Class object of the javacontent interface to instantiate
Returns:
a new instance
Throws:
JAXBException - if an error occurs

getProperty

public Object getProperty(String name)
                   throws javax.xml.bind.PropertyException
Get the specified property. This method can only be used to get provider specific properties. Attempting to get an undefined property will result in a PropertyException being thrown.

Overrides:
getProperty in class DefaultJAXBContextImpl
Parameters:
name - the name of the property to retrieve
Returns:
the value of the requested property
Throws:
PropertyException - when there is an error retrieving the given property or value

setProperty

public void setProperty(String name,
                        Object value)
                 throws javax.xml.bind.PropertyException
Set the specified property. This method can only be used to set provider specific properties. Attempting to set an undefined property will result in a PropertyException being thrown.

Overrides:
setProperty in class DefaultJAXBContextImpl
Parameters:
name - the name of the property to retrieve
value - the value of the property to be set
Throws:
PropertyException - when there is an error processing the given property or value

createSpectraTypeDetectorType

public SpectraType.DetectorType createSpectraTypeDetectorType()
                                                       throws javax.xml.bind.JAXBException
Create an instance of SpectraTypeDetectorType

Throws:
JAXBException - if an error occurs

createCoordinatesTypeDecType

public CoordinatesType.DecType createCoordinatesTypeDecType()
                                                     throws javax.xml.bind.JAXBException
Create an instance of CoordinatesTypeDecType

Throws:
JAXBException - if an error occurs

createSpectradatabaseTypeTypeType

public SpectradatabaseType.TypeType createSpectradatabaseTypeTypeType()
                                                               throws javax.xml.bind.JAXBException
Create an instance of SpectradatabaseTypeTypeType

Throws:
JAXBException - if an error occurs

createReferenceTypeJournalType

public ReferenceType.JournalType createReferenceTypeJournalType()
                                                         throws javax.xml.bind.JAXBException
Create an instance of ReferenceTypeJournalType

Throws:
JAXBException - if an error occurs

createSpectraTypeSpectrometerType

public SpectraType.SpectrometerType createSpectraTypeSpectrometerType()
                                                               throws javax.xml.bind.JAXBException
Create an instance of SpectraTypeSpectrometerType

Throws:
JAXBException - if an error occurs

createLineType

public LineType createLineType()
                        throws javax.xml.bind.JAXBException
Create an instance of LineType

Throws:
JAXBException - if an error occurs

createPlotType

public PlotType createPlotType()
                        throws javax.xml.bind.JAXBException
Create an instance of PlotType

Throws:
JAXBException - if an error occurs

createCoordinatesTypeRaType

public CoordinatesType.RaType createCoordinatesTypeRaType()
                                                   throws javax.xml.bind.JAXBException
Create an instance of CoordinatesTypeRaType

Throws:
JAXBException - if an error occurs

createIdType

public IdType createIdType()
                    throws javax.xml.bind.JAXBException
Create an instance of IdType

Throws:
JAXBException - if an error occurs

createWavelengthType

public WavelengthType createWavelengthType()
                                    throws javax.xml.bind.JAXBException
Create an instance of WavelengthType

Throws:
JAXBException - if an error occurs

createPlotTypePlotdataTypeImagefileType

public PlotType.PlotdataType.ImagefileType createPlotTypePlotdataTypeImagefileType()
                                                                            throws javax.xml.bind.JAXBException
Create an instance of PlotTypePlotdataTypeImagefileType

Throws:
JAXBException - if an error occurs

createPlotTypeExposureType

public PlotType.ExposureType createPlotTypeExposureType()
                                                 throws javax.xml.bind.JAXBException
Create an instance of PlotTypeExposureType

Throws:
JAXBException - if an error occurs

createSpectradatabaseType

public SpectradatabaseType createSpectradatabaseType()
                                              throws javax.xml.bind.JAXBException
Create an instance of SpectradatabaseType

Throws:
JAXBException - if an error occurs

createSpectraTypeCommentType

public SpectraType.CommentType createSpectraTypeCommentType()
                                                     throws javax.xml.bind.JAXBException
Create an instance of SpectraTypeCommentType

Throws:
JAXBException - if an error occurs

createReferenceType

public ReferenceType createReferenceType()
                                  throws javax.xml.bind.JAXBException
Create an instance of ReferenceType

Throws:
JAXBException - if an error occurs

createIdTypeMagnitudeType

public IdType.MagnitudeType createIdTypeMagnitudeType()
                                               throws javax.xml.bind.JAXBException
Create an instance of IdTypeMagnitudeType

Throws:
JAXBException - if an error occurs

createPlotTypeResolutionType

public PlotType.ResolutionType createPlotTypeResolutionType()
                                                     throws javax.xml.bind.JAXBException
Create an instance of PlotTypeResolutionType

Throws:
JAXBException - if an error occurs

createPlotTypePlotdataTypePlotfileType

public PlotType.PlotdataType.PlotfileType createPlotTypePlotdataTypePlotfileType()
                                                                          throws javax.xml.bind.JAXBException
Create an instance of PlotTypePlotdataTypePlotfileType

Throws:
JAXBException - if an error occurs

createCoordinatesType

public CoordinatesType createCoordinatesType()
                                      throws javax.xml.bind.JAXBException
Create an instance of CoordinatesType

Throws:
JAXBException - if an error occurs

createSpectraTypeDiscontinuityType

public SpectraType.DiscontinuityType createSpectraTypeDiscontinuityType()
                                                                 throws javax.xml.bind.JAXBException
Create an instance of SpectraTypeDiscontinuityType

Throws:
JAXBException - if an error occurs

createSpectraTypeEmissionlineType

public SpectraType.EmissionlineType createSpectraTypeEmissionlineType()
                                                               throws javax.xml.bind.JAXBException
Create an instance of SpectraTypeEmissionlineType

Throws:
JAXBException - if an error occurs

createRangeType

public RangeType createRangeType()
                          throws javax.xml.bind.JAXBException
Create an instance of RangeType

Throws:
JAXBException - if an error occurs

createLineTypeTransitionType

public LineType.TransitionType createLineTypeTransitionType()
                                                     throws javax.xml.bind.JAXBException
Create an instance of LineTypeTransitionType

Throws:
JAXBException - if an error occurs

createAuthorTypeInstitutionType

public AuthorType.InstitutionType createAuthorTypeInstitutionType()
                                                           throws javax.xml.bind.JAXBException
Create an instance of AuthorTypeInstitutionType

Throws:
JAXBException - if an error occurs

createPlotTypePlotdataType

public PlotType.PlotdataType createPlotTypePlotdataType()
                                                 throws javax.xml.bind.JAXBException
Create an instance of PlotTypePlotdataType

Throws:
JAXBException - if an error occurs

createSpectradatabase

public Spectradatabase createSpectradatabase()
                                      throws javax.xml.bind.JAXBException
Create an instance of Spectradatabase

Throws:
JAXBException - if an error occurs

createAuthorType

public AuthorType createAuthorType()
                            throws javax.xml.bind.JAXBException
Create an instance of AuthorType

Throws:
JAXBException - if an error occurs

createSpectraTypeTelescopeType

public SpectraType.TelescopeType createSpectraTypeTelescopeType()
                                                         throws javax.xml.bind.JAXBException
Create an instance of SpectraTypeTelescopeType

Throws:
JAXBException - if an error occurs

createSpectraTypeAbsorptionlineType

public SpectraType.AbsorptionlineType createSpectraTypeAbsorptionlineType()
                                                                   throws javax.xml.bind.JAXBException
Create an instance of SpectraTypeAbsorptionlineType

Throws:
JAXBException - if an error occurs

createSpectradatabaseTypeTypeTypeSourceType

public SpectradatabaseType.TypeType.SourceType createSpectradatabaseTypeTypeTypeSourceType()
                                                                                    throws javax.xml.bind.JAXBException
Create an instance of SpectradatabaseTypeTypeTypeSourceType

Throws:
JAXBException - if an error occurs

createSpectraType

public SpectraType createSpectraType()
                              throws javax.xml.bind.JAXBException
Create an instance of SpectraType

Throws:
JAXBException - if an error occurs