// // 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 ProteinHitTypeImpl implements pd.ProteinHitType, com.sun.xml.bind.JAXBObject, pd.impl.runtime.UnmarshallableObject, pd.impl.runtime.XMLSerializable, pd.impl.runtime.ValidatableObject { protected java.lang.String _MassesMatched; protected java.lang.String _ComponentPeptides; protected java.lang.String _ScoreType; protected com.sun.xml.bind.util.ListImpl _RelatedGelItem = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList()); protected boolean has_AllPeptidesMatched; protected boolean _AllPeptidesMatched; protected java.lang.String _Score; protected pd.ProteinType _Protein; 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.ProteinHitType.class); } public java.lang.String getMassesMatched() { return _MassesMatched; } public void setMassesMatched(java.lang.String value) { _MassesMatched = value; } public java.lang.String getComponentPeptides() { return _ComponentPeptides; } public void setComponentPeptides(java.lang.String value) { _ComponentPeptides = value; } public java.lang.String getScoreType() { return _ScoreType; } public void setScoreType(java.lang.String value) { _ScoreType = value; } public java.util.List getRelatedGelItem() { return _RelatedGelItem; } public boolean isAllPeptidesMatched() { return _AllPeptidesMatched; } public void setAllPeptidesMatched(boolean value) { _AllPeptidesMatched = value; has_AllPeptidesMatched = true; } public java.lang.String getScore() { return _Score; } public void setScore(java.lang.String value) { _Score = value; } public pd.ProteinType getProtein() { return _Protein; } public void setProtein(pd.ProteinType value) { _Protein = value; } public pd.impl.runtime.UnmarshallingEventHandler createUnmarshaller(pd.impl.runtime.UnmarshallingContext context) { return new pd.impl.ProteinHitTypeImpl.Unmarshaller(context); } public void serializeBody(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { int idx4 = 0; final int len4 = _RelatedGelItem.size(); if (has_AllPeptidesMatched) { context.startElement("pd", "all_peptides_matched"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _AllPeptidesMatched)), "AllPeptidesMatched"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); } if (_ComponentPeptides!= null) { context.startElement("pd", "component_peptides"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _ComponentPeptides), "ComponentPeptides"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); } if (_MassesMatched!= null) { context.startElement("pd", "masses_matched"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _MassesMatched), "MassesMatched"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); } if (_Score!= null) { context.startElement("pd", "score"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _Score), "Score"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); } if (_ScoreType!= null) { context.startElement("pd", "score_type"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _ScoreType), "ScoreType"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); } if (_Protein instanceof javax.xml.bind.Element) { context.childAsBody(((com.sun.xml.bind.JAXBObject) _Protein), "Protein"); } else { context.startElement("pd", "Protein"); context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Protein), "Protein"); context.endNamespaceDecls(); context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Protein), "Protein"); context.endAttributes(); context.childAsBody(((com.sun.xml.bind.JAXBObject) _Protein), "Protein"); context.endElement(); } while (idx4 != len4) { if (_RelatedGelItem.get(idx4) instanceof javax.xml.bind.Element) { context.childAsBody(((com.sun.xml.bind.JAXBObject) _RelatedGelItem.get(idx4 ++)), "RelatedGelItem"); } else { context.startElement("pd", "RelatedGelItem"); int idx_12 = idx4; context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RelatedGelItem.get(idx_12 ++)), "RelatedGelItem"); context.endNamespaceDecls(); int idx_13 = idx4; context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RelatedGelItem.get(idx_13 ++)), "RelatedGelItem"); context.endAttributes(); context.childAsBody(((com.sun.xml.bind.JAXBObject) _RelatedGelItem.get(idx4 ++)), "RelatedGelItem"); context.endElement(); } } } public void serializeAttributes(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { int idx4 = 0; final int len4 = _RelatedGelItem.size(); if (_Protein instanceof javax.xml.bind.Element) { context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Protein), "Protein"); } while (idx4 != len4) { if (_RelatedGelItem.get(idx4) instanceof javax.xml.bind.Element) { context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RelatedGelItem.get(idx4 ++)), "RelatedGelItem"); } else { idx4 += 1; } } } public void serializeURIs(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { int idx4 = 0; final int len4 = _RelatedGelItem.size(); if (_Protein instanceof javax.xml.bind.Element) { context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Protein), "Protein"); } while (idx4 != len4) { if (_RelatedGelItem.get(idx4) instanceof javax.xml.bind.Element) { context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RelatedGelItem.get(idx4 ++)), "RelatedGelItem"); } else { idx4 += 1; } } } public java.lang.Class getPrimaryInterface() { return (pd.ProteinHitType.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\u0017\b\u001e\u00ceppsq\u0000~\u0000\u0000\u0012\u00d7\u00ac\u00c5ppsq\u0000~\u0000\u0000\u000e" +"L\u00f5\u00a1ppsq\u0000~\u0000\u0000\n\u00c7\u00fa5ppsq\u0000~\u0000\u0000\b\u00b9\u00b3\u00e3ppsq\u0000~\u0000\u0000\u0005\u0096}\u001cppsr\u0000\u001dcom.sun.msv.gra" +"mmar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0002)n\u00f7ppsr\u0000\'com.sun.msv.grammar" +".trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/g" +"rammar/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\u0002)n" +"\u00ecsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sq\u0000~\u0000\u0000\u0002)n\u00e1ppsr" +"\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng" +"/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util" +"/StringPair;xq\u0000~\u0000\u0003\u0000\\*5ppsr\u0000$com.sun.msv.datatype.xsd.Boolean" +"Type\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicTyp" +"e\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000" +"\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000" +"\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u001cL\u0000\nwhiteSp" +"acet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 htt" +"p://www.w3.org/2001/XMLSchemat\u0000\u0007booleansr\u00005com.sun.msv.datat" +"ype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.m" +"sv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun." +"msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000" +"\nq\u0000~\u0000\u0012psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNam" +"eq\u0000~\u0000\u001cL\u0000\fnamespaceURIq\u0000~\u0000\u001cxpq\u0000~\u0000 q\u0000~\u0000\u001fsq\u0000~\u0000\u000b\u0001\u00cdD\u00a7ppsr\u0000 com.su" +"n.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClass" +"q\u0000~\u0000\u000exq\u0000~\u0000\u0003\u0001\u00cdD\u009cq\u0000~\u0000\u0012psq\u0000~\u0000\u0014\u0000s0lppsr\u0000\"com.sun.msv.datatype.xs" +"d.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0019q\u0000~\u0000\u001ft\u0000\u0005QNameq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&q\u0000~" +"\u0000.q\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\t" +"localNameq\u0000~\u0000\u001cL\u0000\fnamespaceURIq\u0000~\u0000\u001cxr\u0000\u001dcom.sun.msv.grammar.Na" +"meClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSche" +"ma-instancesr\u00000com.sun.msv.grammar.Expression$EpsilonExpress" +"ion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000\u0011\u0001psq\u0000~\u00000t\u0000\u0014all_peptides_matche" +"dt\u0000\u0002pdq\u0000~\u00006sq\u0000~\u0000\u000b\u0003m\u000e ppsq\u0000~\u0000\r\u0003m\u000e\u0015q\u0000~\u0000\u0012p\u0000sq\u0000~\u0000\u0000\u0003m\u000e\nppsq\u0000~\u0000\u0014\u0001\u0086" +"~\tq\u0000~\u0000\u0012psr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000" +"\risAlwaysValidxq\u0000~\u0000\u0019q\u0000~\u0000\u001ft\u0000\u0006stringsr\u00005com.sun.msv.datatype.x" +"sd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\"\u0001q\u0000~\u0000%sq\u0000~\u0000&" +"q\u0000~\u0000Aq\u0000~\u0000\u001fsq\u0000~\u0000\u000b\u0001\u00e6\u008f\u00fcppsq\u0000~\u0000)\u0001\u00e6\u008f\u00f1q\u0000~\u0000\u0012pq\u0000~\u0000+sq\u0000~\u00000q\u0000~\u00003q\u0000~\u00004q" +"\u0000~\u00006sq\u0000~\u00000t\u0000\u0012component_peptidesq\u0000~\u0000:q\u0000~\u00006sq\u0000~\u0000\u000b\u0003#6\u00c2ppsq\u0000~\u0000\r\u0003" +"#6\u00b7q\u0000~\u0000\u0012p\u0000sq\u0000~\u0000\u0000\u0003#6\u00acppq\u0000~\u0000>sq\u0000~\u0000\u000b\u0001\u009c\u00b8\u009eppsq\u0000~\u0000)\u0001\u009c\u00b8\u0093q\u0000~\u0000\u0012pq\u0000~\u0000+" +"sq\u0000~\u00000q\u0000~\u00003q\u0000~\u00004q\u0000~\u00006sq\u0000~\u00000t\u0000\u000emasses_matchedq\u0000~\u0000:q\u0000~\u00006sq\u0000~\u0000\u000b" +"\u0002\u000eFMppsq\u0000~\u0000\r\u0002\u000eFBq\u0000~\u0000\u0012p\u0000sq\u0000~\u0000\u0000\u0002\u000eF7ppq\u0000~\u0000>sq\u0000~\u0000\u000b\u0000\u0087\u00c8)ppsq\u0000~\u0000)\u0000\u0087" +"\u00c8\u001eq\u0000~\u0000\u0012pq\u0000~\u0000+sq\u0000~\u00000q\u0000~\u00003q\u0000~\u00004q\u0000~\u00006sq\u0000~\u00000t\u0000\u0005scoreq\u0000~\u0000:q\u0000~\u00006sq" +"\u0000~\u0000\u000b\u0003\u0084\u00fbgppsq\u0000~\u0000\r\u0003\u0084\u00fb\\q\u0000~\u0000\u0012p\u0000sq\u0000~\u0000\u0000\u0003\u0084\u00fbQppq\u0000~\u0000>sq\u0000~\u0000\u000b\u0001\u00fe}Cppsq\u0000~" +"\u0000)\u0001\u00fe}8q\u0000~\u0000\u0012pq\u0000~\u0000+sq\u0000~\u00000q\u0000~\u00003q\u0000~\u00004q\u0000~\u00006sq\u0000~\u00000t\u0000\nscore_typeq\u0000~" +"\u0000:q\u0000~\u00006sq\u0000~\u0000\u000b\u0004\u008a\u00b7\u001fppsq\u0000~\u0000\r\u0001oM\u0002pp\u0000sq\u0000~\u0000\u000b\u0001oL\u00f7ppsr\u0000 com.sun.msv." +"grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.Unary" +"Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0001oL\u00ecq\u0000~\u0000\u0012psq\u0000~\u0000)\u0001oL\u00e9q\u0000~\u0000\u0012psr\u0000" +"2com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002" +"\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bq\u0000~\u00007psr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000" +"\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00001q\u0000~\u00006sq\u0000~\u00000t\u0000\npd.Proteint\u0000+http://java.sun.com/ja" +"xb/xjc/dummy-elementssq\u0000~\u0000\r\u0003\u001bj\u001bpp\u0000sq\u0000~\u0000\u0000\u0003\u001bj\u0010ppsq\u0000~\u0000\r\u0001oM\u0002pp\u0000s" +"q\u0000~\u0000\u000b\u0001oL\u00f7ppsq\u0000~\u0000e\u0001oL\u00ecq\u0000~\u0000\u0012psq\u0000~\u0000)\u0001oL\u00e9q\u0000~\u0000\u0012pq\u0000~\u0000jq\u0000~\u0000lq\u0000~\u00006sq" +"\u0000~\u00000t\u0000\u000epd.ProteinTypeq\u0000~\u0000osq\u0000~\u0000\u000b\u0001\u00ac\u001d\tppsq\u0000~\u0000)\u0001\u00ac\u001c\u00feq\u0000~\u0000\u0012pq\u0000~\u0000+s" +"q\u0000~\u00000q\u0000~\u00003q\u0000~\u00004q\u0000~\u00006sq\u0000~\u00000t\u0000\u0007Proteinq\u0000~\u0000:sq\u0000~\u0000\u000b\u00040r\u0004ppsq\u0000~\u0000e\u0004" +"0q\u00f9q\u0000~\u0000\u0012psq\u0000~\u0000\u000b\u00040q\u00f6q\u0000~\u0000\u0012psq\u0000~\u0000\r\u0001oM\u0002q\u0000~\u0000\u0012p\u0000sq\u0000~\u0000\u000b\u0001oL\u00f7ppsq\u0000~\u0000e" +"\u0001oL\u00ecq\u0000~\u0000\u0012psq\u0000~\u0000)\u0001oL\u00e9q\u0000~\u0000\u0012pq\u0000~\u0000jq\u0000~\u0000lq\u0000~\u00006sq\u0000~\u00000t\u0000\u0011pd.Related" +"GelItemq\u0000~\u0000osq\u0000~\u0000\r\u0002\u00c1$\u00f2q\u0000~\u0000\u0012p\u0000sq\u0000~\u0000\u0000\u0002\u00c1$\u00e7ppsq\u0000~\u0000\r\u0001oM\u0002pp\u0000sq\u0000~\u0000\u000b" +"\u0001oL\u00f7ppsq\u0000~\u0000e\u0001oL\u00ecq\u0000~\u0000\u0012psq\u0000~\u0000)\u0001oL\u00e9q\u0000~\u0000\u0012pq\u0000~\u0000jq\u0000~\u0000lq\u0000~\u00006sq\u0000~\u00000t" +"\u0000\u0015pd.RelatedGelItemTypeq\u0000~\u0000osq\u0000~\u0000\u000b\u0001Q\u00d7\u00e0ppsq\u0000~\u0000)\u0001Q\u00d7\u00d5q\u0000~\u0000\u0012pq\u0000~\u0000" +"+sq\u0000~\u00000q\u0000~\u00003q\u0000~\u00004q\u0000~\u00006sq\u0000~\u00000t\u0000\u000eRelatedGelItemq\u0000~\u0000:q\u0000~\u00006sr\u0000\"c" +"om.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lc" +"om/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.m" +"sv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tth" +"resholdL\u0000\u0006parentq\u0000~\u0000\u0094[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expres" +"sion;xp\u0000\u0000\u0000%\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7" +"\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfq\u0000~\u0000\tppppppppppq\u0000~\u0000Mpppppq\u0000~\u0000Jpppppppppppppppppppp" +"pq\u0000~\u0000\u0013ppq\u0000~\u0000\\ppppppppppq\u0000~\u0000\u0005ppq\u0000~\u0000gq\u0000~\u0000tq\u0000~\u0000]q\u0000~\u0000\u0082q\u0000~\u0000\u008aq\u0000~\u0000\f" +"ppq\u0000~\u0000Zpq\u0000~\u0000\u0006q\u0000~\u0000dq\u0000~\u0000sq\u0000~\u0000\u0081q\u0000~\u0000bq\u0000~\u0000\u0089q\u0000~\u0000\u0087ppppppppq\u0000~\u0000=pppp" +"q\u0000~\u0000Tq\u0000~\u0000xpppppppppq\u0000~\u0000Epppq\u0000~\u0000(q\u0000~\u0000Uq\u0000~\u0000;ppppq\u0000~\u0000Rppppq\u0000~\u0000\b" +"pppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u007fppq\u0000~\u0000~ppp" +"pppq\u0000~\u0000\nq\u0000~\u0000qppq\u0000~\u0000}ppq\u0000~\u0000\u008epppppq\u0000~\u0000\u0007pppq\u0000~\u0000Lpppp")); } 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.ProteinHitTypeImpl.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 15 : if (("Protein" == ___local)&&("pd" == ___uri)) { _Protein = ((pd.impl.ProteinImpl) spawnChildFromEnterElement((pd.impl.ProteinImpl.class), 18, ___uri, ___local, ___qname, __atts)); return ; } if (("Protein" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, false); state = 16; return ; } break; case 12 : if (("score_type" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 13; return ; } state = 15; continue outer; case 18 : if (("RelatedGelItem" == ___local)&&("pd" == ___uri)) { _RelatedGelItem.add(((pd.impl.RelatedGelItemImpl) spawnChildFromEnterElement((pd.impl.RelatedGelItemImpl.class), 19, ___uri, ___local, ___qname, __atts))); return ; } if (("RelatedGelItem" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, false); state = 20; return ; } state = 19; continue outer; case 9 : if (("score" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 10; return ; } state = 12; continue outer; case 19 : if (("RelatedGelItem" == ___local)&&("pd" == ___uri)) { _RelatedGelItem.add(((pd.impl.RelatedGelItemImpl) spawnChildFromEnterElement((pd.impl.RelatedGelItemImpl.class), 19, ___uri, ___local, ___qname, __atts))); return ; } if (("RelatedGelItem" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, false); state = 20; return ; } revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); return ; case 0 : if (("all_peptides_matched" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 1; return ; } state = 3; continue outer; case 16 : if (("accession_number" == ___local)&&("pd" == ___uri)) { _Protein = ((pd.impl.ProteinTypeImpl) spawnChildFromEnterElement((pd.impl.ProteinTypeImpl.class), 17, ___uri, ___local, ___qname, __atts)); return ; } break; case 20 : if (("description" == ___local)&&("pd" == ___uri)) { _RelatedGelItem.add(((pd.impl.RelatedGelItemTypeImpl) spawnChildFromEnterElement((pd.impl.RelatedGelItemTypeImpl.class), 21, ___uri, ___local, ___qname, __atts))); return ; } break; case 3 : if (("component_peptides" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 4; return ; } state = 6; continue outer; case 6 : if (("masses_matched" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 7; return ; } state = 9; continue outer; } 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 11 : if (("score" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 12; return ; } break; case 12 : state = 15; continue outer; case 17 : if (("Protein" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 18; return ; } break; case 18 : state = 19; continue outer; case 8 : if (("masses_matched" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 9; return ; } break; case 5 : if (("component_peptides" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 6; return ; } break; case 9 : state = 12; continue outer; case 19 : revertToParentFromLeaveElement(___uri, ___local, ___qname); return ; case 0 : state = 3; continue outer; case 21 : if (("RelatedGelItem" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 19; return ; } break; case 14 : if (("score_type" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 15; return ; } break; case 2 : if (("all_peptides_matched" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 3; return ; } break; case 3 : state = 6; continue outer; case 6 : state = 9; continue outer; } 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 : state = 15; continue outer; case 18 : state = 19; continue outer; case 9 : state = 12; continue outer; case 19 : revertToParentFromEnterAttribute(___uri, ___local, ___qname); return ; case 0 : state = 3; continue outer; case 3 : state = 6; continue outer; case 6 : state = 9; continue outer; } 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 : state = 15; continue outer; case 18 : state = 19; continue outer; case 9 : state = 12; continue outer; case 19 : revertToParentFromLeaveAttribute(___uri, ___local, ___qname); return ; case 0 : state = 3; continue outer; case 3 : state = 6; continue outer; case 6 : state = 9; continue outer; } 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 7 : eatText1(value); state = 8; return ; case 10 : eatText2(value); state = 11; return ; case 12 : state = 15; continue outer; case 13 : eatText3(value); state = 14; return ; case 18 : state = 19; continue outer; case 9 : state = 12; continue outer; case 1 : eatText4(value); state = 2; return ; case 4 : eatText5(value); state = 5; return ; case 19 : revertToParentFromText(value); return ; case 0 : state = 3; continue outer; case 3 : state = 6; continue outer; case 6 : state = 9; continue outer; } } catch (java.lang.RuntimeException e) { handleUnexpectedTextException(value, e); } break; } } private void eatText1(final java.lang.String value) throws org.xml.sax.SAXException { try { _MassesMatched = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText2(final java.lang.String value) throws org.xml.sax.SAXException { try { _Score = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText3(final java.lang.String value) throws org.xml.sax.SAXException { try { _ScoreType = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText4(final java.lang.String value) throws org.xml.sax.SAXException { try { _AllPeptidesMatched = javax.xml.bind.DatatypeConverter.parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); has_AllPeptidesMatched = true; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText5(final java.lang.String value) throws org.xml.sax.SAXException { try { _ComponentPeptides = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } } }