// // 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 CollisionCellTypeImpl implements pd.CollisionCellType, com.sun.xml.bind.JAXBObject, pd.impl.runtime.UnmarshallableObject, pd.impl.runtime.XMLSerializable, pd.impl.runtime.ValidatableObject { protected java.lang.String _GasType; protected java.math.BigDecimal _CollisionOffset; protected java.math.BigDecimal _GasPressure; 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.CollisionCellType.class); } public java.lang.String getGasType() { return _GasType; } public void setGasType(java.lang.String value) { _GasType = value; } public java.math.BigDecimal getCollisionOffset() { return _CollisionOffset; } public void setCollisionOffset(java.math.BigDecimal value) { _CollisionOffset = value; } public java.math.BigDecimal getGasPressure() { return _GasPressure; } public void setGasPressure(java.math.BigDecimal value) { _GasPressure = value; } public pd.impl.runtime.UnmarshallingEventHandler createUnmarshaller(pd.impl.runtime.UnmarshallingContext context) { return new pd.impl.CollisionCellTypeImpl.Unmarshaller(context); } public void serializeBody(pd.impl.runtime.XMLSerializer context) throws org.xml.sax.SAXException { context.startElement("pd", "gas_type"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(((java.lang.String) _GasType), "GasType"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); context.startElement("pd", "gas_pressure"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(javax.xml.bind.DatatypeConverter.printDecimal(((java.math.BigDecimal) _GasPressure)), "GasPressure"); } catch (java.lang.Exception e) { pd.impl.runtime.Util.handlePrintConversionException(this, e, context); } context.endElement(); context.startElement("pd", "collision_offset"); context.endNamespaceDecls(); context.endAttributes(); try { context.text(javax.xml.bind.DatatypeConverter.printDecimal(((java.math.BigDecimal) _CollisionOffset)), "CollisionOffset"); } 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.CollisionCellType.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\b\u00b74\u008appsq\u0000~\u0000\u0000\u0005\u00ea?wppsr\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\u0003\u000b\\\u0095pp\u0000sq\u0000~\u0000\u0000\u0003\u000b\\\u008appsr\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\u0001" +"\u0084\u00de|ppsr\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\u0001\u0084\u00deqq\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\bgas_typet\u0000\u0002pdsq\u0000~\u0000\u0007\u0002\u00de\u00e2\u00ddpp\u0000sq\u0000~\u0000\u0000\u0002\u00de\u00e2\u00d2ppsq\u0000~\u0000\f\u0001m\u0081\u00a6ppsr\u0000#c" +"om.sun.msv.datatype.xsd.NumberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0013q\u0000~\u0000\u0019t\u0000\u0007d" +"ecimalq\u0000~\u0000+q\u0000~\u0000\u001fsq\u0000~\u0000 q\u0000~\u0000=q\u0000~\u0000\u0019sq\u0000~\u0000\"\u0001qa\'ppsq\u0000~\u0000$\u0001qa\u001cq\u0000~\u0000\u0011p" +"q\u0000~\u0000&sq\u0000~\u0000-q\u0000~\u00000q\u0000~\u00001q\u0000~\u00003sq\u0000~\u0000-t\u0000\fgas_pressureq\u0000~\u00007sq\u0000~\u0000\u0007\u0002\u00cc" +"\u00f5\u000epp\u0000sq\u0000~\u0000\u0000\u0002\u00cc\u00f5\u0003ppq\u0000~\u0000:sq\u0000~\u0000\"\u0001_sXppsq\u0000~\u0000$\u0001_sMq\u0000~\u0000\u0011pq\u0000~\u0000&sq\u0000~\u0000" +"-q\u0000~\u00000q\u0000~\u00001q\u0000~\u00003sq\u0000~\u0000-t\u0000\u0010collision_offsetq\u0000~\u00007sr\u0000\"com.sun.ms" +"v.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/ms" +"v/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gramma" +"r.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000" +"\u0006parentq\u0000~\u0000L[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000" +"\u0000\b\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000" +"\u00bfppppppppppppppq\u0000~\u0000\u0005pppppppppppppppppppppppppppppppppppppppp" +"pppppppppppppppppq\u0000~\u0000\u0006pppq\u0000~\u00009pppppppppppppppppppppppppppppp" +"ppppppppppq\u0000~\u0000Eppppppq\u0000~\u0000?pppppppppppppppppppppppppppppppppp" +"pq\u0000~\u0000\u000bppppq\u0000~\u0000Fppppppppppq\u0000~\u0000#pppppppppppppp")); } 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.CollisionCellTypeImpl.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 0 : if (("gas_type" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 1; return ; } break; case 6 : if (("collision_offset" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 7; return ; } break; case 3 : if (("gas_pressure" == ___local)&&("pd" == ___uri)) { context.pushAttributes(__atts, true); state = 4; return ; } break; case 9 : revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); return ; } 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 (("gas_pressure" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 6; return ; } break; case 2 : if (("gas_type" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 3; return ; } break; case 8 : if (("collision_offset" == ___local)&&("pd" == ___uri)) { context.popAttributes(); state = 9; return ; } break; case 9 : revertToParentFromLeaveElement(___uri, ___local, ___qname); return ; } 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 ; } 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 ; } 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 9 : revertToParentFromText(value); return ; } } catch (java.lang.RuntimeException e) { handleUnexpectedTextException(value, e); } break; } } private void eatText1(final java.lang.String value) throws org.xml.sax.SAXException { try { _GasPressure = 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 { _GasType = value; } catch (java.lang.Exception e) { handleParseConversionException(e); } } private void eatText3(final java.lang.String value) throws org.xml.sax.SAXException { try { _CollisionOffset = javax.xml.bind.DatatypeConverter.parseDecimal(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); } catch (java.lang.Exception e) { handleParseConversionException(e); } } } }