1 8 9 package com.mvnforum.jaxb.db.impl; 10 11 public class RankTypeImpl implements com.mvnforum.jaxb.db.RankType, com.sun.xml.bind.JAXBObject, com.mvnforum.jaxb.db.impl.runtime.UnmarshallableObject, com.mvnforum.jaxb.db.impl.runtime.XMLSerializable, com.mvnforum.jaxb.db.impl.runtime.ValidatableObject 12 { 13 14 protected java.lang.String _RankImage; 15 protected boolean has_RankMinPosts; 16 protected int _RankMinPosts; 17 protected java.lang.String _RankTitle; 18 protected boolean has_RankLevel; 19 protected int _RankLevel; 20 protected boolean has_RankType; 21 protected int _RankType; 22 protected boolean has_RankOption; 23 protected int _RankOption; 24 public final static java.lang.Class version = (com.mvnforum.jaxb.db.impl.JAXBVersion.class); 25 private static com.sun.msv.grammar.Grammar schemaFragment; 26 27 private final static java.lang.Class PRIMARY_INTERFACE_CLASS() { 28 return (com.mvnforum.jaxb.db.RankType.class); 29 } 30 31 public java.lang.String getRankImage() { 32 return _RankImage; 33 } 34 35 public void setRankImage(java.lang.String value) { 36 _RankImage = value; 37 } 38 39 public int getRankMinPosts() { 40 return _RankMinPosts; 41 } 42 43 public void setRankMinPosts(int value) { 44 _RankMinPosts = value; 45 has_RankMinPosts = true; 46 } 47 48 public java.lang.String getRankTitle() { 49 return _RankTitle; 50 } 51 52 public void setRankTitle(java.lang.String value) { 53 _RankTitle = value; 54 } 55 56 public int getRankLevel() { 57 return _RankLevel; 58 } 59 60 public void setRankLevel(int value) { 61 _RankLevel = value; 62 has_RankLevel = true; 63 } 64 65 public int getRankType() { 66 return _RankType; 67 } 68 69 public void setRankType(int value) { 70 _RankType = value; 71 has_RankType = true; 72 } 73 74 public int getRankOption() { 75 return _RankOption; 76 } 77 78 public void setRankOption(int value) { 79 _RankOption = value; 80 has_RankOption = true; 81 } 82 83 public com.mvnforum.jaxb.db.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context) { 84 return new com.mvnforum.jaxb.db.impl.RankTypeImpl.Unmarshaller(context); 85 } 86 87 public void serializeBody(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 88 throws org.xml.sax.SAXException 89 { 90 if (!has_RankMinPosts) { 91 context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "RankMinPosts")); 92 } 93 context.startElement("", "RankMinPosts"); 94 context.endNamespaceDecls(); 95 context.endAttributes(); 96 try { 97 context.text(javax.xml.bind.DatatypeConverter.printInt(((int) _RankMinPosts)), "RankMinPosts"); 98 } catch (java.lang.Exception e) { 99 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 100 } 101 context.endElement(); 102 if (has_RankLevel) { 103 context.startElement("", "RankLevel"); 104 context.endNamespaceDecls(); 105 context.endAttributes(); 106 try { 107 context.text(javax.xml.bind.DatatypeConverter.printInt(((int) _RankLevel)), "RankLevel"); 108 } catch (java.lang.Exception e) { 109 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 110 } 111 context.endElement(); 112 } 113 context.startElement("", "RankTitle"); 114 context.endNamespaceDecls(); 115 context.endAttributes(); 116 try { 117 context.text(((java.lang.String ) _RankTitle), "RankTitle"); 118 } catch (java.lang.Exception e) { 119 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 120 } 121 context.endElement(); 122 if (_RankImage!= null) { 123 context.startElement("", "RankImage"); 124 context.endNamespaceDecls(); 125 context.endAttributes(); 126 try { 127 context.text(((java.lang.String ) _RankImage), "RankImage"); 128 } catch (java.lang.Exception e) { 129 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 130 } 131 context.endElement(); 132 } 133 if (has_RankType) { 134 context.startElement("", "RankType"); 135 context.endNamespaceDecls(); 136 context.endAttributes(); 137 try { 138 context.text(javax.xml.bind.DatatypeConverter.printInt(((int) _RankType)), "RankType"); 139 } catch (java.lang.Exception e) { 140 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 141 } 142 context.endElement(); 143 } 144 if (has_RankOption) { 145 context.startElement("", "RankOption"); 146 context.endNamespaceDecls(); 147 context.endAttributes(); 148 try { 149 context.text(javax.xml.bind.DatatypeConverter.printInt(((int) _RankOption)), "RankOption"); 150 } catch (java.lang.Exception e) { 151 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 152 } 153 context.endElement(); 154 } 155 } 156 157 public void serializeAttributes(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 158 throws org.xml.sax.SAXException 159 { 160 if (!has_RankMinPosts) { 161 context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "RankMinPosts")); 162 } 163 } 164 165 public void serializeURIs(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 166 throws org.xml.sax.SAXException 167 { 168 if (!has_RankMinPosts) { 169 context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "RankMinPosts")); 170 } 171 } 172 173 public java.lang.Class getPrimaryInterface() { 174 return (com.mvnforum.jaxb.db.RankType.class); 175 } 176 177 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() { 178 if (schemaFragment == null) { 179 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize(( 180 "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su" 181 +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra" 182 +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi" 183 +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b" 184 +"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\'com." 185 +"sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000" 186 +"\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Elem" 187 +"entExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentMode" 188 +"lq\u0000~\u0000\u0002xq\u0000~\u0000\u0003pp\u0000sq\u0000~\u0000\u0000ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000" 189 +"\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000" 190 +"\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000 com.sun.msv" 191 +".datatype.xsd.IntType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.sun.msv.datatype.xsd" 192 +".IntegerDerivedType\u0099\u00f1]\u0090&6k\u00be\u0002\u0000\u0001L\u0000\nbaseFacetst\u0000)Lcom/sun/msv/d" 193 +"atatype/xsd/XSDatatypeImpl;xr\u0000*com.sun.msv.datatype.xsd.Buil" 194 +"tinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concret" 195 +"eType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000" 196 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~" 197 +"\u0000\u0019L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProces" 198 +"sor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0003intsr\u00005com.sun.m" 199 +"sv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,c" 200 +"om.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000*" 201 +"com.sun.msv.datatype.xsd.MaxInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com" 202 +".sun.msv.datatype.xsd.RangeFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\nlimitValuet\u0000\u0012L" 203 +"java/lang/Object;xr\u00009com.sun.msv.datatype.xsd.DataTypeWithVa" 204 +"lueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Da" 205 +"taTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFl" 206 +"agL\u0000\bbaseTypeq\u0000~\u0000\u0015L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xs" 207 +"d/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u0019xq\u0000~\u0000\u0018ppq\u0000~\u0000 \u0000\u0001sr\u0000*com.sun.m" 208 +"sv.datatype.xsd.MinInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\"ppq\u0000~\u0000 \u0000\u0000s" 209 +"r\u0000!com.sun.msv.datatype.xsd.LongType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001ct\u0000" 210 +"\u0004longq\u0000~\u0000 sq\u0000~\u0000!ppq\u0000~\u0000 \u0000\u0001sq\u0000~\u0000(ppq\u0000~\u0000 \u0000\u0000sr\u0000$com.sun.msv.data" 211 +"type.xsd.IntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001ct\u0000\u0007integerq\u0000~\u0000 sr\u0000" 212 +",com.sun.msv.datatype.xsd.FractionDigitsFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\u0005s" 213 +"calexr\u0000;com.sun.msv.datatype.xsd.DataTypeWithLexicalConstrai" 214 +"ntFacetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000%ppq\u0000~\u0000 \u0001\u0000sr\u0000#com.sun.msv.datatype.xs" 215 +"d.NumberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0016q\u0000~\u0000\u001ct\u0000\u0007decimalq\u0000~\u0000 q\u0000~\u00006t\u0000\u000efra" 216 +"ctionDigits\u0000\u0000\u0000\u0000q\u0000~\u00000t\u0000\fminInclusivesr\u0000\u000ejava.lang.Long;\u008b\u00e4\u0090\u00cc\u008f#" 217 +"\u00df\u0002\u0000\u0001J\u0000\u0005valuexr\u0000\u0010java.lang.Number\u0086\u00ac\u0095\u001d\u000b\u0094\u00e0\u008b\u0002\u0000\u0000xp\u0080\u0000\u0000\u0000\u0000\u0000\u0000\u0000q\u0000~\u00000t\u0000" 218 +"\fmaxInclusivesq\u0000~\u0000:\u007f\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ffq\u0000~\u0000+q\u0000~\u00009sr\u0000\u0011java.lang.Integer\u0012\u00e2" 219 +"\u00a0\u00a4\u00f7\u0081\u00878\u0002\u0000\u0001I\u0000\u0005valuexq\u0000~\u0000;\u0080\u0000\u0000\u0000q\u0000~\u0000+q\u0000~\u0000=sq\u0000~\u0000?\u007f\u00ff\u00ff\u00ffsr\u00000com.sun.m" 220 +"sv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr" 221 +"\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\f" 222 +"namespaceURIq\u0000~\u0000\u0019xpq\u0000~\u0000\u001dq\u0000~\u0000\u001csr\u0000\u001dcom.sun.msv.grammar.ChoiceE" 223 +"xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000" 224 +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u000bxq\u0000~\u0000\u0003sr\u0000\u0011java.lang.Bool" 225 +"ean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u000fppsr\u0000\"com.sun.msv.datatype.x" 226 +"sd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0016q\u0000~\u0000\u001ct\u0000\u0005QNameq\u0000~\u0000 q\u0000~\u0000Csq\u0000~\u0000Dq\u0000" 227 +"~\u0000Oq\u0000~\u0000\u001csr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000" 228 +"\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xr\u0000\u001dcom.sun.msv.grammar.N" 229 +"ameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSch" 230 +"ema-instancesr\u00000com.sun.msv.grammar.Expression$EpsilonExpres" 231 +"sion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000J\u0001psq\u0000~\u0000Qt\u0000\fRankMinPostst\u0000\u0000sq\u0000~\u0000Fp" 232 +"psq\u0000~\u0000\nq\u0000~\u0000Kp\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000\u0012sq\u0000~\u0000Fppsq\u0000~\u0000Hq\u0000~\u0000Kpq\u0000~\u0000Lq\u0000~\u0000Sq\u0000~" 233 +"\u0000Wsq\u0000~\u0000Qt\u0000\tRankLevelq\u0000~\u0000[q\u0000~\u0000Wsq\u0000~\u0000\npp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fppsr\u0000#c" 234 +"om.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVali" 235 +"dxq\u0000~\u0000\u0016q\u0000~\u0000\u001ct\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpace" 236 +"Processor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001f\u0001q\u0000~\u0000Csq\u0000~\u0000Dq\u0000~\u0000hq\u0000~\u0000\u001csq\u0000" 237 +"~\u0000Fppsq\u0000~\u0000Hq\u0000~\u0000Kpq\u0000~\u0000Lq\u0000~\u0000Sq\u0000~\u0000Wsq\u0000~\u0000Qt\u0000\tRankTitleq\u0000~\u0000[sq\u0000~\u0000" 238 +"Fppsq\u0000~\u0000\nq\u0000~\u0000Kp\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000esq\u0000~\u0000Fppsq\u0000~\u0000Hq\u0000~\u0000Kpq\u0000~\u0000Lq\u0000~\u0000Sq" 239 +"\u0000~\u0000Wsq\u0000~\u0000Qt\u0000\tRankImageq\u0000~\u0000[q\u0000~\u0000Wsq\u0000~\u0000Fppsq\u0000~\u0000\nq\u0000~\u0000Kp\u0000sq\u0000~\u0000\u0000p" 240 +"pq\u0000~\u0000\u0012sq\u0000~\u0000Fppsq\u0000~\u0000Hq\u0000~\u0000Kpq\u0000~\u0000Lq\u0000~\u0000Sq\u0000~\u0000Wsq\u0000~\u0000Qt\u0000\bRankTypeq\u0000" 241 +"~\u0000[q\u0000~\u0000Wsq\u0000~\u0000Fppsq\u0000~\u0000\nq\u0000~\u0000Kp\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000\u0012sq\u0000~\u0000Fppsq\u0000~\u0000Hq\u0000~\u0000" 242 +"Kpq\u0000~\u0000Lq\u0000~\u0000Sq\u0000~\u0000Wsq\u0000~\u0000Qt\u0000\nRankOptionq\u0000~\u0000[q\u0000~\u0000Wsr\u0000\"com.sun.ms" 243 +"v.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/ms" 244 +"v/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gramma" 245 +"r.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersi" 246 +"onL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0015\u0001pq\u0000" 247 +"~\u0000\\q\u0000~\u0000wq\u0000~\u0000~q\u0000~\u0000\bq\u0000~\u0000dq\u0000~\u0000rq\u0000~\u0000Gq\u0000~\u0000_q\u0000~\u0000lq\u0000~\u0000sq\u0000~\u0000zq\u0000~\u0000\u0081q\u0000" 248 +"~\u0000\u0006q\u0000~\u0000pq\u0000~\u0000\u0005q\u0000~\u0000\u000eq\u0000~\u0000^q\u0000~\u0000yq\u0000~\u0000\u0080q\u0000~\u0000\tq\u0000~\u0000\u0007x")); 249 } 250 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment); 251 } 252 253 public class Unmarshaller 254 extends com.mvnforum.jaxb.db.impl.runtime.AbstractUnmarshallingEventHandlerImpl 255 { 256 257 258 public Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context) { 259 super(context, "-------------------"); 260 } 261 262 protected Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context, int startState) { 263 this(context); 264 state = startState; 265 } 266 267 public java.lang.Object owner() { 268 return com.mvnforum.jaxb.db.impl.RankTypeImpl.this; 269 } 270 271 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts) 272 throws org.xml.sax.SAXException 273 { 274 int attIdx; 275 outer: 276 while (true) { 277 switch (state) { 278 case 9 : 279 if (("RankImage" == ___local)&&("" == ___uri)) { 280 context.pushAttributes(__atts, true); 281 state = 10; 282 return ; 283 } 284 state = 12; 285 continue outer; 286 case 0 : 287 if (("RankMinPosts" == ___local)&&("" == ___uri)) { 288 context.pushAttributes(__atts, true); 289 state = 1; 290 return ; 291 } 292 break; 293 case 3 : 294 if (("RankLevel" == ___local)&&("" == ___uri)) { 295 context.pushAttributes(__atts, true); 296 state = 4; 297 return ; 298 } 299 state = 6; 300 continue outer; 301 case 6 : 302 if (("RankTitle" == ___local)&&("" == ___uri)) { 303 context.pushAttributes(__atts, true); 304 state = 7; 305 return ; 306 } 307 break; 308 case 12 : 309 if (("RankType" == ___local)&&("" == ___uri)) { 310 context.pushAttributes(__atts, true); 311 state = 13; 312 return ; 313 } 314 state = 15; 315 continue outer; 316 case 15 : 317 if (("RankOption" == ___local)&&("" == ___uri)) { 318 context.pushAttributes(__atts, true); 319 state = 16; 320 return ; 321 } 322 state = 18; 323 continue outer; 324 case 18 : 325 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); 326 return ; 327 } 328 super.enterElement(___uri, ___local, ___qname, __atts); 329 break; 330 } 331 } 332 333 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 334 throws org.xml.sax.SAXException 335 { 336 int attIdx; 337 outer: 338 while (true) { 339 switch (state) { 340 case 9 : 341 state = 12; 342 continue outer; 343 case 5 : 344 if (("RankLevel" == ___local)&&("" == ___uri)) { 345 context.popAttributes(); 346 state = 6; 347 return ; 348 } 349 break; 350 case 3 : 351 state = 6; 352 continue outer; 353 case 17 : 354 if (("RankOption" == ___local)&&("" == ___uri)) { 355 context.popAttributes(); 356 state = 18; 357 return ; 358 } 359 break; 360 case 2 : 361 if (("RankMinPosts" == ___local)&&("" == ___uri)) { 362 context.popAttributes(); 363 state = 3; 364 return ; 365 } 366 break; 367 case 12 : 368 state = 15; 369 continue outer; 370 case 15 : 371 state = 18; 372 continue outer; 373 case 14 : 374 if (("RankType" == ___local)&&("" == ___uri)) { 375 context.popAttributes(); 376 state = 15; 377 return ; 378 } 379 break; 380 case 8 : 381 if (("RankTitle" == ___local)&&("" == ___uri)) { 382 context.popAttributes(); 383 state = 9; 384 return ; 385 } 386 break; 387 case 11 : 388 if (("RankImage" == ___local)&&("" == ___uri)) { 389 context.popAttributes(); 390 state = 12; 391 return ; 392 } 393 break; 394 case 18 : 395 revertToParentFromLeaveElement(___uri, ___local, ___qname); 396 return ; 397 } 398 super.leaveElement(___uri, ___local, ___qname); 399 break; 400 } 401 } 402 403 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 404 throws org.xml.sax.SAXException 405 { 406 int attIdx; 407 outer: 408 while (true) { 409 switch (state) { 410 case 9 : 411 state = 12; 412 continue outer; 413 case 3 : 414 state = 6; 415 continue outer; 416 case 12 : 417 state = 15; 418 continue outer; 419 case 15 : 420 state = 18; 421 continue outer; 422 case 18 : 423 revertToParentFromEnterAttribute(___uri, ___local, ___qname); 424 return ; 425 } 426 super.enterAttribute(___uri, ___local, ___qname); 427 break; 428 } 429 } 430 431 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 432 throws org.xml.sax.SAXException 433 { 434 int attIdx; 435 outer: 436 while (true) { 437 switch (state) { 438 case 9 : 439 state = 12; 440 continue outer; 441 case 3 : 442 state = 6; 443 continue outer; 444 case 12 : 445 state = 15; 446 continue outer; 447 case 15 : 448 state = 18; 449 continue outer; 450 case 18 : 451 revertToParentFromLeaveAttribute(___uri, ___local, ___qname); 452 return ; 453 } 454 super.leaveAttribute(___uri, ___local, ___qname); 455 break; 456 } 457 } 458 459 public void handleText(final java.lang.String value) 460 throws org.xml.sax.SAXException 461 { 462 int attIdx; 463 outer: 464 while (true) { 465 try { 466 switch (state) { 467 case 9 : 468 state = 12; 469 continue outer; 470 case 13 : 471 state = 14; 472 eatText1(value); 473 return ; 474 case 3 : 475 state = 6; 476 continue outer; 477 case 16 : 478 state = 17; 479 eatText2(value); 480 return ; 481 case 1 : 482 state = 2; 483 eatText3(value); 484 return ; 485 case 12 : 486 state = 15; 487 continue outer; 488 case 4 : 489 state = 5; 490 eatText4(value); 491 return ; 492 case 15 : 493 state = 18; 494 continue outer; 495 case 10 : 496 state = 11; 497 eatText5(value); 498 return ; 499 case 7 : 500 state = 8; 501 eatText6(value); 502 return ; 503 case 18 : 504 revertToParentFromText(value); 505 return ; 506 } 507 } catch (java.lang.RuntimeException e) { 508 handleUnexpectedTextException(value, e); 509 } 510 break; 511 } 512 } 513 514 private void eatText1(final java.lang.String value) 515 throws org.xml.sax.SAXException 516 { 517 try { 518 _RankType = javax.xml.bind.DatatypeConverter.parseInt(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 519 has_RankType = true; 520 } catch (java.lang.Exception e) { 521 handleParseConversionException(e); 522 } 523 } 524 525 private void eatText2(final java.lang.String value) 526 throws org.xml.sax.SAXException 527 { 528 try { 529 _RankOption = javax.xml.bind.DatatypeConverter.parseInt(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 530 has_RankOption = true; 531 } catch (java.lang.Exception e) { 532 handleParseConversionException(e); 533 } 534 } 535 536 private void eatText3(final java.lang.String value) 537 throws org.xml.sax.SAXException 538 { 539 try { 540 _RankMinPosts = javax.xml.bind.DatatypeConverter.parseInt(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 541 has_RankMinPosts = true; 542 } catch (java.lang.Exception e) { 543 handleParseConversionException(e); 544 } 545 } 546 547 private void eatText4(final java.lang.String value) 548 throws org.xml.sax.SAXException 549 { 550 try { 551 _RankLevel = javax.xml.bind.DatatypeConverter.parseInt(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)); 552 has_RankLevel = true; 553 } catch (java.lang.Exception e) { 554 handleParseConversionException(e); 555 } 556 } 557 558 private void eatText5(final java.lang.String value) 559 throws org.xml.sax.SAXException 560 { 561 try { 562 _RankImage = value; 563 } catch (java.lang.Exception e) { 564 handleParseConversionException(e); 565 } 566 } 567 568 private void eatText6(final java.lang.String value) 569 throws org.xml.sax.SAXException 570 { 571 try { 572 _RankTitle = value; 573 } catch (java.lang.Exception e) { 574 handleParseConversionException(e); 575 } 576 } 577 578 } 579 580 } 581 | Popular Tags |