1 8 9 package com.mvnforum.jaxb.db.impl; 10 11 public class ForumListImpl implements com.mvnforum.jaxb.db.ForumList, 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 _Forum; 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.ForumList.class); 20 } 21 22 protected com.sun.xml.bind.util.ListImpl _getForum() { 23 if (_Forum == null) { 24 _Forum = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList ()); 25 } 26 return _Forum; 27 } 28 29 public java.util.List getForum() { 30 return _getForum(); 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.ForumListImpl.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 = ((_Forum == null)? 0 :_Forum.size()); 42 while (idx1 != len1) { 43 context.startElement("", "Forum"); 44 int idx_0 = idx1; 45 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Forum.get(idx_0 ++)), "Forum"); 46 context.endNamespaceDecls(); 47 int idx_1 = idx1; 48 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Forum.get(idx_1 ++)), "Forum"); 49 context.endAttributes(); 50 context.childAsBody(((com.sun.xml.bind.JAXBObject) _Forum.get(idx1 ++)), "Forum"); 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 = ((_Forum == null)? 0 :_Forum.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 = ((_Forum == null)? 0 :_Forum.size()); 70 while (idx1 != len1) { 71 idx1 += 1; 72 } 73 } 74 75 public java.lang.Class getPrimaryInterface() { 76 return (com.mvnforum.jaxb.db.ForumList.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\u001ecom.mvnforum.jaxb.db.ForumTypet\u0000+http://java.sun.com/ja" 102 +"xb/xjc/dummy-elementssq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014q\u0000~\u0000\npsr\u0000\u001bcom.sun.msv.gra" 103 +"mmar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatyp" 104 +"e;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000" 105 +"\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com." 106 +"sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun" 107 +".msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.dat" 108 +"atype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001fL\u0000\bty" 109 +"peNameq\u0000~\u0000\u001fL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSp" 110 +"aceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr" 111 +"\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000" 112 +"\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000" 113 +"\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000" 114 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002" 115 +"L\u0000\tlocalNameq\u0000~\u0000\u001fL\u0000\fnamespaceURIq\u0000~\u0000\u001fxpq\u0000~\u00000q\u0000~\u0000/sq\u0000~\u0000\u001et\u0000\u0004ty" 116 +"pet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\u0005" 117 +"Forumt\u0000\u0000q\u0000~\u0000\u001dsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002" 118 +"\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHa" 119 +"sh;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8" 120 +"\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/gramma" 121 +"r/ExpressionPool;xp\u0000\u0000\u0000\u0006\u0001pq\u0000~\u0000\u0005q\u0000~\u0000\u0012q\u0000~\u0000\u0010q\u0000~\u0000#q\u0000~\u0000\bq\u0000~\u0000\u0013x")); 122 } 123 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment); 124 } 125 126 public class Unmarshaller 127 extends com.mvnforum.jaxb.db.impl.runtime.AbstractUnmarshallingEventHandlerImpl 128 { 129 130 131 public Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context) { 132 super(context, "----"); 133 } 134 135 protected Unmarshaller(com.mvnforum.jaxb.db.impl.runtime.UnmarshallingContext context, int startState) { 136 this(context); 137 state = startState; 138 } 139 140 public java.lang.Object owner() { 141 return com.mvnforum.jaxb.db.impl.ForumListImpl.this; 142 } 143 144 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts) 145 throws org.xml.sax.SAXException 146 { 147 int attIdx; 148 outer: 149 while (true) { 150 switch (state) { 151 case 1 : 152 if (("ForumLastPostMemberName" == ___local)&&("" == ___uri)) { 153 _getForum().add(((com.mvnforum.jaxb.db.impl.ForumTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.ForumTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 154 return ; 155 } 156 if (("ForumName" == ___local)&&("" == ___uri)) { 157 _getForum().add(((com.mvnforum.jaxb.db.impl.ForumTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.ForumTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 158 return ; 159 } 160 break; 161 case 0 : 162 if (("Forum" == ___local)&&("" == ___uri)) { 163 context.pushAttributes(__atts, false); 164 state = 1; 165 return ; 166 } 167 state = 3; 168 continue outer; 169 case 3 : 170 if (("Forum" == ___local)&&("" == ___uri)) { 171 context.pushAttributes(__atts, false); 172 state = 1; 173 return ; 174 } 175 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); 176 return ; 177 } 178 super.enterElement(___uri, ___local, ___qname, __atts); 179 break; 180 } 181 } 182 183 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 184 throws org.xml.sax.SAXException 185 { 186 int attIdx; 187 outer: 188 while (true) { 189 switch (state) { 190 case 2 : 191 if (("Forum" == ___local)&&("" == ___uri)) { 192 context.popAttributes(); 193 state = 3; 194 return ; 195 } 196 break; 197 case 0 : 198 state = 3; 199 continue outer; 200 case 3 : 201 revertToParentFromLeaveElement(___uri, ___local, ___qname); 202 return ; 203 } 204 super.leaveElement(___uri, ___local, ___qname); 205 break; 206 } 207 } 208 209 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 210 throws org.xml.sax.SAXException 211 { 212 int attIdx; 213 outer: 214 while (true) { 215 switch (state) { 216 case 0 : 217 state = 3; 218 continue outer; 219 case 3 : 220 revertToParentFromEnterAttribute(___uri, ___local, ___qname); 221 return ; 222 } 223 super.enterAttribute(___uri, ___local, ___qname); 224 break; 225 } 226 } 227 228 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 229 throws org.xml.sax.SAXException 230 { 231 int attIdx; 232 outer: 233 while (true) { 234 switch (state) { 235 case 0 : 236 state = 3; 237 continue outer; 238 case 3 : 239 revertToParentFromLeaveAttribute(___uri, ___local, ___qname); 240 return ; 241 } 242 super.leaveAttribute(___uri, ___local, ___qname); 243 break; 244 } 245 } 246 247 public void handleText(final java.lang.String value) 248 throws org.xml.sax.SAXException 249 { 250 int attIdx; 251 outer: 252 while (true) { 253 try { 254 switch (state) { 255 case 0 : 256 state = 3; 257 continue outer; 258 case 3 : 259 revertToParentFromText(value); 260 return ; 261 } 262 } catch (java.lang.RuntimeException e) { 263 handleUnexpectedTextException(value, e); 264 } 265 break; 266 } 267 } 268 269 } 270 271 } 272 | Popular Tags |