1 8 9 package com.mvnforum.jaxb.db.impl; 10 11 public class GlobalWatchListImpl implements com.mvnforum.jaxb.db.GlobalWatchList, 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 _GlobalWatch; 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.GlobalWatchList.class); 20 } 21 22 protected com.sun.xml.bind.util.ListImpl _getGlobalWatch() { 23 if (_GlobalWatch == null) { 24 _GlobalWatch = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList ()); 25 } 26 return _GlobalWatch; 27 } 28 29 public java.util.List getGlobalWatch() { 30 return _getGlobalWatch(); 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.GlobalWatchListImpl.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 = ((_GlobalWatch == null)? 0 :_GlobalWatch.size()); 42 while (idx1 != len1) { 43 context.startElement("", "GlobalWatch"); 44 int idx_0 = idx1; 45 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _GlobalWatch.get(idx_0 ++)), "GlobalWatch"); 46 context.endNamespaceDecls(); 47 int idx_1 = idx1; 48 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _GlobalWatch.get(idx_1 ++)), "GlobalWatch"); 49 context.endAttributes(); 50 context.childAsBody(((com.sun.xml.bind.JAXBObject) _GlobalWatch.get(idx1 ++)), "GlobalWatch"); 51 context.endElement(); 52 } 53 } 54 55 public void serializeAttributes(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 56 throws org.xml.sax.SAXException 57 { 58 int idx1 = 0; 59 final int len1 = ((_GlobalWatch == null)? 0 :_GlobalWatch.size()); 60 while (idx1 != len1) { 61 idx1 += 1; 62 } 63 } 64 65 public void serializeURIs(com.mvnforum.jaxb.db.impl.runtime.XMLSerializer context) 66 throws org.xml.sax.SAXException 67 { 68 int idx1 = 0; 69 final int len1 = ((_GlobalWatch == null)? 0 :_GlobalWatch.size()); 70 while (idx1 != len1) { 71 idx1 += 1; 72 } 73 } 74 75 public java.lang.Class getPrimaryInterface() { 76 return (com.mvnforum.jaxb.db.GlobalWatchList.class); 77 } 78 79 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() { 80 if (schemaFragment == null) { 81 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize(( 82 "\u00ac\u00ed\u0000\u0005sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun." 83 +"msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gramm" 84 +"ar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression" 85 +"\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bex" 86 +"pandedExpq\u0000~\u0000\u0002xpppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000" 87 +"\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" 88 +"q\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun" 89 +".msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLc" 90 +"om/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Element" 91 +"Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000" 92 +"~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\np\u0000sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002" 93 +"\u0000\u0000xq\u0000~\u0000\u0001ppsq\u0000~\u0000\u000bpp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0006q\u0000~\u0000\npsr\u0000 com.sun.msv.gramm" 94 +"ar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\fxq\u0000~\u0000\u0003" 95 +"q\u0000~\u0000\npsr\u00002com.sun.msv.grammar.Expression$AnyStringExpression" 96 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\t\u0001psr\u0000 com.sun.msv.grammar.AnyNameClas" 97 +"s\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr" 98 +"\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000" 99 +"\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0018psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001" 100 +"\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001fxq\u0000~" 101 +"\u0000\u001at\u0000$com.mvnforum.jaxb.db.GlobalWatchTypet\u0000+http://java.sun." 102 +"com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014q\u0000~\u0000\npsr\u0000\u001bcom.sun.m" 103 +"sv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/D" 104 +"atatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair" 105 +";xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr" 106 +"\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%c" 107 +"om.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.m" 108 +"sv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000" 109 +"\u001fL\u0000\btypeNameq\u0000~\u0000\u001fL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/W" 110 +"hiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005Q" 111 +"Namesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collaps" 112 +"e\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor" 113 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpre" 114 +"ssion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB" 115 +"\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001fL\u0000\fnamespaceURIq\u0000~\u0000\u001fxpq\u0000~\u00000q\u0000~\u0000/sq\u0000~\u0000" 116 +"\u001et\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000" 117 +"~\u0000\u001et\u0000\u000bGlobalWatcht\u0000\u0000q\u0000~\u0000\u001dsr\u0000\"com.sun.msv.grammar.ExpressionP" 118 +"ool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionP" 119 +"ool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$Clos" 120 +"edHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/su" 121 +"n/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0006\u0001pq\u0000~\u0000\u0005q\u0000~\u0000\u0012q\u0000~\u0000\u0010q\u0000~\u0000#q\u0000~" 122 +"\u0000\bq\u0000~\u0000\u0013x")); 123 } 124 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment); 125 } 126 127 public class Unmarshaller 128 extends com.mvnforum.jaxb.db.impl.runtime.AbstractUnmarshallingEventHandlerImpl 129 { 130 131 132 public Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context) { 133 super(context, "----"); 134 } 135 136 protected Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context, int startState) { 137 this(context); 138 state = startState; 139 } 140 141 public java.lang.Object owner() { 142 return com.mvnforum.jaxb.db.impl.GlobalWatchListImpl.this; 143 } 144 145 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts) 146 throws org.xml.sax.SAXException 147 { 148 int attIdx; 149 outer: 150 while (true) { 151 switch (state) { 152 case 0 : 153 if (("GlobalWatch" == ___local)&&("" == ___uri)) { 154 context.pushAttributes(__atts, false); 155 state = 1; 156 return ; 157 } 158 state = 3; 159 continue outer; 160 case 1 : 161 if (("WatchType" == ___local)&&("" == ___uri)) { 162 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 163 return ; 164 } 165 if (("WatchOption" == ___local)&&("" == ___uri)) { 166 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 167 return ; 168 } 169 if (("WatchStatus" == ___local)&&("" == ___uri)) { 170 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 171 return ; 172 } 173 if (("WatchCreationDate" == ___local)&&("" == ___uri)) { 174 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 175 return ; 176 } 177 if (("WatchLastSentDate" == ___local)&&("" == ___uri)) { 178 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 179 return ; 180 } 181 if (("WatchEndDate" == ___local)&&("" == ___uri)) { 182 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 183 return ; 184 } 185 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 186 return ; 187 case 3 : 188 if (("GlobalWatch" == ___local)&&("" == ___uri)) { 189 context.pushAttributes(__atts, false); 190 state = 1; 191 return ; 192 } 193 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); 194 return ; 195 } 196 super.enterElement(___uri, ___local, ___qname, __atts); 197 break; 198 } 199 } 200 201 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 202 throws org.xml.sax.SAXException 203 { 204 int attIdx; 205 outer: 206 while (true) { 207 switch (state) { 208 case 0 : 209 state = 3; 210 continue outer; 211 case 1 : 212 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromLeaveElement((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname))); 213 return ; 214 case 3 : 215 revertToParentFromLeaveElement(___uri, ___local, ___qname); 216 return ; 217 case 2 : 218 if (("GlobalWatch" == ___local)&&("" == ___uri)) { 219 context.popAttributes(); 220 state = 3; 221 return ; 222 } 223 break; 224 } 225 super.leaveElement(___uri, ___local, ___qname); 226 break; 227 } 228 } 229 230 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 231 throws org.xml.sax.SAXException 232 { 233 int attIdx; 234 outer: 235 while (true) { 236 switch (state) { 237 case 0 : 238 state = 3; 239 continue outer; 240 case 1 : 241 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromEnterAttribute((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname))); 242 return ; 243 case 3 : 244 revertToParentFromEnterAttribute(___uri, ___local, ___qname); 245 return ; 246 } 247 super.enterAttribute(___uri, ___local, ___qname); 248 break; 249 } 250 } 251 252 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 253 throws org.xml.sax.SAXException 254 { 255 int attIdx; 256 outer: 257 while (true) { 258 switch (state) { 259 case 0 : 260 state = 3; 261 continue outer; 262 case 1 : 263 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromLeaveAttribute((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, ___uri, ___local, ___qname))); 264 return ; 265 case 3 : 266 revertToParentFromLeaveAttribute(___uri, ___local, ___qname); 267 return ; 268 } 269 super.leaveAttribute(___uri, ___local, ___qname); 270 break; 271 } 272 } 273 274 public void handleText(final java.lang.String value) 275 throws org.xml.sax.SAXException 276 { 277 int attIdx; 278 outer: 279 while (true) { 280 try { 281 switch (state) { 282 case 0 : 283 state = 3; 284 continue outer; 285 case 1 : 286 _getGlobalWatch().add(((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl) spawnChildFromText((com.mvnforum.jaxb.db.impl.GlobalWatchTypeImpl.class), 2, value))); 287 return ; 288 case 3 : 289 revertToParentFromText(value); 290 return ; 291 } 292 } catch (java.lang.RuntimeException e) { 293 handleUnexpectedTextException(value, e); 294 } 295 break; 296 } 297 } 298 299 } 300 301 } 302 | Popular Tags |