// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.2-b15-fcs // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2003.12.01 at 05:25:27 CET // package pd.impl; public class DiGEGelTypeImpl implements pd.DiGEGelType, com.sun.xml.bind.JAXBObject, pd.impl.runtime.UnmarshallableObject, pd.impl.runtime.XMLSerializable, pd.impl.runtime.ValidatableObject { protected java.math.BigDecimal _ExposureTime; protected java.math.BigDecimal _ExcitationWavelength; protected java.lang.String _DyeType; protected java.lang.String _TiffImage; public final static java.lang.Class version = (pd.impl.JAXBVersion.class); private static com.sun.msv.grammar.Grammar schemaFragment; private final static java.lang.Class PRIMARY_INTERFACE_CLASS() { return (pd.DiGEGelType.class); } public java.math.BigDecimal getExposureTime() { return _ExposureTime; } public void setExposureTime(java.math.BigDecimal value) { _ExposureTime = value; } public java.math.BigDecimal getExcitationWavelength() { return _ExcitationWavelength; } public void setExcitationWavelength(java.math.BigDecimal value) { _ExcitationWavelength = value; } public java.lang.String getDyeType() { return _DyeType; } public void setDyeType(java.lang.String value) { _DyeType = value; } public java.lang.String getTiffImage() { return _TiffImage; } public void setTiffImage(java.lang.String value) { _TiffImage = value; } public pd.impl.runtime.UnmarshallingEventHandler createUnmarshaller(pd.impl.runtime.UnmarshallingContext context) { return new pd.impl.DiGEGelTypeImpl.Unmarshaller(context); } public void serializeBody(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { context.startElement("pd", "dye_type"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _DyeType), "DyeType"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); context.startElement("pd", "excitation_wavelength"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(javax.xml.bind.DatatypeConverter.printDecimal(((java.math.BigDecimal) _ExcitationWavelength)), "ExcitationWavelength"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); context.startElement("pd", "exposure_time"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(javax.xml.bind.DatatypeConverter.printDecimal(((java.math.BigDecimal) _ExposureTime)), "ExposureTime"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); context.startElement("pd", "tiff_image"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _TiffImage), "TiffImage"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); } public void serializeAttributes(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { } public void serializeURIs(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { } public java.lang.Class getPrimaryInterface() { return (pd.DiGEGelType.class); } public com.sun.msv.verifier.DocumentDeclaration createRawValidator() { if (schemaFragment == null) { schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize(( "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su" +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra" +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi" +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava" +"/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u000by\u00c0\u00b3ppsq\u0000~\u0000\u0000\u0007m\u00aa\u009appsq\u0000~\u0000\u0000\u0004" +"\u00f9\u00de\u008eppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L" +"\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv" +".grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL" +"\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0003\u000eW\u00d8pp\u0000sq\u0000~\u0000\u0000\u0003\u000eW\u00cdppsr\u0000\u001bcom.sun.msv." +"grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Data" +"type;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq" +"\u0000~\u0000\u0003\u0001\u0086~\tsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000#com." +"sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr" +"\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%c" +"om.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.m" +"sv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012L" +"java/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0017L\u0000\nwhiteSpacet\u0000.Lcom/sun/ms" +"v/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/20" +"01/XMLSchemat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpace" +"Processor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.Wh" +"iteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expre" +"ssion$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nq\u0000~\u0000\u0012psr\u0000\u001bcom.su" +"n.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespac" +"eURIq\u0000~\u0000\u0017xpq\u0000~\u0000\u001bq\u0000~\u0000\u001asr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000" +"\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0001\u0087\u00d9\u00bfppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000" +"\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\txq\u0000~\u0000\u0003\u0001\u0087\u00d9\u00b4q\u0000~\u0000\u0012psq\u0000~\u0000\r\u0000s0lpp" +"sr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001a" +"t\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Col" +"lapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001dq\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000*q\u0000~\u0000\u001asr\u0000#com.sun.msv.g" +"rammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespa" +"ceURIq\u0000~\u0000\u0017xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004t" +"ypet\u0000)http://www.w3.org/2001/XMLSchema-instancesr\u00000com.sun.m" +"sv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\t" +"sq\u0000~\u0000\u0011\u0001psq\u0000~\u0000.t\u0000\bdye_typet\u0000\u0002pdsq\u0000~\u0000\b\u0001\u00eb\u0086\u00b1pp\u0000sq\u0000~\u0000\u0000\u0001\u00eb\u0086\u00a6ppsq\u0000~\u0000" +"\r\u0001m\u0081\u00a6ppsr\u0000#com.sun.msv.datatype.xsd.NumberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000" +"~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0007decimalq\u0000~\u0000,q\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000>q\u0000~\u0000\u001asq\u0000~\u0000#\u0000~\u0004\u00fbppsq\u0000~" +"\u0000%\u0000~\u0004\u00f0q\u0000~\u0000\u0012pq\u0000~\u0000\'sq\u0000~\u0000.q\u0000~\u00001q\u0000~\u00002q\u0000~\u00004sq\u0000~\u0000.t\u0000\u0015excitation_wa" +"velengthq\u0000~\u00008sq\u0000~\u0000\b\u0002s\u00cc\u0007pp\u0000sq\u0000~\u0000\u0000\u0002s\u00cb\u00fcppq\u0000~\u0000;sq\u0000~\u0000#\u0001\u0006JQppsq\u0000~\u0000" +"%\u0001\u0006JFq\u0000~\u0000\u0012pq\u0000~\u0000\'sq\u0000~\u0000.q\u0000~\u00001q\u0000~\u00002q\u0000~\u00004sq\u0000~\u0000.t\u0000\rexposure_timeq" +"\u0000~\u00008sq\u0000~\u0000\b\u0004\f\u0016\u0014pp\u0000sq\u0000~\u0000\u0000\u0004\f\u0016\tppsq\u0000~\u0000\r\u0001\u00b6w:ppsr\u0000#com.sun.msv.dat" +"atype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0006anyURIq\u0000~\u0000,q\u0000~\u0000" +" sq\u0000~\u0000!q\u0000~\u0000Qq\u0000~\u0000\u001asq\u0000~\u0000#\u0002U\u009e\u00cappsq\u0000~\u0000%\u0002U\u009e\u00bfq\u0000~\u0000\u0012pq\u0000~\u0000\'sq\u0000~\u0000.q\u0000~\u0000" +"1q\u0000~\u00002q\u0000~\u00004sq\u0000~\u0000.t\u0000\ntiff_imageq\u0000~\u00008sr\u0000\"com.sun.msv.grammar.E" +"xpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/E" +"xpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Expressio" +"nPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000" +"Y[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u000b\u0000\u0000\u00009pur\u0000!" +"[Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppp" +"ppppppppppppppppppppq\u0000~\u0000Gppppppppppppppppppppppppq\u0000~\u0000Mpppppp" +"ppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0006pq\u0000~\u0000\u0007p" +"q\u0000~\u0000:ppppppppppppppppppppppq\u0000~\u0000Sppppppppppppppppppppppppq\u0000~\u0000" +"\fq\u0000~\u0000@pppppppppq\u0000~\u0000Fppppq\u0000~\u0000$ppq\u0000~\u0000\u0005ppppppppp")); } return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment); } public class Unmarshaller extends pd.impl.runtime.AbstractUnmarshallingEventHandlerImpl { public Unmarshaller(pd.impl.runtime.UnmarshallingContext context) { super(context, "-------------"); } protected Unmarshaller(pd.impl.runtime.UnmarshallingContext context, int startState) { this(context); state = startState; } public java.lang.Object owner() { return pd.impl.DiGEGelTypeImpl.this; } public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts) throws org.xml.sax.SAXException { int attIdx; outer: while (true) { switch (state) { case 3 : if (("excitation_wavelength" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 4; return ; } break; case 9 : if (("tiff_image" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 10; return ; } break; case 0 : if (("dye_type" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 1; return ; } break; case 12 : revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); return ; case 6 : if (("exposure_time" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 7; return ; } break; } super.enterElement(___uri, ___local, ___qname, __atts); break; } } public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) throws org.xml.sax.SAXException { int attIdx; outer: while (true) { switch (state) { case 2 : if (("dye_type" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 3; return ; } break; case 5 : if (("excitation_wavelength" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 6; return ; } break; case 12 : revertToParentFromLeaveElement(___uri, ___local, ___qname); return ; case 8 : if (("exposure_time" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 9; return ; } break; case 11 : if (("tiff_image" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 12; return ; } break; } super.leaveElement(___uri, ___local, ___qname); break; } } public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) throws org.xml.sax.SAXException { int attIdx; outer: while (true) { switch (state) { case 12 : revertToParentFromEnterAttribute(___uri, ___local, ___qname); return ; } super.enterAttribute(___uri, ___local, ___qname); break; } } public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) throws org.xml.sax.SAXException { int attIdx; outer: while (true) { switch (state) { case 12 : revertToParentFromLeaveAttribute(___uri, ___local, ___qname); return ; } super.leaveAttribute(___uri, ___local, ___qname); break; } } public void handleText(final java.lang.String value) throws org.xml.sax.SAXException { int attIdx; outer: while (true) { try { switch (state) { case 4 : eatText1(value); state = 5; return ; case 1 : eatText2(value); state = 2; return ; case 7 : eatText3(value); state = 8; return ; case 12 : revertToParentFromText(value); return ; case 10 : eatText4(value); state = 11; return ; } } catch (java.lang.RuntimeException e) { handleUnexpectedTextException(value, e); } break; } } private void eatText1(final java.lang.String value) throws org.xml.sax.SAXException { try { _ExcitationWavelength = javax.xml.bind.DatatypeConverter.parseDecimal(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText2(final java.lang.String value) throws org.xml.sax.SAXException { try { _DyeType = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText3(final java.lang.String value) throws org.xml.sax.SAXException { try { _ExposureTime = javax.xml.bind.DatatypeConverter.parseDecimal(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText4(final java.lang.String value) throws org.xml.sax.SAXException { try { _TiffImage = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value); } catch (java.lang.Exception e) { handleParseConversionException(e); } } } }