1 8 9 package com.mvnforum.jaxb.db.impl; 10 11 public class CategoryListTypeImpl implements com.mvnforum.jaxb.db.CategoryListType, 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 _Category; 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.CategoryListType.class); 20 } 21 22 protected com.sun.xml.bind.util.ListImpl _getCategory() { 23 if (_Category == null) { 24 _Category = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList ()); 25 } 26 return _Category; 27 } 28 29 public java.util.List getCategory() { 30 return _getCategory(); 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.CategoryListTypeImpl.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 = ((_Category == null)? 0 :_Category.size()); 42 while (idx1 != len1) { 43 context.startElement("", "Category"); 44 int idx_0 = idx1; 45 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Category.get(idx_0 ++)), "Category"); 46 context.endNamespaceDecls(); 47 int idx_1 = idx1; 48 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Category.get(idx_1 ++)), "Category"); 49 context.endAttributes(); 50 context.childAsBody(((com.sun.xml.bind.JAXBObject) _Category.get(idx1 ++)), "Category"); 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 = ((_Category == null)? 0 :_Category.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 = ((_Category == null)? 0 :_Category.size()); 70 while (idx1 != len1) { 71 idx1 += 1; 72 } 73 } 74 75 public java.lang.Class getPrimaryInterface() { 76 return (com.mvnforum.jaxb.db.CategoryListType.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.CategoryTypet\u0000+http://java.sun.com" 102 +"/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014q\u0000~\u0000\npsr\u0000\u001bcom.sun.msv." 103 +"grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Data" 104 +"type;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq" 105 +"\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*c" 106 +"om.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com." 107 +"sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv." 108 +"datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001fL\u0000" 109 +"\btypeNameq\u0000~\u0000\u001fL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/Whit" 110 +"eSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNam" 111 +"esr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000" 112 +"\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000" 113 +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpressi" 114 +"on\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0" 115 +"\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001fL\u0000\fnamespaceURIq\u0000~\u0000\u001fxpq\u0000~\u00000q\u0000~\u0000/sq\u0000~\u0000\u001et\u0000" 116 +"\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000~\u0000\u001e" 117 +"t\u0000\bCategoryt\u0000\u0000q\u0000~\u0000\u001dsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000" 118 +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Cl" 119 +"osedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash" 120 +"\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/" 121 +"grammar/ExpressionPool;xp\u0000\u0000\u0000\u0006\u0001pq\u0000~\u0000\u0005q\u0000~\u0000\u0012q\u0000~\u0000\u0010q\u0000~\u0000#q\u0000~\u0000\bq\u0000~\u0000" 122 +"\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.CategoryListTypeImpl.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 (("Category" == ___local)&&("" == ___uri)) { 154 context.pushAttributes(__atts, false); 155 state = 1; 156 return ; 157 } 158 state = 3; 159 continue outer; 160 case 3 : 161 if (("Category" == ___local)&&("" == ___uri)) { 162 context.pushAttributes(__atts, false); 163 state = 1; 164 return ; 165 } 166 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts); 167 return ; 168 case 1 : 169 if (("CategoryName" == ___local)&&("" == ___uri)) { 170 _getCategory().add(((com.mvnforum.jaxb.db.impl.CategoryTypeImpl) spawnChildFromEnterElement((com.mvnforum.jaxb.db.impl.CategoryTypeImpl.class), 2, ___uri, ___local, ___qname, __atts))); 171 return ; 172 } 173 break; 174 } 175 super.enterElement(___uri, ___local, ___qname, __atts); 176 break; 177 } 178 } 179 180 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 181 throws org.xml.sax.SAXException 182 { 183 int attIdx; 184 outer: 185 while (true) { 186 switch (state) { 187 case 2 : 188 if (("Category" == ___local)&&("" == ___uri)) { 189 context.popAttributes(); 190 state = 3; 191 return ; 192 } 193 break; 194 case 0 : 195 state = 3; 196 continue outer; 197 case 3 : 198 revertToParentFromLeaveElement(___uri, ___local, ___qname); 199 return ; 200 } 201 super.leaveElement(___uri, ___local, ___qname); 202 break; 203 } 204 } 205 206 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 207 throws org.xml.sax.SAXException 208 { 209 int attIdx; 210 outer: 211 while (true) { 212 switch (state) { 213 case 0 : 214 state = 3; 215 continue outer; 216 case 3 : 217 revertToParentFromEnterAttribute(___uri, ___local, ___qname); 218 return ; 219 } 220 super.enterAttribute(___uri, ___local, ___qname); 221 break; 222 } 223 } 224 225 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname) 226 throws org.xml.sax.SAXException 227 { 228 int attIdx; 229 outer: 230 while (true) { 231 switch (state) { 232 case 0 : 233 state = 3; 234 continue outer; 235 case 3 : 236 revertToParentFromLeaveAttribute(___uri, ___local, ___qname); 237 return ; 238 } 239 super.leaveAttribute(___uri, ___local, ___qname); 240 break; 241 } 242 } 243 244 public void handleText(final java.lang.String value) 245 throws org.xml.sax.SAXException 246 { 247 int attIdx; 248 outer: 249 while (true) { 250 try { 251 switch (state) { 252 case 0 : 253 state = 3; 254 continue outer; 255 case 3 : 256 revertToParentFromText(value); 257 return ; 258 } 259 } catch (java.lang.RuntimeException e) { 260 handleUnexpectedTextException(value, e); 261 } 262 break; 263 } 264 } 265 266 } 267 268 } 269 | Popular Tags |