// // 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 OrganismTypeImpl implements pd.OrganismType, com.sun.xml.bind.JAXBObject, pd.impl.runtime.UnmarshallableObject, pd.impl.runtime.XMLSerializable, pd.impl.runtime.ValidatableObject { protected java.lang.String _RelevantGenotype; protected java.lang.String _SpeciesName; protected java.lang.String _StrainIdentifier; 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.OrganismType.class); } public java.lang.String getRelevantGenotype() { return _RelevantGenotype; } public void setRelevantGenotype(java.lang.String value) { _RelevantGenotype = value; } public java.lang.String getSpeciesName() { return _SpeciesName; } public void setSpeciesName(java.lang.String value) { _SpeciesName = value; } public java.lang.String getStrainIdentifier() { return _StrainIdentifier; } public void setStrainIdentifier(java.lang.String value) { _StrainIdentifier = value; } public pd.impl.runtime.UnmarshallingEventHandler createUnmarshaller(pd.impl.runtime.UnmarshallingContext context) { return new pd.impl.OrganismTypeImpl.Unmarshaller(context); } public void serializeBody(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { context.startElement("pd", "species_name"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _SpeciesName), "SpeciesName"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); context.startElement("pd", "strain_identifier"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _StrainIdentifier), "StrainIdentifier"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); if (_RelevantGenotype!= null) { context.startElement("pd", "relevant_genotype"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _RelevantGenotype), "RelevantGenotype"); } 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.OrganismType.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\b4\u00eb\u00fdppsq\u0000~\u0000\u0000\u0004\u0089\u00c0\u0013ppsr\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.Ele" +"mentExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentMod" +"elq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0002\r\u00aa2pp\u0000sq\u0000~\u0000\u0000\u0002\r\u00aa\'ppsr\u0000\u001bcom.sun.msv.grammar.Data" +"Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exce" +"ptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0001\u0086~\tsr\u0000\u0011" +"java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000#com.sun.msv.data" +"type.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.ms" +"v.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.d" +"atatype.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/St" +"ring;L\u0000\btypeNameq\u0000~\u0000\u0016L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/x" +"sd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchema" +"t\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Pr" +"eserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProc" +"essor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSe" +"tExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nq\u0000~\u0000\u0011psr\u0000\u001bcom.sun.msv.util.S" +"tringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0016L\u0000\fnamespaceURIq\u0000~\u0000\u0016xpq" +"\u0000~\u0000\u001aq\u0000~\u0000\u0019sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0000" +"\u0087,\u0019ppsr\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\bxq\u0000~\u0000\u0003\u0000\u0087,\u000eq\u0000~\u0000\u0011psq\u0000~\u0000\f\u0000s0lppsr\u0000\"com.sun." +"msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0013q\u0000~\u0000\u0019t\u0000\u0005QNamesr\u00005" +"com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000" +"\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001cq\u0000~\u0000\u001fsq\u0000~\u0000 q\u0000~\u0000)q\u0000~\u0000\u0019sr\u0000#com.sun.msv.grammar.Simpl" +"eNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0016L\u0000\fnamespaceURIq\u0000~\u0000\u0016xr" +"\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http:/" +"/www.w3.org/2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.E" +"xpression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000\u0010\u0001psq\u0000~" +"\u0000-t\u0000\fspecies_namet\u0000\u0002pdsq\u0000~\u0000\u0007\u0002|\u0015\u00dcpp\u0000sq\u0000~\u0000\u0000\u0002|\u0015\u00d1ppq\u0000~\u0000\u000fsq\u0000~\u0000\"\u0000\u00f5" +"\u0097\u00c3ppsq\u0000~\u0000$\u0000\u00f5\u0097\u00b8q\u0000~\u0000\u0011pq\u0000~\u0000&sq\u0000~\u0000-q\u0000~\u00000q\u0000~\u00001q\u0000~\u00003sq\u0000~\u0000-t\u0000\u0011strai" +"n_identifierq\u0000~\u00007sq\u0000~\u0000\"\u0003\u00ab+\u00e5ppsq\u0000~\u0000\u0007\u0003\u00ab+\u00daq\u0000~\u0000\u0011p\u0000sq\u0000~\u0000\u0000\u0003\u00ab+\u00cfppq\u0000" +"~\u0000\u000fsq\u0000~\u0000\"\u0002$\u00ad\u00c1ppsq\u0000~\u0000$\u0002$\u00ad\u00b6q\u0000~\u0000\u0011pq\u0000~\u0000&sq\u0000~\u0000-q\u0000~\u00000q\u0000~\u00001q\u0000~\u00003sq\u0000" +"~\u0000-t\u0000\u0011relevant_genotypeq\u0000~\u00007q\u0000~\u00003sr\u0000\"com.sun.msv.grammar.Exp" +"ressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Exp" +"ressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionP" +"ool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000H[" +"\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\t\u0000\u0000\u00009pur\u0000![L" +"com.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppp" +"ppppppppppppppppppppppq\u0000~\u0000\u0005ppppppppppppq\u0000~\u0000\u0006pppppq\u0000~\u0000\u000bpppppp" +"pppppppppq\u0000~\u0000#pppppppppppppppppppppppppppppppppppppppppppppp" +"pppppppppppppppppppppppppppppppppppq\u0000~\u0000Appppppq\u0000~\u00009ppppppppq" +"\u0000~\u0000Bpppppq\u0000~\u0000?q\u0000~\u0000:pppppppppppppppp")); } 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.OrganismTypeImpl.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 9 : revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); return ; case 0 : if (("species_name" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 1; return ; } break; case 3 : if (("strain_identifier" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 4; return ; } break; case 6 : if (("relevant_genotype" == ___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 5 : if (("strain_identifier" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 6; return ; } break; case 2 : if (("species_name" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 3; return ; } break; case 9 : revertToParentFromLeaveElement(___uri, ___local, ___qname); return ; case 8 : if (("relevant_genotype" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 9; return ; } break; 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 9 : revertToParentFromEnterAttribute(___uri, ___local, ___qname); return ; 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 9 : revertToParentFromLeaveAttribute(___uri, ___local, ___qname); return ; 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 9 : revertToParentFromText(value); return ; case 1 : eatText2(value); state = 2; return ; case 4 : eatText3(value); state = 5; return ; 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 { _RelevantGenotype = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText2(final java.lang.String value) throws org.xml.sax.SAXException { try { _SpeciesName = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText3(final java.lang.String value) throws org.xml.sax.SAXException { try { _StrainIdentifier = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } } }