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.impl; 010 011 public class IdTypeImpl implements astronomy.data.spectra.IdType, com.sun.xml.bind.JAXBObject, astronomy.data.spectra.impl.runtime.UnmarshallableObject, astronomy.data.spectra.impl.runtime.XMLSerializable, astronomy.data.spectra.impl.runtime.ValidatableObject 012 { 013 014 protected java.lang.String _Type; 015 protected boolean has_Redshift; 016 protected float _Redshift; 017 protected astronomy.data.spectra.CoordinatesType _Coordinates; 018 protected com.sun.xml.bind.util.ListImpl _Spectraname = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList()); 019 protected com.sun.xml.bind.util.ListImpl _Magnitude = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList()); 020 protected boolean has_Number; 021 protected long _Number; 022 protected java.lang.String _Url; 023 protected java.lang.String _Source; 024 protected boolean has_Page; 025 protected long _Page; 026 public final static java.lang.Class version = (astronomy.data.spectra.impl.JAXBVersion.class); 027 private static com.sun.msv.grammar.Grammar schemaFragment; 028 029 private final static java.lang.Class PRIMARY_INTERFACE_CLASS() { 030 return (astronomy.data.spectra.IdType.class); 031 } 032 033 public java.lang.String getType() { 034 if (_Type == null) { 035 return "quasar"; 036 } else { 037 return _Type; 038 } 039 } 040 041 public void setType(java.lang.String value) { 042 _Type = value; 043 } 044 045 public float getRedshift() { 046 return _Redshift; 047 } 048 049 public void setRedshift(float value) { 050 _Redshift = value; 051 has_Redshift = true; 052 } 053 054 public astronomy.data.spectra.CoordinatesType getCoordinates() { 055 return _Coordinates; 056 } 057 058 public void setCoordinates(astronomy.data.spectra.CoordinatesType value) { 059 _Coordinates = value; 060 } 061 062 public java.util.List getSpectraname() { 063 return _Spectraname; 064 } 065 066 public java.util.List getMagnitude() { 067 return _Magnitude; 068 } 069 070 public long getNumber() { 071 return _Number; 072 } 073 074 public void setNumber(long value) { 075 _Number = value; 076 has_Number = true; 077 } 078 079 public java.lang.String getUrl() { 080 return _Url; 081 } 082 083 public void setUrl(java.lang.String value) { 084 _Url = value; 085 } 086 087 public java.lang.String getSource() { 088 if (_Source == null) { 089 return "author"; 090 } else { 091 return _Source; 092 } 093 } 094 095 public void setSource(java.lang.String value) { 096 _Source = value; 097 } 098 099 public long getPage() { 100 return _Page; 101 } 102 103 public void setPage(long value) { 104 _Page = value; 105 has_Page = true; 106 } 107 108 public astronomy.data.spectra.impl.runtime.UnmarshallingEventHandler createUnmarshaller(astronomy.data.spectra.impl.runtime.UnmarshallingContext context) { 109 return new astronomy.data.spectra.impl.IdTypeImpl.Unmarshaller(context); 110 } 111 112 public void serializeElementBody(astronomy.data.spectra.impl.runtime.XMLSerializer context) 113 throws org.xml.sax.SAXException 114 { 115 int idx4 = 0; 116 final int len4 = _Spectraname.size(); 117 int idx5 = 0; 118 final int len5 = _Magnitude.size(); 119 while (idx4 != len4) { 120 context.startElement("", "spectraname"); 121 int idx_0 = idx4; 122 try { 123 idx_0 += 1; 124 } catch (java.lang.Exception e) { 125 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 126 } 127 context.endNamespaceDecls(); 128 int idx_1 = idx4; 129 try { 130 idx_1 += 1; 131 } catch (java.lang.Exception e) { 132 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 133 } 134 context.endAttributes(); 135 try { 136 context.text(((java.lang.String) _Spectraname.get(idx4 ++))); 137 } catch (java.lang.Exception e) { 138 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 139 } 140 context.endElement(); 141 } 142 if (_Coordinates!= null) { 143 context.startElement("", "coordinates"); 144 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Coordinates)); 145 context.endNamespaceDecls(); 146 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Coordinates)); 147 context.endAttributes(); 148 context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Coordinates)); 149 context.endElement(); 150 } 151 while (idx5 != len5) { 152 context.startElement("", "magnitude"); 153 int idx_4 = idx5; 154 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Magnitude.get(idx_4 ++))); 155 context.endNamespaceDecls(); 156 int idx_5 = idx5; 157 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Magnitude.get(idx_5 ++))); 158 context.endAttributes(); 159 context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Magnitude.get(idx5 ++))); 160 context.endElement(); 161 } 162 if (has_Redshift) { 163 context.startElement("", "redshift"); 164 context.endNamespaceDecls(); 165 context.endAttributes(); 166 try { 167 context.text(javax.xml.bind.DatatypeConverter.printFloat(((float) _Redshift))); 168 } catch (java.lang.Exception e) { 169 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 170 } 171 context.endElement(); 172 } 173 } 174 175 public void serializeAttributes(astronomy.data.spectra.impl.runtime.XMLSerializer context) 176 throws org.xml.sax.SAXException 177 { 178 int idx4 = 0; 179 final int len4 = _Spectraname.size(); 180 int idx5 = 0; 181 final int len5 = _Magnitude.size(); 182 if (_Type!= null) { 183 context.startAttribute("", "type"); 184 try { 185 context.text(((java.lang.String) _Type)); 186 } catch (java.lang.Exception e) { 187 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 188 } 189 context.endAttribute(); 190 } 191 if (_Source!= null) { 192 context.startAttribute("", "source"); 193 try { 194 context.text(((java.lang.String) _Source)); 195 } catch (java.lang.Exception e) { 196 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 197 } 198 context.endAttribute(); 199 } 200 if (_Url!= null) { 201 context.startAttribute("", "url"); 202 try { 203 context.text(((java.lang.String) _Url)); 204 } catch (java.lang.Exception e) { 205 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 206 } 207 context.endAttribute(); 208 } 209 if (has_Number) { 210 context.startAttribute("", "number"); 211 try { 212 context.text(javax.xml.bind.DatatypeConverter.printLong(((long) _Number))); 213 } catch (java.lang.Exception e) { 214 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 215 } 216 context.endAttribute(); 217 } 218 if (has_Page) { 219 context.startAttribute("", "page"); 220 try { 221 context.text(javax.xml.bind.DatatypeConverter.printLong(((long) _Page))); 222 } catch (java.lang.Exception e) { 223 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 224 } 225 context.endAttribute(); 226 } 227 } 228 229 public void serializeAttributeBody(astronomy.data.spectra.impl.runtime.XMLSerializer context) 230 throws org.xml.sax.SAXException 231 { 232 int idx4 = 0; 233 final int len4 = _Spectraname.size(); 234 int idx5 = 0; 235 final int len5 = _Magnitude.size(); 236 while (idx4 != len4) { 237 context.startElement("", "spectraname"); 238 int idx_0 = idx4; 239 try { 240 idx_0 += 1; 241 } catch (java.lang.Exception e) { 242 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 243 } 244 context.endNamespaceDecls(); 245 int idx_1 = idx4; 246 try { 247 idx_1 += 1; 248 } catch (java.lang.Exception e) { 249 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 250 } 251 context.endAttributes(); 252 try { 253 context.text(((java.lang.String) _Spectraname.get(idx4 ++))); 254 } catch (java.lang.Exception e) { 255 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 256 } 257 context.endElement(); 258 } 259 if (_Coordinates!= null) { 260 context.startElement("", "coordinates"); 261 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Coordinates)); 262 context.endNamespaceDecls(); 263 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Coordinates)); 264 context.endAttributes(); 265 context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Coordinates)); 266 context.endElement(); 267 } 268 while (idx5 != len5) { 269 context.startElement("", "magnitude"); 270 int idx_4 = idx5; 271 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Magnitude.get(idx_4 ++))); 272 context.endNamespaceDecls(); 273 int idx_5 = idx5; 274 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Magnitude.get(idx_5 ++))); 275 context.endAttributes(); 276 context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Magnitude.get(idx5 ++))); 277 context.endElement(); 278 } 279 if (has_Redshift) { 280 context.startElement("", "redshift"); 281 context.endNamespaceDecls(); 282 context.endAttributes(); 283 try { 284 context.text(javax.xml.bind.DatatypeConverter.printFloat(((float) _Redshift))); 285 } catch (java.lang.Exception e) { 286 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 287 } 288 context.endElement(); 289 } 290 } 291 292 public void serializeURIs(astronomy.data.spectra.impl.runtime.XMLSerializer context) 293 throws org.xml.sax.SAXException 294 { 295 int idx4 = 0; 296 final int len4 = _Spectraname.size(); 297 int idx5 = 0; 298 final int len5 = _Magnitude.size(); 299 } 300 301 public java.lang.Class getPrimaryInterface() { 302 return (astronomy.data.spectra.IdType.class); 303 } 304 305 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() { 306 if (schemaFragment == null) { 307 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize(( 308 "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su" 309 +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra" 310 +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi" 311 +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava" 312 +"/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0011%\u00ab\tppsq\u0000~\u0000\u0000\u000e\u00f7\u0012\u00cappsq\u0000~\u0000\u0000\f" 313 +"\u00ec\u0099Gppsq\u0000~\u0000\u0000\n<\u00d2\u00e8ppsq\u0000~\u0000\u0000\bl\u0019\u00ebppsq\u0000~\u0000\u0000\u0004\u00f9\u00b1\u0017ppsq\u0000~\u0000\u0000\u0003\u00bb\u00a62ppsq\u0000~\u0000\u0000\u0002" 314 +"]\u009d\u007fppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom." 315 +"sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000\u00ff\u0094\u00cfppsr" 316 +"\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameC" 317 +"lasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.gramma" 318 +"r.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fconte" 319 +"ntModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000\u00ff\u0094\u00ccpp\u0000sr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000" 320 +"\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002" 321 +"L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0000\u00ff\u0094\u00c1ppsr\u0000#com.s" 322 +"un.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000" 323 +"*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%co" 324 +"m.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.ms" 325 +"v.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Lj" 326 +"ava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u001cL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv" 327 +"/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/200" 328 +"1/XMLSchemat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceP" 329 +"rocessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.Whi" 330 +"teSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expres" 331 +"sion$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv" 332 +".util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001cL\u0000\fnamespaceURIq" 333 +"\u0000~\u0000\u001cxpq\u0000~\u0000 q\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000" 334 +"\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001cL\u0000\fnamespaceURIq\u0000~\u0000\u001cxr\u0000\u001dcom.sun.msv.g" 335 +"rammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u000bspectranamet\u0000\u0000sr\u0000\u001dcom.sun.ms" 336 +"v.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0001^\b\u00abppsq\u0000~\u0000\u0010\u0001^\b\u00a0sr\u0000\u0011java" 337 +".lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sq\u0000~\u0000\u0010\u0001^\b\u0095pp\u0000sq\u0000~\u0000-\u0001^\b\u008a" 338 +"ppsq\u0000~\u0000\r\u0001^\b\u007fq\u0000~\u00001psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000" 339 +"\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0011xq\u0000~\u0000\u0003\u0001^\b|q\u0000~\u00001psr\u00002com.sun" 340 +".msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003" 341 +"\u0000\u0000\u0000\bsq\u0000~\u00000\u0001q\u0000~\u00008sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001" 342 +"\u0002\u0000\u0000xq\u0000~\u0000)sr\u00000com.sun.msv.grammar.Expression$EpsilonExpressio" 343 +"n\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tq\u0000~\u00009psq\u0000~\u0000(t\u0000&astronomy.data.spectra." 344 +"CoordinatesTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-element" 345 +"ssq\u0000~\u0000(t\u0000\u000bcoordinatesq\u0000~\u0000,q\u0000~\u0000=sq\u0000~\u0000-\u0001^\b\u00aeppsq\u0000~\u0000\r\u0001^\b\u00a3q\u0000~\u00001ps" 346 +"q\u0000~\u0000\u0010\u0001^\b\u00a0q\u0000~\u00001p\u0000sq\u0000~\u0000\u0010\u0001^\b\u0095pp\u0000sq\u0000~\u0000-\u0001^\b\u008appsq\u0000~\u0000\r\u0001^\b\u007fq\u0000~\u00001psq\u0000" 347 +"~\u00005\u0001^\b|q\u0000~\u00001pq\u0000~\u00008q\u0000~\u0000;q\u0000~\u0000=sq\u0000~\u0000(t\u0000+astronomy.data.spectra." 348 +"IdType.MagnitudeTypeq\u0000~\u0000@sq\u0000~\u0000(t\u0000\tmagnitudeq\u0000~\u0000,q\u0000~\u0000=sq\u0000~\u0000-\u0001" 349 +">\n\u00e0ppsq\u0000~\u0000\u0010\u0001>\n\u00d5q\u0000~\u00001p\u0000sq\u0000~\u0000\u0014\u0001>\n\u00cappsr\u0000\"com.sun.msv.datatype.x" 350 +"sd.FloatType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.sun.msv.datatype.xsd.Floating" 351 +"NumberType\u00fc\u00e3\u00b6\u0087\u008c\u00a8|\u00e0\u0002\u0000\u0000xq\u0000~\u0000\u0019q\u0000~\u0000\u001ft\u0000\u0005floatsr\u00005com.sun.msv.data" 352 +"type.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\"q\u0000~\u0000%s" 353 +"q\u0000~\u0000&q\u0000~\u0000Tq\u0000~\u0000\u001fsq\u0000~\u0000(t\u0000\bredshiftq\u0000~\u0000,q\u0000~\u0000=sq\u0000~\u0000-\u0003rh\u00cfppsq\u0000~\u00005" 354 +"\u0003rh\u00c4q\u0000~\u00001psq\u0000~\u0000\u0014\u0001\u00a1\u0094hppsr\u0000)com.sun.msv.datatype.xsd.Enumerati" 355 +"onFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/Set;xr\u00009com.sun.msv" 356 +".datatype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000" 357 +"*com.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisF" 358 +"acetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/dat" 359 +"atype/xsd/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/data" 360 +"type/xsd/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u001cxq\u0000~\u0000\u001bq\u0000~\u0000,pq\u0000~\u0000#\u0000\u0000q\u0000" 361 +"~\u0000\u001eq\u0000~\u0000\u001et\u0000\u000benumerationsr\u0000\u0011java.util.HashSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000" 362 +"\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\nt\u0000\nwolfrayetot\u0000\u0004start\u0000\u0003cpnt\u0000\u0007ovistart\u0000\u0004novat\u0000\u0006quas" 363 +"art\u0000\u0002bet\u0000\tshellstart\u0000\nwolfrayetnt\u0000\nwolfrayetcxq\u0000~\u0000%sq\u0000~\u0000&t\u0000\u000e" 364 +"string-derivedq\u0000~\u0000,sq\u0000~\u0000(t\u0000\u0004typeq\u0000~\u0000,q\u0000~\u0000=sq\u0000~\u0000-\u0001\u00d0\u00b8\u00f8ppsq\u0000~\u00005" 365 +"\u0001\u00d0\u00b8\u00edq\u0000~\u00001psq\u0000~\u0000\u0014\u0000\u00aa\u00e8~ppsq\u0000~\u0000]q\u0000~\u0000,pq\u0000~\u0000#\u0000\u0000q\u0000~\u0000\u001eq\u0000~\u0000\u001eq\u0000~\u0000dsq\u0000~" 366 +"\u0000ew\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0004t\u0000\u0005veront\u0000\bburbidget\u0000\u0003nedt\u0000\u0006authorxq\u0000~\u0000%sq\u0000~" 367 +"\u0000&t\u0000\u000estring-derivedq\u0000~\u0000,sq\u0000~\u0000(t\u0000\u0006sourceq\u0000~\u0000,q\u0000~\u0000=sq\u0000~\u0000-\u0002\u00af\u00c6Zp" 368 +"psq\u0000~\u00005\u0002\u00af\u00c6Oq\u0000~\u00001psq\u0000~\u0000\u0014\u0001\u0018\u00d1\u0099ppsr\u0000#com.sun.msv.datatype.xsd.An" 369 +"yURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0019q\u0000~\u0000\u001ft\u0000\u0006anyURIq\u0000~\u0000Vq\u0000~\u0000%sq\u0000~\u0000&q\u0000~\u0000\u0087" 370 +"q\u0000~\u0000\u001fsq\u0000~\u0000(t\u0000\u0003urlq\u0000~\u0000,q\u0000~\u0000=sq\u0000~\u0000-\u0002\ny~ppsq\u0000~\u00005\u0002\nysq\u0000~\u00001psq\u0000~\u0000" 371 +"\u0014\u0000n\u00d32ppsr\u0000(com.sun.msv.datatype.xsd.UnsignedIntType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002" 372 +"\u0000\u0000xr\u0000!com.sun.msv.datatype.xsd.LongType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.su" 373 +"n.msv.datatype.xsd.IntegerDerivedType\u0099\u00f1]\u0090&6k\u00be\u0002\u0000\u0001L\u0000\nbaseFacet" 374 +"sq\u0000~\u0000axq\u0000~\u0000\u0019q\u0000~\u0000\u001ft\u0000\u000bunsignedIntq\u0000~\u0000Vsr\u0000*com.sun.msv.datatype" 375 +".xsd.MaxInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xs" 376 +"d.RangeFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\nlimitValuet\u0000\u0012Ljava/lang/Object;xq\u0000" 377 +"~\u0000_ppq\u0000~\u0000V\u0000\u0000sr\u0000)com.sun.msv.datatype.xsd.UnsignedLongType\u0000\u0000\u0000" 378 +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000$com.sun.msv.datatype.xsd.IntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x" 379 +"q\u0000~\u0000\u0090q\u0000~\u0000\u001ft\u0000\funsignedLongq\u0000~\u0000Vsq\u0000~\u0000\u0093ppq\u0000~\u0000V\u0000\u0000sr\u0000/com.sun.msv" 380 +".datatype.xsd.NonNegativeIntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0098q\u0000~\u0000\u001ft\u0000" 381 +"\u0012nonNegativeIntegerq\u0000~\u0000Vsr\u0000*com.sun.msv.datatype.xsd.MinIncl" 382 +"usiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0094ppq\u0000~\u0000V\u0000\u0000sq\u0000~\u0000\u0098q\u0000~\u0000\u001ft\u0000\u0007integerq\u0000~" 383 +"\u0000Vsr\u0000,com.sun.msv.datatype.xsd.FractionDigitsFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000" 384 +"\u0001I\u0000\u0005scalexr\u0000;com.sun.msv.datatype.xsd.DataTypeWithLexicalCon" 385 +"straintFacetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000`ppq\u0000~\u0000V\u0001\u0000sr\u0000#com.sun.msv.dataty" 386 +"pe.xsd.NumberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0019q\u0000~\u0000\u001ft\u0000\u0007decimalq\u0000~\u0000Vq\u0000~\u0000\u00a7t" 387 +"\u0000\u000efractionDigits\u0000\u0000\u0000\u0000q\u0000~\u0000\u00a1t\u0000\fminInclusivesr\u0000)com.sun.msv.data" 388 +"type.xsd.IntegerValueType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0005valueq\u0000~\u0000\u001cxr\u0000\u0010java.la" 389 +"ng.Number\u0086\u00ac\u0095\u001d\u000b\u0094\u00e0\u008b\u0002\u0000\u0000xpt\u0000\u00010q\u0000~\u0000\u009dt\u0000\fmaxInclusivesq\u0000~\u0000\u00abt\u0000\u001418446" 390 +"744073709551615q\u0000~\u0000\u0099q\u0000~\u0000\u00afsr\u0000\u000ejava.lang.Long;\u008b\u00e4\u0090\u00cc\u008f#\u00df\u0002\u0000\u0001J\u0000\u0005val" 391 +"uexq\u0000~\u0000\u00ac\u0000\u0000\u0000\u0000\u00ff\u00ff\u00ff\u00ffq\u0000~\u0000%sq\u0000~\u0000&q\u0000~\u0000\u0092q\u0000~\u0000\u001fsq\u0000~\u0000(t\u0000\u0006numberq\u0000~\u0000,q\u0000~" 392 +"\u0000=sq\u0000~\u0000-\u0002.\u0098:ppsq\u0000~\u00005\u0002.\u0098/q\u0000~\u00001pq\u0000~\u0000\u008dsq\u0000~\u0000(t\u0000\u0004pageq\u0000~\u0000,q\u0000~\u0000=sr" 393 +"\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000" 394 +"/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.su" 395 +"n.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000" 396 +"\tthresholdL\u0000\u0006parentq\u0000~\u0000\u00bc[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Exp" 397 +"ression;xp\u0000\u0000\u0000\u0016\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3" 398 +"]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppq\u0000~\u0000\u000fpppq\u0000~\u0000\bpppp" 399 +"ppppq\u0000~\u0000\u00b7pppppppppppppppppppppppppq\u0000~\u0000\tppppppppppppppppppppp" 400 +"ppppppq\u0000~\u0000\u0006ppppq\u0000~\u00004q\u0000~\u0000Hpppppppq\u0000~\u0000\u0082pq\u0000~\u00003q\u0000~\u0000Gpppppppppq\u0000~" 401 +"\u0000\nppppppq\u0000~\u0000Zpq\u0000~\u0000\u008bppppq\u0000~\u0000Dpppppq\u0000~\u0000\u000bq\u0000~\u0000\u0005q\u0000~\u0000.ppq\u0000~\u0000Cq\u0000~\u0000\u0007" 402 +"q\u0000~\u0000uppppppppppppppq\u0000~\u0000Nppppppppppppppq\u0000~\u0000\fppppppppp")); 403 } 404 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment); 405 } 406 407 public static class MagnitudeTypeImpl implements astronomy.data.spectra.IdType.MagnitudeType, com.sun.xml.bind.JAXBObject, astronomy.data.spectra.impl.runtime.UnmarshallableObject, astronomy.data.spectra.impl.runtime.XMLSerializable, astronomy.data.spectra.impl.runtime.ValidatableObject 408 { 409 410 protected boolean has_Value; 411 protected float _Value; 412 protected java.lang.String _Band; 413 public final static java.lang.Class version = (astronomy.data.spectra.impl.JAXBVersion.class); 414 private static com.sun.msv.grammar.Grammar schemaFragment; 415 416 private final static java.lang.Class PRIMARY_INTERFACE_CLASS() { 417 return (astronomy.data.spectra.IdType.MagnitudeType.class); 418 } 419 420 public float getValue() { 421 return _Value; 422 } 423 424 public void setValue(float value) { 425 _Value = value; 426 has_Value = true; 427 } 428 429 public java.lang.String getBand() { 430 return _Band; 431 } 432 433 public void setBand(java.lang.String value) { 434 _Band = value; 435 } 436 437 public astronomy.data.spectra.impl.runtime.UnmarshallingEventHandler createUnmarshaller(astronomy.data.spectra.impl.runtime.UnmarshallingContext context) { 438 return new astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl.Unmarshaller(context); 439 } 440 441 public void serializeElementBody(astronomy.data.spectra.impl.runtime.XMLSerializer context) 442 throws org.xml.sax.SAXException 443 { 444 try { 445 context.text(javax.xml.bind.DatatypeConverter.printFloat(((float) _Value))); 446 } catch (java.lang.Exception e) { 447 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 448 } 449 } 450 451 public void serializeAttributes(astronomy.data.spectra.impl.runtime.XMLSerializer context) 452 throws org.xml.sax.SAXException 453 { 454 if (_Band!= null) { 455 context.startAttribute("", "band"); 456 try { 457 context.text(((java.lang.String) _Band)); 458 } catch (java.lang.Exception e) { 459 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 460 } 461 context.endAttribute(); 462 } 463 } 464 465 public void serializeAttributeBody(astronomy.data.spectra.impl.runtime.XMLSerializer context) 466 throws org.xml.sax.SAXException 467 { 468 try { 469 context.text(javax.xml.bind.DatatypeConverter.printFloat(((float) _Value))); 470 } catch (java.lang.Exception e) { 471 astronomy.data.spectra.impl.runtime.Util.handlePrintConversionException(this, e, context); 472 } 473 } 474 475 public void serializeURIs(astronomy.data.spectra.impl.runtime.XMLSerializer context) 476 throws org.xml.sax.SAXException 477 { 478 } 479 480 public java.lang.Class getPrimaryInterface() { 481 return (astronomy.data.spectra.IdType.MagnitudeType.class); 482 } 483 484 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() { 485 if (schemaFragment == null) { 486 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize(( 487 "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su" 488 +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra" 489 +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi" 490 +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava" 491 +"/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0002\u00e6<\u007fppsr\u0000\u001bcom.sun.msv.gra" 492 +"mmar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatyp" 493 +"e;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000" 494 +"\u0003\u0001>\n\u00cappsr\u0000\"com.sun.msv.datatype.xsd.FloatType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+" 495 +"com.sun.msv.datatype.xsd.FloatingNumberType\u00fc\u00e3\u00b6\u0087\u008c\u00a8|\u00e0\u0002\u0000\u0000xr\u0000*co" 496 +"m.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.s" 497 +"un.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.d" 498 +"atatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava" 499 +"/lang/String;L\u0000\btypeNameq\u0000~\u0000\u000fL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/da" 500 +"tatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/X" 501 +"MLSchemat\u0000\u0005floatsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProce" 502 +"ssor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSp" 503 +"aceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$" 504 +"NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util" 505 +".StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u000fL\u0000\fnamespaceURIq\u0000~\u0000\u000fx" 506 +"pq\u0000~\u0000\u0013q\u0000~\u0000\u0012sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000" 507 +"\u0001\u0001\u00a81\u00b0ppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003exp" 508 +"q\u0000~\u0000\u0002L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xq\u0000~\u0000\u0003\u0001\u00a81" 509 +"\u00a5sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0006\u0000\u00ff\u0094\u00c1ppsr\u0000" 510 +"#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVa" 511 +"lidxq\u0000~\u0000\fq\u0000~\u0000\u0012t\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpa" 512 +"ceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0015\u0001q\u0000~\u0000\u0018sq\u0000~\u0000\u0019q\u0000~\u0000%q\u0000~\u0000\u0012s" 513 +"r\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNam" 514 +"eq\u0000~\u0000\u000fL\u0000\fnamespaceURIq\u0000~\u0000\u000fxr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000" 515 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004bandt\u0000\u0000sr\u00000com.sun.msv.grammar.Expression$Eps" 516 +"ilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000 \u0001psr\u0000\"com.sun.msv.g" 517 +"rammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/g" 518 +"rammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.E" 519 +"xpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006pa" 520 +"rentq\u0000~\u00002[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0002\u0000" 521 +"\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpp" 522 +"pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp" 523 +"pppppppppppppppppppppq\u0000~\u0000\u0005pppppppppppppppppppppppppppppppppp" 524 +"pppppppq\u0000~\u0000\u001cpppppppppppppppppppppppppppppppppppppppppppppppp" 525 +"ppppppppppppppppp")); 526 } 527 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment); 528 } 529 530 public class Unmarshaller 531 extends astronomy.data.spectra.impl.runtime.AbstractUnmarshallingEventHandlerImpl 532 { 533 534 535 public Unmarshaller(astronomy.data.spectra.impl.runtime.UnmarshallingContext context) { 536 super(context, "-----"); 537 } 538 539 protected Unmarshaller(astronomy.data.spectra.impl.runtime.UnmarshallingContext context, int startState) { 540 this(context); 541 state = startState; 542 } 543 544 public java.lang.Object owner() { 545 return astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl.this; 546 } 547 548 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts) 549 throws org.xml.sax.SAXException 550 { 551 int attIdx; 552 outer: 553 while (true) { 554 switch (state) { 555 case 0 : 556 attIdx = context.getAttribute("", "band"); 557 if (attIdx >= 0) { 558 final java.lang.String v = context.eatAttribute(attIdx); 559 eatText0(v); 560 state = 3; 561 continue outer; 562 } 563 state = 3; 564 continue outer; 565 case 4 : 566 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); 567 return ; 568 } 569 super.enterElement(___uri, ___local, ___qname, __atts); 570 break; 571 } 572 } 573 574 private void eatText0(final java.lang.String value) 575 throws org.xml.sax.SAXException 576 { 577 try { 578 _Band = value; 579 } catch (java.lang.Exception e) { 580 handleParseConversionException(e); 581 } 582 } 583 584 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 585 throws org.xml.sax.SAXException 586 { 587 int attIdx; 588 outer: 589 while (true) { 590 switch (state) { 591 case 0 : 592 attIdx = context.getAttribute("", "band"); 593 if (attIdx >= 0) { 594 final java.lang.String v = context.eatAttribute(attIdx); 595 eatText0(v); 596 state = 3; 597 continue outer; 598 } 599 state = 3; 600 continue outer; 601 case 4 : 602 revertToParentFromLeaveElement(___uri, ___local, ___qname); 603 return ; 604 } 605 super.leaveElement(___uri, ___local, ___qname); 606 break; 607 } 608 } 609 610 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 611 throws org.xml.sax.SAXException 612 { 613 int attIdx; 614 outer: 615 while (true) { 616 switch (state) { 617 case 0 : 618 if (("band" == ___local)&&("" == ___uri)) { 619 state = 1; 620 return ; 621 } 622 state = 3; 623 continue outer; 624 case 4 : 625 revertToParentFromEnterAttribute(___uri, ___local, ___qname); 626 return ; 627 } 628 super.enterAttribute(___uri, ___local, ___qname); 629 break; 630 } 631 } 632 633 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 634 throws org.xml.sax.SAXException 635 { 636 int attIdx; 637 outer: 638 while (true) { 639 switch (state) { 640 case 0 : 641 attIdx = context.getAttribute("", "band"); 642 if (attIdx >= 0) { 643 final java.lang.String v = context.eatAttribute(attIdx); 644 eatText0(v); 645 state = 3; 646 continue outer; 647 } 648 state = 3; 649 continue outer; 650 case 4 : 651 revertToParentFromLeaveAttribute(___uri, ___local, ___qname); 652 return ; 653 case 2 : 654 if (("band" == ___local)&&("" == ___uri)) { 655 state = 3; 656 return ; 657 } 658 break; 659 } 660 super.leaveAttribute(___uri, ___local, ___qname); 661 break; 662 } 663 } 664 665 public void handleText(final java.lang.String value) 666 throws org.xml.sax.SAXException 667 { 668 int attIdx; 669 outer: 670 while (true) { 671 try { 672 switch (state) { 673 case 0 : 674 attIdx = context.getAttribute("", "band"); 675 if (attIdx >= 0) { 676 final java.lang.String v = context.eatAttribute(attIdx); 677 eatText0(v); 678 state = 3; 679 continue outer; 680 } 681 state = 3; 682 continue outer; 683 case 3 : 684 eatText1(value); 685 state = 4; 686 return ; 687 case 4 : 688 revertToParentFromText(value); 689 return ; 690 case 1 : 691 eatText0(value); 692 state = 2; 693 return ; 694 } 695 } catch (java.lang.RuntimeException e) { 696 handleUnexpectedTextException(value, e); 697 } 698 break; 699 } 700 } 701 702 private void eatText1(final java.lang.String value) 703 throws org.xml.sax.SAXException 704 { 705 try { 706 _Value = javax.xml.bind.DatatypeConverter.parseFloat(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 707 has_Value = true; 708 } catch (java.lang.Exception e) { 709 handleParseConversionException(e); 710 } 711 } 712 713 } 714 715 } 716 717 public class Unmarshaller 718 extends astronomy.data.spectra.impl.runtime.AbstractUnmarshallingEventHandlerImpl 719 { 720 721 722 public Unmarshaller(astronomy.data.spectra.impl.runtime.UnmarshallingContext context) { 723 super(context, "----------------------------"); 724 } 725 726 protected Unmarshaller(astronomy.data.spectra.impl.runtime.UnmarshallingContext context, int startState) { 727 this(context); 728 state = startState; 729 } 730 731 public java.lang.Object owner() { 732 return astronomy.data.spectra.impl.IdTypeImpl.this; 733 } 734 735 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts) 736 throws org.xml.sax.SAXException 737 { 738 int attIdx; 739 outer: 740 while (true) { 741 switch (state) { 742 case 9 : 743 attIdx = context.getAttribute("", "number"); 744 if (attIdx >= 0) { 745 final java.lang.String v = context.eatAttribute(attIdx); 746 eatText0(v); 747 state = 12; 748 continue outer; 749 } 750 state = 12; 751 continue outer; 752 case 6 : 753 attIdx = context.getAttribute("", "url"); 754 if (attIdx >= 0) { 755 final java.lang.String v = context.eatAttribute(attIdx); 756 eatText1(v); 757 state = 9; 758 continue outer; 759 } 760 state = 9; 761 continue outer; 762 case 27 : 763 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); 764 return ; 765 case 12 : 766 attIdx = context.getAttribute("", "page"); 767 if (attIdx >= 0) { 768 final java.lang.String v = context.eatAttribute(attIdx); 769 eatText2(v); 770 state = 15; 771 continue outer; 772 } 773 state = 15; 774 continue outer; 775 case 18 : 776 if (("spectraname" == ___local)&&("" == ___uri)) { 777 context.pushAttributes(__atts, true); 778 state = 16; 779 return ; 780 } 781 if (("coordinates" == ___local)&&("" == ___uri)) { 782 context.pushAttributes(__atts, false); 783 state = 19; 784 return ; 785 } 786 state = 21; 787 continue outer; 788 case 21 : 789 if (("magnitude" == ___local)&&("" == ___uri)) { 790 context.pushAttributes(__atts, true); 791 state = 22; 792 return ; 793 } 794 state = 24; 795 continue outer; 796 case 15 : 797 if (("spectraname" == ___local)&&("" == ___uri)) { 798 context.pushAttributes(__atts, true); 799 state = 16; 800 return ; 801 } 802 break; 803 case 22 : 804 attIdx = context.getAttribute("", "band"); 805 if (attIdx >= 0) { 806 context.consumeAttribute(attIdx); 807 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts); 808 return ; 809 } 810 break; 811 case 0 : 812 attIdx = context.getAttribute("", "type"); 813 if (attIdx >= 0) { 814 final java.lang.String v = context.eatAttribute(attIdx); 815 eatText3(v); 816 state = 3; 817 continue outer; 818 } 819 state = 3; 820 continue outer; 821 case 3 : 822 attIdx = context.getAttribute("", "source"); 823 if (attIdx >= 0) { 824 final java.lang.String v = context.eatAttribute(attIdx); 825 eatText4(v); 826 state = 6; 827 continue outer; 828 } 829 state = 6; 830 continue outer; 831 case 24 : 832 if (("magnitude" == ___local)&&("" == ___uri)) { 833 context.pushAttributes(__atts, true); 834 state = 22; 835 return ; 836 } 837 if (("redshift" == ___local)&&("" == ___uri)) { 838 context.pushAttributes(__atts, true); 839 state = 25; 840 return ; 841 } 842 state = 27; 843 continue outer; 844 case 19 : 845 attIdx = context.getAttribute("", "epoch"); 846 if (attIdx >= 0) { 847 context.consumeAttribute(attIdx); 848 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts); 849 return ; 850 } 851 attIdx = context.getAttribute("", "source"); 852 if (attIdx >= 0) { 853 context.consumeAttribute(attIdx); 854 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts); 855 return ; 856 } 857 if (("ra" == ___local)&&("" == ___uri)) { 858 _Coordinates = ((astronomy.data.spectra.impl.CoordinatesTypeImpl) spawnChildFromEnterElement((astronomy.data.spectra.impl.CoordinatesTypeImpl.class), 20, ___uri, ___local, ___qname, __atts)); 859 return ; 860 } 861 break; 862 } 863 super.enterElement(___uri, ___local, ___qname, __atts); 864 break; 865 } 866 } 867 868 private void eatText0(final java.lang.String value) 869 throws org.xml.sax.SAXException 870 { 871 try { 872 _Number = javax.xml.bind.DatatypeConverter.parseLong(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 873 has_Number = true; 874 } catch (java.lang.Exception e) { 875 handleParseConversionException(e); 876 } 877 } 878 879 private void eatText1(final java.lang.String value) 880 throws org.xml.sax.SAXException 881 { 882 try { 883 _Url = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value); 884 } catch (java.lang.Exception e) { 885 handleParseConversionException(e); 886 } 887 } 888 889 private void eatText2(final java.lang.String value) 890 throws org.xml.sax.SAXException 891 { 892 try { 893 _Page = javax.xml.bind.DatatypeConverter.parseLong(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 894 has_Page = true; 895 } catch (java.lang.Exception e) { 896 handleParseConversionException(e); 897 } 898 } 899 900 private void eatText3(final java.lang.String value) 901 throws org.xml.sax.SAXException 902 { 903 try { 904 _Type = value; 905 } catch (java.lang.Exception e) { 906 handleParseConversionException(e); 907 } 908 } 909 910 private void eatText4(final java.lang.String value) 911 throws org.xml.sax.SAXException 912 { 913 try { 914 _Source = value; 915 } catch (java.lang.Exception e) { 916 handleParseConversionException(e); 917 } 918 } 919 920 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 921 throws org.xml.sax.SAXException 922 { 923 int attIdx; 924 outer: 925 while (true) { 926 switch (state) { 927 case 9 : 928 attIdx = context.getAttribute("", "number"); 929 if (attIdx >= 0) { 930 final java.lang.String v = context.eatAttribute(attIdx); 931 eatText0(v); 932 state = 12; 933 continue outer; 934 } 935 state = 12; 936 continue outer; 937 case 6 : 938 attIdx = context.getAttribute("", "url"); 939 if (attIdx >= 0) { 940 final java.lang.String v = context.eatAttribute(attIdx); 941 eatText1(v); 942 state = 9; 943 continue outer; 944 } 945 state = 9; 946 continue outer; 947 case 27 : 948 revertToParentFromLeaveElement(___uri, ___local, ___qname); 949 return ; 950 case 12 : 951 attIdx = context.getAttribute("", "page"); 952 if (attIdx >= 0) { 953 final java.lang.String v = context.eatAttribute(attIdx); 954 eatText2(v); 955 state = 15; 956 continue outer; 957 } 958 state = 15; 959 continue outer; 960 case 18 : 961 state = 21; 962 continue outer; 963 case 21 : 964 state = 24; 965 continue outer; 966 case 17 : 967 if (("spectraname" == ___local)&&("" == ___uri)) { 968 context.popAttributes(); 969 state = 18; 970 return ; 971 } 972 break; 973 case 22 : 974 attIdx = context.getAttribute("", "band"); 975 if (attIdx >= 0) { 976 context.consumeAttribute(attIdx); 977 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname); 978 return ; 979 } 980 break; 981 case 20 : 982 if (("coordinates" == ___local)&&("" == ___uri)) { 983 context.popAttributes(); 984 state = 21; 985 return ; 986 } 987 break; 988 case 23 : 989 if (("magnitude" == ___local)&&("" == ___uri)) { 990 context.popAttributes(); 991 state = 24; 992 return ; 993 } 994 break; 995 case 0 : 996 attIdx = context.getAttribute("", "type"); 997 if (attIdx >= 0) { 998 final java.lang.String v = context.eatAttribute(attIdx); 999 eatText3(v); 1000 state = 3; 1001 continue outer; 1002 } 1003 state = 3; 1004 continue outer; 1005 case 26 : 1006 if (("redshift" == ___local)&&("" == ___uri)) { 1007 context.popAttributes(); 1008 state = 27; 1009 return ; 1010 } 1011 break; 1012 case 3 : 1013 attIdx = context.getAttribute("", "source"); 1014 if (attIdx >= 0) { 1015 final java.lang.String v = context.eatAttribute(attIdx); 1016 eatText4(v); 1017 state = 6; 1018 continue outer; 1019 } 1020 state = 6; 1021 continue outer; 1022 case 24 : 1023 state = 27; 1024 continue outer; 1025 case 19 : 1026 attIdx = context.getAttribute("", "epoch"); 1027 if (attIdx >= 0) { 1028 context.consumeAttribute(attIdx); 1029 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname); 1030 return ; 1031 } 1032 attIdx = context.getAttribute("", "source"); 1033 if (attIdx >= 0) { 1034 context.consumeAttribute(attIdx); 1035 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname); 1036 return ; 1037 } 1038 break; 1039 } 1040 super.leaveElement(___uri, ___local, ___qname); 1041 break; 1042 } 1043 } 1044 1045 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 1046 throws org.xml.sax.SAXException 1047 { 1048 int attIdx; 1049 outer: 1050 while (true) { 1051 switch (state) { 1052 case 9 : 1053 if (("number" == ___local)&&("" == ___uri)) { 1054 state = 10; 1055 return ; 1056 } 1057 state = 12; 1058 continue outer; 1059 case 6 : 1060 if (("url" == ___local)&&("" == ___uri)) { 1061 state = 7; 1062 return ; 1063 } 1064 state = 9; 1065 continue outer; 1066 case 27 : 1067 revertToParentFromEnterAttribute(___uri, ___local, ___qname); 1068 return ; 1069 case 12 : 1070 if (("page" == ___local)&&("" == ___uri)) { 1071 state = 13; 1072 return ; 1073 } 1074 state = 15; 1075 continue outer; 1076 case 18 : 1077 state = 21; 1078 continue outer; 1079 case 21 : 1080 state = 24; 1081 continue outer; 1082 case 22 : 1083 if (("band" == ___local)&&("" == ___uri)) { 1084 _Magnitude.add(((astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl) spawnChildFromEnterAttribute((astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl.class), 23, ___uri, ___local, ___qname))); 1085 return ; 1086 } 1087 break; 1088 case 0 : 1089 if (("type" == ___local)&&("" == ___uri)) { 1090 state = 1; 1091 return ; 1092 } 1093 state = 3; 1094 continue outer; 1095 case 3 : 1096 if (("source" == ___local)&&("" == ___uri)) { 1097 state = 4; 1098 return ; 1099 } 1100 state = 6; 1101 continue outer; 1102 case 24 : 1103 state = 27; 1104 continue outer; 1105 case 19 : 1106 if (("epoch" == ___local)&&("" == ___uri)) { 1107 _Coordinates = ((astronomy.data.spectra.impl.CoordinatesTypeImpl) spawnChildFromEnterAttribute((astronomy.data.spectra.impl.CoordinatesTypeImpl.class), 20, ___uri, ___local, ___qname)); 1108 return ; 1109 } 1110 if (("source" == ___local)&&("" == ___uri)) { 1111 _Coordinates = ((astronomy.data.spectra.impl.CoordinatesTypeImpl) spawnChildFromEnterAttribute((astronomy.data.spectra.impl.CoordinatesTypeImpl.class), 20, ___uri, ___local, ___qname)); 1112 return ; 1113 } 1114 break; 1115 } 1116 super.enterAttribute(___uri, ___local, ___qname); 1117 break; 1118 } 1119 } 1120 1121 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 1122 throws org.xml.sax.SAXException 1123 { 1124 int attIdx; 1125 outer: 1126 while (true) { 1127 switch (state) { 1128 case 9 : 1129 attIdx = context.getAttribute("", "number"); 1130 if (attIdx >= 0) { 1131 final java.lang.String v = context.eatAttribute(attIdx); 1132 eatText0(v); 1133 state = 12; 1134 continue outer; 1135 } 1136 state = 12; 1137 continue outer; 1138 case 6 : 1139 attIdx = context.getAttribute("", "url"); 1140 if (attIdx >= 0) { 1141 final java.lang.String v = context.eatAttribute(attIdx); 1142 eatText1(v); 1143 state = 9; 1144 continue outer; 1145 } 1146 state = 9; 1147 continue outer; 1148 case 27 : 1149 revertToParentFromLeaveAttribute(___uri, ___local, ___qname); 1150 return ; 1151 case 11 : 1152 if (("number" == ___local)&&("" == ___uri)) { 1153 state = 12; 1154 return ; 1155 } 1156 break; 1157 case 12 : 1158 attIdx = context.getAttribute("", "page"); 1159 if (attIdx >= 0) { 1160 final java.lang.String v = context.eatAttribute(attIdx); 1161 eatText2(v); 1162 state = 15; 1163 continue outer; 1164 } 1165 state = 15; 1166 continue outer; 1167 case 8 : 1168 if (("url" == ___local)&&("" == ___uri)) { 1169 state = 9; 1170 return ; 1171 } 1172 break; 1173 case 18 : 1174 state = 21; 1175 continue outer; 1176 case 21 : 1177 state = 24; 1178 continue outer; 1179 case 14 : 1180 if (("page" == ___local)&&("" == ___uri)) { 1181 state = 15; 1182 return ; 1183 } 1184 break; 1185 case 22 : 1186 attIdx = context.getAttribute("", "band"); 1187 if (attIdx >= 0) { 1188 context.consumeAttribute(attIdx); 1189 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname); 1190 return ; 1191 } 1192 break; 1193 case 0 : 1194 attIdx = context.getAttribute("", "type"); 1195 if (attIdx >= 0) { 1196 final java.lang.String v = context.eatAttribute(attIdx); 1197 eatText3(v); 1198 state = 3; 1199 continue outer; 1200 } 1201 state = 3; 1202 continue outer; 1203 case 5 : 1204 if (("source" == ___local)&&("" == ___uri)) { 1205 state = 6; 1206 return ; 1207 } 1208 break; 1209 case 3 : 1210 attIdx = context.getAttribute("", "source"); 1211 if (attIdx >= 0) { 1212 final java.lang.String v = context.eatAttribute(attIdx); 1213 eatText4(v); 1214 state = 6; 1215 continue outer; 1216 } 1217 state = 6; 1218 continue outer; 1219 case 24 : 1220 state = 27; 1221 continue outer; 1222 case 2 : 1223 if (("type" == ___local)&&("" == ___uri)) { 1224 state = 3; 1225 return ; 1226 } 1227 break; 1228 case 19 : 1229 attIdx = context.getAttribute("", "epoch"); 1230 if (attIdx >= 0) { 1231 context.consumeAttribute(attIdx); 1232 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname); 1233 return ; 1234 } 1235 attIdx = context.getAttribute("", "source"); 1236 if (attIdx >= 0) { 1237 context.consumeAttribute(attIdx); 1238 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname); 1239 return ; 1240 } 1241 break; 1242 } 1243 super.leaveAttribute(___uri, ___local, ___qname); 1244 break; 1245 } 1246 } 1247 1248 public void handleText(final java.lang.String value) 1249 throws org.xml.sax.SAXException 1250 { 1251 int attIdx; 1252 outer: 1253 while (true) { 1254 try { 1255 switch (state) { 1256 case 9 : 1257 attIdx = context.getAttribute("", "number"); 1258 if (attIdx >= 0) { 1259 final java.lang.String v = context.eatAttribute(attIdx); 1260 eatText0(v); 1261 state = 12; 1262 continue outer; 1263 } 1264 state = 12; 1265 continue outer; 1266 case 6 : 1267 attIdx = context.getAttribute("", "url"); 1268 if (attIdx >= 0) { 1269 final java.lang.String v = context.eatAttribute(attIdx); 1270 eatText1(v); 1271 state = 9; 1272 continue outer; 1273 } 1274 state = 9; 1275 continue outer; 1276 case 27 : 1277 revertToParentFromText(value); 1278 return ; 1279 case 13 : 1280 eatText2(value); 1281 state = 14; 1282 return ; 1283 case 12 : 1284 attIdx = context.getAttribute("", "page"); 1285 if (attIdx >= 0) { 1286 final java.lang.String v = context.eatAttribute(attIdx); 1287 eatText2(v); 1288 state = 15; 1289 continue outer; 1290 } 1291 state = 15; 1292 continue outer; 1293 case 18 : 1294 state = 21; 1295 continue outer; 1296 case 21 : 1297 state = 24; 1298 continue outer; 1299 case 1 : 1300 eatText3(value); 1301 state = 2; 1302 return ; 1303 case 10 : 1304 eatText0(value); 1305 state = 11; 1306 return ; 1307 case 7 : 1308 eatText1(value); 1309 state = 8; 1310 return ; 1311 case 22 : 1312 attIdx = context.getAttribute("", "band"); 1313 if (attIdx >= 0) { 1314 context.consumeAttribute(attIdx); 1315 context.getCurrentHandler().text(value); 1316 return ; 1317 } 1318 _Magnitude.add(((astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl) spawnChildFromText((astronomy.data.spectra.impl.IdTypeImpl.MagnitudeTypeImpl.class), 23, value))); 1319 return ; 1320 case 0 : 1321 attIdx = context.getAttribute("", "type"); 1322 if (attIdx >= 0) { 1323 final java.lang.String v = context.eatAttribute(attIdx); 1324 eatText3(v); 1325 state = 3; 1326 continue outer; 1327 } 1328 state = 3; 1329 continue outer; 1330 case 25 : 1331 eatText5(value); 1332 state = 26; 1333 return ; 1334 case 4 : 1335 eatText4(value); 1336 state = 5; 1337 return ; 1338 case 3 : 1339 attIdx = context.getAttribute("", "source"); 1340 if (attIdx >= 0) { 1341 final java.lang.String v = context.eatAttribute(attIdx); 1342 eatText4(v); 1343 state = 6; 1344 continue outer; 1345 } 1346 state = 6; 1347 continue outer; 1348 case 24 : 1349 state = 27; 1350 continue outer; 1351 case 16 : 1352 eatText6(value); 1353 state = 17; 1354 return ; 1355 case 19 : 1356 attIdx = context.getAttribute("", "epoch"); 1357 if (attIdx >= 0) { 1358 context.consumeAttribute(attIdx); 1359 context.getCurrentHandler().text(value); 1360 return ; 1361 } 1362 attIdx = context.getAttribute("", "source"); 1363 if (attIdx >= 0) { 1364 context.consumeAttribute(attIdx); 1365 context.getCurrentHandler().text(value); 1366 return ; 1367 } 1368 break; 1369 } 1370 } catch (java.lang.RuntimeException e) { 1371 handleUnexpectedTextException(value, e); 1372 } 1373 break; 1374 } 1375 } 1376 1377 private void eatText5(final java.lang.String value) 1378 throws org.xml.sax.SAXException 1379 { 1380 try { 1381 _Redshift = javax.xml.bind.DatatypeConverter.parseFloat(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 1382 has_Redshift = true; 1383 } catch (java.lang.Exception e) { 1384 handleParseConversionException(e); 1385 } 1386 } 1387 1388 private void eatText6(final java.lang.String value) 1389 throws org.xml.sax.SAXException 1390 { 1391 try { 1392 _Spectraname.add(value); 1393 } catch (java.lang.Exception e) { 1394 handleParseConversionException(e); 1395 } 1396 } 1397 1398 } 1399 1400 }