1 8 9 package com.mvnforum.jaxb.db.impl; 10 11 public class CategoryWatchListImpl implements com.mvnforum.jaxb.db.CategoryWatchList, 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 com.sun.xml.bind.util.ListImpl _CategoryWatch; 15 public final static java.lang.Class version = (com.mvnforum.jaxb.db.impl.JAXBVersion.class); 16 private static com.sun.msv.grammar.Grammar schemaFragment; 17 18 private final static java.lang.Class PRIMARY_INTERFACE_CLASS() { 19 return (com.mvnforum.jaxb.db.CategoryWatchList.class); 20 } 21 22 protected com.sun.xml.bind.util.ListImpl _getCategoryWatch() { 23 if (_CategoryWatch == null) { 24 _CategoryWatch = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList ()); 25 } 26 return _CategoryWatch; 27 } 28 29 public java.util.List getCategoryWatch() { 30 return _getCategoryWatch(); 31 } 32 33 public com.mvnforum.jaxb.db.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context) { 34 return new com.mvnforum.jaxb.db.impl.CategoryWatchListImpl.Unmarshaller(context); 35 } 36 37 public void serializeBody(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 38 throws org.xml.sax.SAXException 39 { 40 int idx1 = 0; 41 final int len1 = ((_CategoryWatch == null)? 0 :_CategoryWatch.size()); 42 while (idx1 != len1) { 43 context.startElement("", "CategoryWatch"); 44 int idx_0 = idx1; 45 try { 46 idx_0 += 1; 47 } catch (java.lang.Exception e) { 48 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 49 } 50 context.endNamespaceDecls(); 51 int idx_1 = idx1; 52 try { 53 idx_1 += 1; 54 } catch (java.lang.Exception e) { 55 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 56 } 57 context.endAttributes(); 58 try { 59 context.text(((java.lang.String ) _CategoryWatch.get(idx1 ++)), "CategoryWatch"); 60 } catch (java.lang.Exception e) { 61 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 62 } 63 context.endElement(); 64 } 65 } 66 67 public void serializeAttributes(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 68 throws org.xml.sax.SAXException 69 { 70 int idx1 = 0; 71 final int len1 = ((_CategoryWatch == null)? 0 :_CategoryWatch.size()); 72 while (idx1 != len1) { 73 try { 74 idx1 += 1; 75 } catch (java.lang.Exception e) { 76 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 77 } 78 } 79 } 80 81 public void serializeURIs(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 82 throws org.xml.sax.SAXException 83 { 84 int idx1 = 0; 85 final int len1 = ((_CategoryWatch == null)? 0 :_CategoryWatch.size()); 86 while (idx1 != len1) { 87 try { 88 idx1 += 1; 89 } catch (java.lang.Exception e) { 90 com.mvnforum.jaxb.db.impl.runtime.Util.handlePrintConversionException(this, e, context); 91 } 92 } 93 } 94 95 public java.lang.Class getPrimaryInterface() { 96 return (com.mvnforum.jaxb.db.CategoryWatchList.class); 97 } 98 99 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() { 100 if (schemaFragment == null) { 101 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize(( 102 "\u00ac\u00ed\u0000\u0005sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun." 103 +"msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gramm" 104 +"ar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression" 105 +"\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bex" 106 +"pandedExpq\u0000~\u0000\u0002xpppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000" 107 +"\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002x" 108 +"q\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun" 109 +".msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLc" 110 +"om/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Element" 111 +"Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000" 112 +"~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\np\u0000sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002" 113 +"\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001f" 114 +"Lorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/" 115 +"sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000#com.sun.msv.datatype.xsd" 116 +".StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.dataty" 117 +"pe.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype." 118 +"xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDa" 119 +"tatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\b" 120 +"typeNameq\u0000~\u0000\u0019L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/White" 121 +"SpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006strin" 122 +"gsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000" 123 +"\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000" 124 +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpress" 125 +"ion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d" 126 +"\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xpq\u0000~\u0000\u001dq\u0000~\u0000\u001csq\u0000~\u0000\u0000p" 127 +"psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L" 128 +"\u0000\tnameClassq\u0000~\u0000\fxq\u0000~\u0000\u0003q\u0000~\u0000\npsq\u0000~\u0000\u0011ppsr\u0000\"com.sun.msv.datatype" 129 +".xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0016q\u0000~\u0000\u001ct\u0000\u0005QNamesr\u00005com.sun.msv." 130 +"datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001fq\u0000" 131 +"~\u0000\"sq\u0000~\u0000#q\u0000~\u0000+q\u0000~\u0000\u001csr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000" 132 +"\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xr\u0000\u001dcom.sun.ms" 133 +"v.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/" 134 +"2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression$Ep" 135 +"silonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\t\u0001psq\u0000~\u0000/t\u0000\rCategoryWat" 136 +"cht\u0000\u0000q\u0000~\u00005sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L" 137 +"\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;" 138 +"xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003" 139 +"\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/E" 140 +"xpressionPool;xp\u0000\u0000\u0000\u0004\u0001pq\u0000~\u0000\u0010q\u0000~\u0000\bq\u0000~\u0000%q\u0000~\u0000\u0005x")); 141 } 142 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment); 143 } 144 145 public class Unmarshaller 146 extends com.mvnforum.jaxb.db.impl.runtime.AbstractUnmarshallingEventHandlerImpl 147 { 148 149 150 public Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context) { 151 super(context, "----"); 152 } 153 154 protected Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context, int startState) { 155 this(context); 156 state = startState; 157 } 158 159 public java.lang.Object owner() { 160 return com.mvnforum.jaxb.db.impl.CategoryWatchListImpl.this; 161 } 162 163 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts) 164 throws org.xml.sax.SAXException 165 { 166 int attIdx; 167 outer: 168 while (true) { 169 switch (state) { 170 case 0 : 171 if (("CategoryWatch" == ___local)&&("" == ___uri)) { 172 context.pushAttributes(__atts, true); 173 state = 1; 174 return ; 175 } 176 state = 3; 177 continue outer; 178 case 3 : 179 if (("CategoryWatch" == ___local)&&("" == ___uri)) { 180 context.pushAttributes(__atts, true); 181 state = 1; 182 return ; 183 } 184 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); 185 return ; 186 } 187 super.enterElement(___uri, ___local, ___qname, __atts); 188 break; 189 } 190 } 191 192 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 193 throws org.xml.sax.SAXException 194 { 195 int attIdx; 196 outer: 197 while (true) { 198 switch (state) { 199 case 0 : 200 state = 3; 201 continue outer; 202 case 2 : 203 if (("CategoryWatch" == ___local)&&("" == ___uri)) { 204 context.popAttributes(); 205 state = 3; 206 return ; 207 } 208 break; 209 case 3 : 210 revertToParentFromLeaveElement(___uri, ___local, ___qname); 211 return ; 212 } 213 super.leaveElement(___uri, ___local, ___qname); 214 break; 215 } 216 } 217 218 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 219 throws org.xml.sax.SAXException 220 { 221 int attIdx; 222 outer: 223 while (true) { 224 switch (state) { 225 case 0 : 226 state = 3; 227 continue outer; 228 case 3 : 229 revertToParentFromEnterAttribute(___uri, ___local, ___qname); 230 return ; 231 } 232 super.enterAttribute(___uri, ___local, ___qname); 233 break; 234 } 235 } 236 237 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 238 throws org.xml.sax.SAXException 239 { 240 int attIdx; 241 outer: 242 while (true) { 243 switch (state) { 244 case 0 : 245 state = 3; 246 continue outer; 247 case 3 : 248 revertToParentFromLeaveAttribute(___uri, ___local, ___qname); 249 return ; 250 } 251 super.leaveAttribute(___uri, ___local, ___qname); 252 break; 253 } 254 } 255 256 public void handleText(final java.lang.String value) 257 throws org.xml.sax.SAXException 258 { 259 int attIdx; 260 outer: 261 while (true) { 262 try { 263 switch (state) { 264 case 0 : 265 state = 3; 266 continue outer; 267 case 3 : 268 revertToParentFromText(value); 269 return ; 270 case 1 : 271 state = 2; 272 eatText1(value); 273 return ; 274 } 275 } catch (java.lang.RuntimeException e) { 276 handleUnexpectedTextException(value, e); 277 } 278 break; 279 } 280 } 281 282 private void eatText1(final java.lang.String value) 283 throws org.xml.sax.SAXException 284 { 285 try { 286 _getCategoryWatch().add(value); 287 } catch (java.lang.Exception e) { 288 handleParseConversionException(e); 289 } 290 } 291 292 } 293 294 } 295 | Popular Tags |