001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.1-05/30/2003 05:06 AM(java_re)-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: 2004.10.11 at 12:13:34 EDT
006 //
007
008
009 package astronomy.data.spectra;
010
011
012 /**
013 * This object contains factory methods for each
014 * Java content interface and Java element interface
015 * generated in the astronomy.data.spectra package.
016 * <p>An ObjectFactory allows you to programatically
017 * construct new instances of the Java representation
018 * for XML content. The Java representation of XML
019 * content can consist of schema derived interfaces
020 * and classes representing the binding of schema
021 * type definitions, element declarations and model
022 * groups. Factory methods for each of these are
023 * provided in this class.
024 *
025 */
026 public class ObjectFactory
027 extends astronomy.data.spectra.impl.runtime.DefaultJAXBContextImpl
028 {
029
030 private static java.util.HashMap defaultImplementations = new java.util.HashMap();
031 public final static java.lang.Class version = (astronomy.data.spectra.impl.JAXBVersion.class);
032
033 static {
034 defaultImplementations.put("astronomy.data.spectra.SpectraType.DetectorType", "astronomy.data.spectra.impl.SpectraTypeImpl.DetectorTypeImpl");
035 defaultImplementations.put("astronomy.data.spectra.CoordinatesType.DecType", "astronomy.data.spectra.impl.CoordinatesTypeImpl.DecTypeImpl");
036 defaultImplementations.put("astronomy.data.spectra.SpectradatabaseType.TypeType", "astronomy.data.spectra.impl.SpectradatabaseTypeImpl.TypeTypeImpl");
037 defaultImplementations.put("astronomy.data.spectra.ReferenceType.JournalType", "astronomy.data.spectra.impl.ReferenceTypeImpl.JournalTypeImpl");
038 defaultImplementations.put("astronomy.data.spectra.SpectraType.SpectrometerType", "astronomy.data.spectra.impl.SpectraTypeImpl.SpectrometerTypeImpl");
039 defaultImplementations.put("astronomy.data.spectra.LineType", "astronomy.data.spectra.impl.LineTypeImpl");
040 defaultImplementations.put("astronomy.data.spectra.PlotType", "astronomy.data.spectra.impl.PlotTypeImpl");
041 defaultImplementations.put("astronomy.data.spectra.CoordinatesType.RaType", "astronomy.data.spectra.impl.CoordinatesTypeImpl.RaTypeImpl");
042 defaultImplementations.put("astronomy.data.spectra.IdType", "astronomy.data.spectra.impl.IdTypeImpl");
043 defaultImplementations.put("astronomy.data.spectra.WavelengthType", "astronomy.data.spectra.impl.WavelengthTypeImpl");
044 defaultImplementations.put("astronomy.data.spectra.PlotType.PlotdataType.ImagefileType", "astronomy.data.spectra.impl.PlotTypeImpl.PlotdataTypeImpl.ImagefileTypeImpl");
045 defaultImplementations.put("astronomy.data.spectra.PlotType.ExposureType", "astronomy.data.spectra.impl.PlotTypeImpl.ExposureTypeImpl");
046 defaultImplementations.put("astronomy.data.spectra.SpectradatabaseType", "astronomy.data.spectra.impl.SpectradatabaseTypeImpl");
047 defaultImplementations.put("astronomy.data.spectra.SpectraType.CommentType", "astronomy.data.spectra.impl.SpectraTypeImpl.CommentTypeImpl");
048 defaultImplementations.put("astronomy.data.spectra.ReferenceType", "astronomy.data.spectra.impl.ReferenceTypeImpl");
049 defaultImplementations.put("astronomy.data.spectra.IdType.MagnitudeType", "astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl");
050 defaultImplementations.put("astronomy.data.spectra.PlotType.ResolutionType", "astronomy.data.spectra.impl.PlotTypeImpl.ResolutionTypeImpl");
051 defaultImplementations.put("astronomy.data.spectra.PlotType.PlotdataType.PlotfileType", "astronomy.data.spectra.impl.PlotTypeImpl.PlotdataTypeImpl.PlotfileTypeImpl");
052 defaultImplementations.put("astronomy.data.spectra.CoordinatesType", "astronomy.data.spectra.impl.CoordinatesTypeImpl");
053 defaultImplementations.put("astronomy.data.spectra.SpectraType.DiscontinuityType", "astronomy.data.spectra.impl.SpectraTypeImpl.DiscontinuityTypeImpl");
054 defaultImplementations.put("astronomy.data.spectra.SpectraType.EmissionlineType", "astronomy.data.spectra.impl.SpectraTypeImpl.EmissionlineTypeImpl");
055 defaultImplementations.put("astronomy.data.spectra.RangeType", "astronomy.data.spectra.impl.RangeTypeImpl");
056 defaultImplementations.put("astronomy.data.spectra.LineType.TransitionType", "astronomy.data.spectra.impl.LineTypeImpl.TransitionTypeImpl");
057 defaultImplementations.put("astronomy.data.spectra.AuthorType.InstitutionType", "astronomy.data.spectra.impl.AuthorTypeImpl.InstitutionTypeImpl");
058 defaultImplementations.put("astronomy.data.spectra.PlotType.PlotdataType", "astronomy.data.spectra.impl.PlotTypeImpl.PlotdataTypeImpl");
059 defaultImplementations.put("astronomy.data.spectra.Spectradatabase", "astronomy.data.spectra.impl.SpectradatabaseImpl");
060 defaultImplementations.put("astronomy.data.spectra.AuthorType", "astronomy.data.spectra.impl.AuthorTypeImpl");
061 defaultImplementations.put("astronomy.data.spectra.SpectraType.TelescopeType", "astronomy.data.spectra.impl.SpectraTypeImpl.TelescopeTypeImpl");
062 defaultImplementations.put("astronomy.data.spectra.SpectraType.AbsorptionlineType", "astronomy.data.spectra.impl.SpectraTypeImpl.AbsorptionlineTypeImpl");
063 defaultImplementations.put("astronomy.data.spectra.SpectradatabaseType.TypeType.SourceType", "astronomy.data.spectra.impl.SpectradatabaseTypeImpl.TypeTypeImpl.SourceTypeImpl");
064 defaultImplementations.put("astronomy.data.spectra.SpectraType", "astronomy.data.spectra.impl.SpectraTypeImpl");
065 }
066
067 /**
068 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: astronomy.data.spectra
069 *
070 */
071 public ObjectFactory() {
072 super(new astronomy.data.spectra.ObjectFactory.GrammarInfoImpl());
073 }
074
075 /**
076 * Create an instance of the specified Java content interface.
077 *
078 * @param javaContentInterface the Class object of the javacontent interface to instantiate
079 * @return a new instance
080 * @throws JAXBException if an error occurs
081 */
082 public java.lang.Object newInstance(java.lang.Class javaContentInterface)
083 throws javax.xml.bind.JAXBException
084 {
085 return super.newInstance(javaContentInterface);
086 }
087
088 /**
089 * Get the specified property. This method can only be
090 * used to get provider specific properties.
091 * Attempting to get an undefined property will result
092 * in a PropertyException being thrown.
093 *
094 * @param name the name of the property to retrieve
095 * @return the value of the requested property
096 * @throws PropertyException when there is an error retrieving the given property or value
097 */
098 public java.lang.Object getProperty(java.lang.String name)
099 throws javax.xml.bind.PropertyException
100 {
101 return super.getProperty(name);
102 }
103
104 /**
105 * Set the specified property. This method can only be
106 * used to set provider specific properties.
107 * Attempting to set an undefined property will result
108 * in a PropertyException being thrown.
109 *
110 * @param name the name of the property to retrieve
111 * @param value the value of the property to be set
112 * @throws PropertyException when there is an error processing the given property or value
113 */
114 public void setProperty(java.lang.String name, java.lang.Object value)
115 throws javax.xml.bind.PropertyException
116 {
117 super.setProperty(name, value);
118 }
119
120 /**
121 * Create an instance of SpectraTypeDetectorType
122 *
123 * @throws JAXBException if an error occurs
124 */
125 public astronomy.data.spectra.SpectraType.DetectorType createSpectraTypeDetectorType()
126 throws javax.xml.bind.JAXBException
127 {
128 return new astronomy.data.spectra.impl.SpectraTypeImpl.DetectorTypeImpl();
129 }
130
131 /**
132 * Create an instance of CoordinatesTypeDecType
133 *
134 * @throws JAXBException if an error occurs
135 */
136 public astronomy.data.spectra.CoordinatesType.DecType createCoordinatesTypeDecType()
137 throws javax.xml.bind.JAXBException
138 {
139 return new astronomy.data.spectra.impl.CoordinatesTypeImpl.DecTypeImpl();
140 }
141
142 /**
143 * Create an instance of SpectradatabaseTypeTypeType
144 *
145 * @throws JAXBException if an error occurs
146 */
147 public astronomy.data.spectra.SpectradatabaseType.TypeType createSpectradatabaseTypeTypeType()
148 throws javax.xml.bind.JAXBException
149 {
150 return new astronomy.data.spectra.impl.SpectradatabaseTypeImpl.TypeTypeImpl();
151 }
152
153 /**
154 * Create an instance of ReferenceTypeJournalType
155 *
156 * @throws JAXBException if an error occurs
157 */
158 public astronomy.data.spectra.ReferenceType.JournalType createReferenceTypeJournalType()
159 throws javax.xml.bind.JAXBException
160 {
161 return new astronomy.data.spectra.impl.ReferenceTypeImpl.JournalTypeImpl();
162 }
163
164 /**
165 * Create an instance of SpectraTypeSpectrometerType
166 *
167 * @throws JAXBException if an error occurs
168 */
169 public astronomy.data.spectra.SpectraType.SpectrometerType createSpectraTypeSpectrometerType()
170 throws javax.xml.bind.JAXBException
171 {
172 return new astronomy.data.spectra.impl.SpectraTypeImpl.SpectrometerTypeImpl();
173 }
174
175 /**
176 * Create an instance of LineType
177 *
178 * @throws JAXBException if an error occurs
179 */
180 public astronomy.data.spectra.LineType createLineType()
181 throws javax.xml.bind.JAXBException
182 {
183 return new astronomy.data.spectra.impl.LineTypeImpl();
184 }
185
186 /**
187 * Create an instance of PlotType
188 *
189 * @throws JAXBException if an error occurs
190 */
191 public astronomy.data.spectra.PlotType createPlotType()
192 throws javax.xml.bind.JAXBException
193 {
194 return new astronomy.data.spectra.impl.PlotTypeImpl();
195 }
196
197 /**
198 * Create an instance of CoordinatesTypeRaType
199 *
200 * @throws JAXBException if an error occurs
201 */
202 public astronomy.data.spectra.CoordinatesType.RaType createCoordinatesTypeRaType()
203 throws javax.xml.bind.JAXBException
204 {
205 return new astronomy.data.spectra.impl.CoordinatesTypeImpl.RaTypeImpl();
206 }
207
208 /**
209 * Create an instance of IdType
210 *
211 * @throws JAXBException if an error occurs
212 */
213 public astronomy.data.spectra.IdType createIdType()
214 throws javax.xml.bind.JAXBException
215 {
216 return new astronomy.data.spectra.impl.IdTypeImpl();
217 }
218
219 /**
220 * Create an instance of WavelengthType
221 *
222 * @throws JAXBException if an error occurs
223 */
224 public astronomy.data.spectra.WavelengthType createWavelengthType()
225 throws javax.xml.bind.JAXBException
226 {
227 return new astronomy.data.spectra.impl.WavelengthTypeImpl();
228 }
229
230 /**
231 * Create an instance of PlotTypePlotdataTypeImagefileType
232 *
233 * @throws JAXBException if an error occurs
234 */
235 public astronomy.data.spectra.PlotType.PlotdataType.ImagefileType createPlotTypePlotdataTypeImagefileType()
236 throws javax.xml.bind.JAXBException
237 {
238 return new astronomy.data.spectra.impl.PlotTypeImpl.PlotdataTypeImpl.ImagefileTypeImpl();
239 }
240
241 /**
242 * Create an instance of PlotTypeExposureType
243 *
244 * @throws JAXBException if an error occurs
245 */
246 public astronomy.data.spectra.PlotType.ExposureType createPlotTypeExposureType()
247 throws javax.xml.bind.JAXBException
248 {
249 return new astronomy.data.spectra.impl.PlotTypeImpl.ExposureTypeImpl();
250 }
251
252 /**
253 * Create an instance of SpectradatabaseType
254 *
255 * @throws JAXBException if an error occurs
256 */
257 public astronomy.data.spectra.SpectradatabaseType createSpectradatabaseType()
258 throws javax.xml.bind.JAXBException
259 {
260 return new astronomy.data.spectra.impl.SpectradatabaseTypeImpl();
261 }
262
263 /**
264 * Create an instance of SpectraTypeCommentType
265 *
266 * @throws JAXBException if an error occurs
267 */
268 public astronomy.data.spectra.SpectraType.CommentType createSpectraTypeCommentType()
269 throws javax.xml.bind.JAXBException
270 {
271 return new astronomy.data.spectra.impl.SpectraTypeImpl.CommentTypeImpl();
272 }
273
274 /**
275 * Create an instance of ReferenceType
276 *
277 * @throws JAXBException if an error occurs
278 */
279 public astronomy.data.spectra.ReferenceType createReferenceType()
280 throws javax.xml.bind.JAXBException
281 {
282 return new astronomy.data.spectra.impl.ReferenceTypeImpl();
283 }
284
285 /**
286 * Create an instance of IdTypeMagnitudeType
287 *
288 * @throws JAXBException if an error occurs
289 */
290 public astronomy.data.spectra.IdType.MagnitudeType createIdTypeMagnitudeType()
291 throws javax.xml.bind.JAXBException
292 {
293 return new astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl();
294 }
295
296 /**
297 * Create an instance of PlotTypeResolutionType
298 *
299 * @throws JAXBException if an error occurs
300 */
301 public astronomy.data.spectra.PlotType.ResolutionType createPlotTypeResolutionType()
302 throws javax.xml.bind.JAXBException
303 {
304 return new astronomy.data.spectra.impl.PlotTypeImpl.ResolutionTypeImpl();
305 }
306
307 /**
308 * Create an instance of PlotTypePlotdataTypePlotfileType
309 *
310 * @throws JAXBException if an error occurs
311 */
312 public astronomy.data.spectra.PlotType.PlotdataType.PlotfileType createPlotTypePlotdataTypePlotfileType()
313 throws javax.xml.bind.JAXBException
314 {
315 return new astronomy.data.spectra.impl.PlotTypeImpl.PlotdataTypeImpl.PlotfileTypeImpl();
316 }
317
318 /**
319 * Create an instance of CoordinatesType
320 *
321 * @throws JAXBException if an error occurs
322 */
323 public astronomy.data.spectra.CoordinatesType createCoordinatesType()
324 throws javax.xml.bind.JAXBException
325 {
326 return new astronomy.data.spectra.impl.CoordinatesTypeImpl();
327 }
328
329 /**
330 * Create an instance of SpectraTypeDiscontinuityType
331 *
332 * @throws JAXBException if an error occurs
333 */
334 public astronomy.data.spectra.SpectraType.DiscontinuityType createSpectraTypeDiscontinuityType()
335 throws javax.xml.bind.JAXBException
336 {
337 return new astronomy.data.spectra.impl.SpectraTypeImpl.DiscontinuityTypeImpl();
338 }
339
340 /**
341 * Create an instance of SpectraTypeEmissionlineType
342 *
343 * @throws JAXBException if an error occurs
344 */
345 public astronomy.data.spectra.SpectraType.EmissionlineType createSpectraTypeEmissionlineType()
346 throws javax.xml.bind.JAXBException
347 {
348 return new astronomy.data.spectra.impl.SpectraTypeImpl.EmissionlineTypeImpl();
349 }
350
351 /**
352 * Create an instance of RangeType
353 *
354 * @throws JAXBException if an error occurs
355 */
356 public astronomy.data.spectra.RangeType createRangeType()
357 throws javax.xml.bind.JAXBException
358 {
359 return new astronomy.data.spectra.impl.RangeTypeImpl();
360 }
361
362 /**
363 * Create an instance of LineTypeTransitionType
364 *
365 * @throws JAXBException if an error occurs
366 */
367 public astronomy.data.spectra.LineType.TransitionType createLineTypeTransitionType()
368 throws javax.xml.bind.JAXBException
369 {
370 return new astronomy.data.spectra.impl.LineTypeImpl.TransitionTypeImpl();
371 }
372
373 /**
374 * Create an instance of AuthorTypeInstitutionType
375 *
376 * @throws JAXBException if an error occurs
377 */
378 public astronomy.data.spectra.AuthorType.InstitutionType createAuthorTypeInstitutionType()
379 throws javax.xml.bind.JAXBException
380 {
381 return new astronomy.data.spectra.impl.AuthorTypeImpl.InstitutionTypeImpl();
382 }
383
384 /**
385 * Create an instance of PlotTypePlotdataType
386 *
387 * @throws JAXBException if an error occurs
388 */
389 public astronomy.data.spectra.PlotType.PlotdataType createPlotTypePlotdataType()
390 throws javax.xml.bind.JAXBException
391 {
392 return new astronomy.data.spectra.impl.PlotTypeImpl.PlotdataTypeImpl();
393 }
394
395 /**
396 * Create an instance of Spectradatabase
397 *
398 * @throws JAXBException if an error occurs
399 */
400 public astronomy.data.spectra.Spectradatabase createSpectradatabase()
401 throws javax.xml.bind.JAXBException
402 {
403 return new astronomy.data.spectra.impl.SpectradatabaseImpl();
404 }
405
406 /**
407 * Create an instance of AuthorType
408 *
409 * @throws JAXBException if an error occurs
410 */
411 public astronomy.data.spectra.AuthorType createAuthorType()
412 throws javax.xml.bind.JAXBException
413 {
414 return new astronomy.data.spectra.impl.AuthorTypeImpl();
415 }
416
417 /**
418 * Create an instance of SpectraTypeTelescopeType
419 *
420 * @throws JAXBException if an error occurs
421 */
422 public astronomy.data.spectra.SpectraType.TelescopeType createSpectraTypeTelescopeType()
423 throws javax.xml.bind.JAXBException
424 {
425 return new astronomy.data.spectra.impl.SpectraTypeImpl.TelescopeTypeImpl();
426 }
427
428 /**
429 * Create an instance of SpectraTypeAbsorptionlineType
430 *
431 * @throws JAXBException if an error occurs
432 */
433 public astronomy.data.spectra.SpectraType.AbsorptionlineType createSpectraTypeAbsorptionlineType()
434 throws javax.xml.bind.JAXBException
435 {
436 return new astronomy.data.spectra.impl.SpectraTypeImpl.AbsorptionlineTypeImpl();
437 }
438
439 /**
440 * Create an instance of SpectradatabaseTypeTypeTypeSourceType
441 *
442 * @throws JAXBException if an error occurs
443 */
444 public astronomy.data.spectra.SpectradatabaseType.TypeType.SourceType createSpectradatabaseTypeTypeTypeSourceType()
445 throws javax.xml.bind.JAXBException
446 {
447 return new astronomy.data.spectra.impl.SpectradatabaseTypeImpl.TypeTypeImpl.SourceTypeImpl();
448 }
449
450 /**
451 * Create an instance of SpectraType
452 *
453 * @throws JAXBException if an error occurs
454 */
455 public astronomy.data.spectra.SpectraType createSpectraType()
456 throws javax.xml.bind.JAXBException
457 {
458 return new astronomy.data.spectra.impl.SpectraTypeImpl();
459 }
460
461 private static class GrammarInfoImpl
462 extends astronomy.data.spectra.impl.runtime.AbstractGrammarInfoImpl
463 {
464
465
466 public java.lang.Class getDefaultImplementation(java.lang.Class javaContentInterface) {
467 java.lang.Class c = null;
468 try {
469 c = java.lang.Class.forName(((java.lang.String) defaultImplementations.get(javaContentInterface.getName())));
470 } catch (java.lang.Exception _x) {
471 c = null;
472 }
473 return c;
474 }
475
476 public astronomy.data.spectra.impl.runtime.UnmarshallingEventHandler createUnmarshaller(java.lang.String uri, java.lang.String local, astronomy.data.spectra.impl.runtime.UnmarshallingContext context) {
477 if (("spectradatabase" == local)&&("" == uri)) {
478 return new astronomy.data.spectra.impl.SpectradatabaseImpl().createUnmarshaller(context);
479 }
480 return null;
481 }
482
483 public java.lang.Class getRootElement(java.lang.String uri, java.lang.String local) {
484 if (("spectradatabase" == local)&&("" == uri)) {
485 return (astronomy.data.spectra.impl.SpectradatabaseImpl.class);
486 }
487 return null;
488 }
489
490 public boolean recognize(java.lang.String uri, java.lang.String local) {
491 if (("spectradatabase" == local)&&("" == uri)) {
492 return true;
493 }
494 return false;
495 }
496
497 public java.lang.String[] getProbePoints() {
498 return new java.lang.String[] {"", "spectradatabase"};
499 }
500
501 }
502
503 }