RecipeImpl.java 130 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581
  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:08 PM(kohsuke)-fcs
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2018.09.10 at 08:01:16 AM PDT
  6. //
  7. package magoffin.matt.ieat.domain.impl;
  8. public class RecipeImpl implements magoffin.matt.ieat.domain.Recipe, java.io.Serializable, com.sun.xml.bind.JAXBObject, magoffin.matt.ieat.domain.impl.runtime.UnmarshallableObject, magoffin.matt.ieat.domain.impl.runtime.XMLSerializable, magoffin.matt.ieat.domain.impl.runtime.ValidatableObject
  9. {
  10. private final static long serialVersionUID = 200905041L;
  11. protected com.sun.xml.bind.util.ListImpl _Comment;
  12. protected magoffin.matt.ieat.domain.User _Owner;
  13. protected java.lang.String _Directions;
  14. protected magoffin.matt.ieat.domain.Difficulty _Difficulty;
  15. protected com.sun.xml.bind.util.ListImpl _Rating;
  16. protected java.lang.Long _RecipeId;
  17. protected com.sun.xml.bind.util.ListImpl _RelatedRecipe;
  18. protected com.sun.xml.bind.util.ListImpl _Step;
  19. protected java.util.Calendar _ModifiedDate;
  20. protected java.lang.String _Image;
  21. protected java.lang.String _Source;
  22. protected magoffin.matt.ieat.domain.Base _Base;
  23. protected magoffin.matt.ieat.domain.System _System;
  24. protected java.lang.String _Name;
  25. protected magoffin.matt.ieat.domain.Ethnicity _Ethnicity;
  26. protected java.lang.Integer _ServingSize;
  27. protected magoffin.matt.ieat.domain.PrepTime _PrepTime;
  28. protected com.sun.xml.bind.util.ListImpl _Ingredient;
  29. protected java.lang.String _Excerpt;
  30. protected java.util.Calendar _CreatedDate;
  31. protected magoffin.matt.ieat.domain.Course _Course;
  32. public final static java.lang.Class version = (magoffin.matt.ieat.domain.impl.JAXBVersion.class);
  33. private static com.sun.msv.grammar.Grammar schemaFragment;
  34. private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
  35. return (magoffin.matt.ieat.domain.Recipe.class);
  36. }
  37. protected com.sun.xml.bind.util.ListImpl _getComment() {
  38. if (_Comment == null) {
  39. _Comment = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
  40. }
  41. return _Comment;
  42. }
  43. public java.util.List getComment() {
  44. return _getComment();
  45. }
  46. public magoffin.matt.ieat.domain.User getOwner() {
  47. return _Owner;
  48. }
  49. public void setOwner(magoffin.matt.ieat.domain.User value) {
  50. _Owner = value;
  51. }
  52. public java.lang.String getDirections() {
  53. return _Directions;
  54. }
  55. public void setDirections(java.lang.String value) {
  56. _Directions = value;
  57. }
  58. public magoffin.matt.ieat.domain.Difficulty getDifficulty() {
  59. return _Difficulty;
  60. }
  61. public void setDifficulty(magoffin.matt.ieat.domain.Difficulty value) {
  62. _Difficulty = value;
  63. }
  64. protected com.sun.xml.bind.util.ListImpl _getRating() {
  65. if (_Rating == null) {
  66. _Rating = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
  67. }
  68. return _Rating;
  69. }
  70. public java.util.List getRating() {
  71. return _getRating();
  72. }
  73. public java.lang.Long getRecipeId() {
  74. return _RecipeId;
  75. }
  76. public void setRecipeId(java.lang.Long value) {
  77. _RecipeId = value;
  78. }
  79. protected com.sun.xml.bind.util.ListImpl _getRelatedRecipe() {
  80. if (_RelatedRecipe == null) {
  81. _RelatedRecipe = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
  82. }
  83. return _RelatedRecipe;
  84. }
  85. public java.util.List getRelatedRecipe() {
  86. return _getRelatedRecipe();
  87. }
  88. protected com.sun.xml.bind.util.ListImpl _getStep() {
  89. if (_Step == null) {
  90. _Step = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
  91. }
  92. return _Step;
  93. }
  94. public java.util.List getStep() {
  95. return _getStep();
  96. }
  97. public java.util.Calendar getModifiedDate() {
  98. return _ModifiedDate;
  99. }
  100. public void setModifiedDate(java.util.Calendar value) {
  101. _ModifiedDate = value;
  102. }
  103. public java.lang.String getImage() {
  104. return _Image;
  105. }
  106. public void setImage(java.lang.String value) {
  107. _Image = value;
  108. }
  109. public java.lang.String getSource() {
  110. return _Source;
  111. }
  112. public void setSource(java.lang.String value) {
  113. _Source = value;
  114. }
  115. public magoffin.matt.ieat.domain.Base getBase() {
  116. return _Base;
  117. }
  118. public void setBase(magoffin.matt.ieat.domain.Base value) {
  119. _Base = value;
  120. }
  121. public magoffin.matt.ieat.domain.System getSystem() {
  122. return _System;
  123. }
  124. public void setSystem(magoffin.matt.ieat.domain.System value) {
  125. _System = value;
  126. }
  127. public java.lang.String getName() {
  128. return _Name;
  129. }
  130. public void setName(java.lang.String value) {
  131. _Name = value;
  132. }
  133. public magoffin.matt.ieat.domain.Ethnicity getEthnicity() {
  134. return _Ethnicity;
  135. }
  136. public void setEthnicity(magoffin.matt.ieat.domain.Ethnicity value) {
  137. _Ethnicity = value;
  138. }
  139. public java.lang.Integer getServingSize() {
  140. return _ServingSize;
  141. }
  142. public void setServingSize(java.lang.Integer value) {
  143. _ServingSize = value;
  144. }
  145. public magoffin.matt.ieat.domain.PrepTime getPrepTime() {
  146. return _PrepTime;
  147. }
  148. public void setPrepTime(magoffin.matt.ieat.domain.PrepTime value) {
  149. _PrepTime = value;
  150. }
  151. protected com.sun.xml.bind.util.ListImpl _getIngredient() {
  152. if (_Ingredient == null) {
  153. _Ingredient = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
  154. }
  155. return _Ingredient;
  156. }
  157. public java.util.List getIngredient() {
  158. return _getIngredient();
  159. }
  160. public java.lang.String getExcerpt() {
  161. return _Excerpt;
  162. }
  163. public void setExcerpt(java.lang.String value) {
  164. _Excerpt = value;
  165. }
  166. public java.util.Calendar getCreatedDate() {
  167. return _CreatedDate;
  168. }
  169. public void setCreatedDate(java.util.Calendar value) {
  170. _CreatedDate = value;
  171. }
  172. public magoffin.matt.ieat.domain.Course getCourse() {
  173. return _Course;
  174. }
  175. public void setCourse(magoffin.matt.ieat.domain.Course value) {
  176. _Course = value;
  177. }
  178. public magoffin.matt.ieat.domain.impl.runtime.UnmarshallingEventHandler createUnmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  179. return new magoffin.matt.ieat.domain.impl.RecipeImpl.Unmarshaller(context);
  180. }
  181. public void serializeBody(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  182. throws org.xml.sax.SAXException
  183. {
  184. int idx1 = 0;
  185. final int len1 = ((_Comment == null)? 0 :_Comment.size());
  186. int idx5 = 0;
  187. final int len5 = ((_Rating == null)? 0 :_Rating.size());
  188. int idx7 = 0;
  189. final int len7 = ((_RelatedRecipe == null)? 0 :_RelatedRecipe.size());
  190. int idx8 = 0;
  191. final int len8 = ((_Step == null)? 0 :_Step.size());
  192. int idx18 = 0;
  193. final int len18 = ((_Ingredient == null)? 0 :_Ingredient.size());
  194. context.startElement("http://msqr.us/xsd/ieat", "name");
  195. context.endNamespaceDecls();
  196. context.endAttributes();
  197. try {
  198. context.text(((java.lang.String) _Name), "Name");
  199. } catch (java.lang.Exception e) {
  200. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  201. }
  202. context.endElement();
  203. if (_Excerpt!= null) {
  204. context.startElement("http://msqr.us/xsd/ieat", "excerpt");
  205. context.endNamespaceDecls();
  206. context.endAttributes();
  207. try {
  208. context.text(((java.lang.String) _Excerpt), "Excerpt");
  209. } catch (java.lang.Exception e) {
  210. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  211. }
  212. context.endElement();
  213. }
  214. if (_Source!= null) {
  215. context.startElement("http://msqr.us/xsd/ieat", "source");
  216. context.endNamespaceDecls();
  217. context.endAttributes();
  218. try {
  219. context.text(((java.lang.String) _Source), "Source");
  220. } catch (java.lang.Exception e) {
  221. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  222. }
  223. context.endElement();
  224. }
  225. if (_Directions!= null) {
  226. context.startElement("http://msqr.us/xsd/ieat", "directions");
  227. context.endNamespaceDecls();
  228. context.endAttributes();
  229. try {
  230. context.text(((java.lang.String) _Directions), "Directions");
  231. } catch (java.lang.Exception e) {
  232. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  233. }
  234. context.endElement();
  235. }
  236. if (_Image!= null) {
  237. context.startElement("http://msqr.us/xsd/ieat", "image");
  238. context.endNamespaceDecls();
  239. context.endAttributes();
  240. try {
  241. context.text(((java.lang.String) _Image), "Image");
  242. } catch (java.lang.Exception e) {
  243. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  244. }
  245. context.endElement();
  246. }
  247. if (_Base!= null) {
  248. context.startElement("http://msqr.us/xsd/ieat", "base");
  249. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Base), "Base");
  250. context.endNamespaceDecls();
  251. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Base), "Base");
  252. context.endAttributes();
  253. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Base), "Base");
  254. context.endElement();
  255. }
  256. if (_Course!= null) {
  257. context.startElement("http://msqr.us/xsd/ieat", "course");
  258. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Course), "Course");
  259. context.endNamespaceDecls();
  260. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Course), "Course");
  261. context.endAttributes();
  262. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Course), "Course");
  263. context.endElement();
  264. }
  265. if (_Ethnicity!= null) {
  266. context.startElement("http://msqr.us/xsd/ieat", "ethnicity");
  267. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Ethnicity), "Ethnicity");
  268. context.endNamespaceDecls();
  269. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Ethnicity), "Ethnicity");
  270. context.endAttributes();
  271. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Ethnicity), "Ethnicity");
  272. context.endElement();
  273. }
  274. if (_Difficulty!= null) {
  275. context.startElement("http://msqr.us/xsd/ieat", "difficulty");
  276. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Difficulty), "Difficulty");
  277. context.endNamespaceDecls();
  278. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Difficulty), "Difficulty");
  279. context.endAttributes();
  280. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Difficulty), "Difficulty");
  281. context.endElement();
  282. }
  283. if (_Owner!= null) {
  284. context.startElement("http://msqr.us/xsd/ieat", "owner");
  285. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Owner), "Owner");
  286. context.endNamespaceDecls();
  287. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Owner), "Owner");
  288. context.endAttributes();
  289. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Owner), "Owner");
  290. context.endElement();
  291. }
  292. if (_PrepTime!= null) {
  293. context.startElement("http://msqr.us/xsd/ieat", "prep-time");
  294. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _PrepTime), "PrepTime");
  295. context.endNamespaceDecls();
  296. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _PrepTime), "PrepTime");
  297. context.endAttributes();
  298. context.childAsBody(((com.sun.xml.bind.JAXBObject) _PrepTime), "PrepTime");
  299. context.endElement();
  300. }
  301. context.startElement("http://msqr.us/xsd/ieat", "system");
  302. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _System), "System");
  303. context.endNamespaceDecls();
  304. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _System), "System");
  305. context.endAttributes();
  306. context.childAsBody(((com.sun.xml.bind.JAXBObject) _System), "System");
  307. context.endElement();
  308. while (idx18 != len18) {
  309. context.startElement("http://msqr.us/xsd/ieat", "ingredient");
  310. int idx_24 = idx18;
  311. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Ingredient.get(idx_24 ++)), "Ingredient");
  312. context.endNamespaceDecls();
  313. int idx_25 = idx18;
  314. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Ingredient.get(idx_25 ++)), "Ingredient");
  315. context.endAttributes();
  316. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Ingredient.get(idx18 ++)), "Ingredient");
  317. context.endElement();
  318. }
  319. while (idx7 != len7) {
  320. context.startElement("http://msqr.us/xsd/ieat", "related-recipe");
  321. int idx_26 = idx7;
  322. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RelatedRecipe.get(idx_26 ++)), "RelatedRecipe");
  323. context.endNamespaceDecls();
  324. int idx_27 = idx7;
  325. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RelatedRecipe.get(idx_27 ++)), "RelatedRecipe");
  326. context.endAttributes();
  327. context.childAsBody(((com.sun.xml.bind.JAXBObject) _RelatedRecipe.get(idx7 ++)), "RelatedRecipe");
  328. context.endElement();
  329. }
  330. while (idx8 != len8) {
  331. context.startElement("http://msqr.us/xsd/ieat", "step");
  332. int idx_28 = idx8;
  333. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Step.get(idx_28 ++)), "Step");
  334. context.endNamespaceDecls();
  335. int idx_29 = idx8;
  336. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Step.get(idx_29 ++)), "Step");
  337. context.endAttributes();
  338. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Step.get(idx8 ++)), "Step");
  339. context.endElement();
  340. }
  341. while (idx1 != len1) {
  342. context.startElement("http://msqr.us/xsd/ieat", "comment");
  343. int idx_30 = idx1;
  344. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Comment.get(idx_30 ++)), "Comment");
  345. context.endNamespaceDecls();
  346. int idx_31 = idx1;
  347. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Comment.get(idx_31 ++)), "Comment");
  348. context.endAttributes();
  349. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Comment.get(idx1 ++)), "Comment");
  350. context.endElement();
  351. }
  352. while (idx5 != len5) {
  353. context.startElement("http://msqr.us/xsd/ieat", "rating");
  354. int idx_32 = idx5;
  355. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Rating.get(idx_32 ++)), "Rating");
  356. context.endNamespaceDecls();
  357. int idx_33 = idx5;
  358. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Rating.get(idx_33 ++)), "Rating");
  359. context.endAttributes();
  360. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Rating.get(idx5 ++)), "Rating");
  361. context.endElement();
  362. }
  363. }
  364. public void serializeAttributes(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  365. throws org.xml.sax.SAXException
  366. {
  367. int idx1 = 0;
  368. final int len1 = ((_Comment == null)? 0 :_Comment.size());
  369. int idx5 = 0;
  370. final int len5 = ((_Rating == null)? 0 :_Rating.size());
  371. int idx7 = 0;
  372. final int len7 = ((_RelatedRecipe == null)? 0 :_RelatedRecipe.size());
  373. int idx8 = 0;
  374. final int len8 = ((_Step == null)? 0 :_Step.size());
  375. int idx18 = 0;
  376. final int len18 = ((_Ingredient == null)? 0 :_Ingredient.size());
  377. if (_CreatedDate!= null) {
  378. context.startAttribute("", "createdDate");
  379. try {
  380. context.text(com.sun.msv.datatype.xsd.DateTimeType.theInstance.serializeJavaObject(((java.util.Calendar) _CreatedDate), null), "CreatedDate");
  381. } catch (java.lang.Exception e) {
  382. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  383. }
  384. context.endAttribute();
  385. }
  386. if (_ModifiedDate!= null) {
  387. context.startAttribute("", "modifiedDate");
  388. try {
  389. context.text(com.sun.msv.datatype.xsd.DateTimeType.theInstance.serializeJavaObject(((java.util.Calendar) _ModifiedDate), null), "ModifiedDate");
  390. } catch (java.lang.Exception e) {
  391. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  392. }
  393. context.endAttribute();
  394. }
  395. if (_RecipeId!= null) {
  396. context.startAttribute("", "recipeId");
  397. try {
  398. context.text(javax.xml.bind.DatatypeConverter.printLong(((long)((java.lang.Long) _RecipeId).longValue())), "RecipeId");
  399. } catch (java.lang.Exception e) {
  400. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  401. }
  402. context.endAttribute();
  403. }
  404. if (_ServingSize!= null) {
  405. context.startAttribute("", "servingSize");
  406. try {
  407. context.text(javax.xml.bind.DatatypeConverter.printInt(((int)((java.lang.Integer) _ServingSize).intValue())), "ServingSize");
  408. } catch (java.lang.Exception e) {
  409. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  410. }
  411. context.endAttribute();
  412. }
  413. while (idx18 != len18) {
  414. idx18 += 1;
  415. }
  416. while (idx7 != len7) {
  417. idx7 += 1;
  418. }
  419. while (idx8 != len8) {
  420. idx8 += 1;
  421. }
  422. while (idx1 != len1) {
  423. idx1 += 1;
  424. }
  425. while (idx5 != len5) {
  426. idx5 += 1;
  427. }
  428. }
  429. public void serializeURIs(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  430. throws org.xml.sax.SAXException
  431. {
  432. int idx1 = 0;
  433. final int len1 = ((_Comment == null)? 0 :_Comment.size());
  434. int idx5 = 0;
  435. final int len5 = ((_Rating == null)? 0 :_Rating.size());
  436. int idx7 = 0;
  437. final int len7 = ((_RelatedRecipe == null)? 0 :_RelatedRecipe.size());
  438. int idx8 = 0;
  439. final int len8 = ((_Step == null)? 0 :_Step.size());
  440. int idx18 = 0;
  441. final int len18 = ((_Ingredient == null)? 0 :_Ingredient.size());
  442. while (idx18 != len18) {
  443. idx18 += 1;
  444. }
  445. while (idx7 != len7) {
  446. idx7 += 1;
  447. }
  448. while (idx8 != len8) {
  449. idx8 += 1;
  450. }
  451. while (idx1 != len1) {
  452. idx1 += 1;
  453. }
  454. while (idx5 != len5) {
  455. idx5 += 1;
  456. }
  457. }
  458. public java.lang.Class getPrimaryInterface() {
  459. return (magoffin.matt.ieat.domain.Recipe.class);
  460. }
  461. public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
  462. if (schemaFragment == null) {
  463. schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
  464. "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
  465. +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
  466. +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
  467. +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
  468. +"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000pp"
  469. +"sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~"
  470. +"\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\'com."
  471. +"sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000"
  472. +"\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Elem"
  473. +"entExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentMode"
  474. +"lq\u0000~\u0000\u0002xq\u0000~\u0000\u0003pp\u0000sq\u0000~\u0000\u0000ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000"
  475. +"\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000"
  476. +"\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000#com.sun.msv"
  477. +".datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.s"
  478. +"un.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun."
  479. +"msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.data"
  480. +"type.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/la"
  481. +"ng/String;L\u0000\btypeNameq\u0000~\u0000&L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datat"
  482. +"ype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLS"
  483. +"chemat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcess"
  484. +"or$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpac"
  485. +"eProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$N"
  486. +"ullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.Stri"
  487. +"ngPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000&L\u0000\fnamespaceURIq\u0000~\u0000&xpq\u0000~\u0000"
  488. +"*q\u0000~\u0000)sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr"
  489. +"\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tn"
  490. +"ameClassq\u0000~\u0000\u001axq\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuex"
  491. +"p\u0000psq\u0000~\u0000\u001eppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
  492. +"xq\u0000~\u0000#q\u0000~\u0000)t\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpacePr"
  493. +"ocessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000,q\u0000~\u0000/sq\u0000~\u00000q\u0000~\u0000;q\u0000~\u0000)sr\u0000#co"
  494. +"m.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000"
  495. +"&L\u0000\fnamespaceURIq\u0000~\u0000&xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000"
  496. +"\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instancesr"
  497. +"\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
  498. +"\u0000xq\u0000~\u0000\u0003sq\u0000~\u00006\u0001q\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0004namet\u0000\u0017http://msqr.us/xsd/ieatsq"
  499. +"\u0000~\u00002ppsq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000!sq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~"
  500. +"\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0007excerptq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000"
  501. +"ppq\u0000~\u0000!sq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0006sourceq\u0000~"
  502. +"\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000!sq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007"
  503. +"pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\ndirectionsq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019q"
  504. +"\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000!sq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?"
  505. +"t\u0000\u0005imageq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~"
  506. +"\u00002ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.s"
  507. +"un.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u00007psq\u0000"
  508. +"~\u00004q\u0000~\u00007psr\u00002com.sun.msv.grammar.Expression$AnyStringExpress"
  509. +"ion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000Fq\u0000~\u0000psr\u0000 com.sun.msv.grammar.AnyNam"
  510. +"eClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000@q\u0000~\u0000Esq\u0000~\u0000?t\u0000\u001emagoffin.matt.ieat.doma"
  511. +"in.Baset\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u00002p"
  512. +"psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0004baseq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002pps"
  513. +"q\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007"
  514. +"pq\u0000~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000 magoffin.matt.ieat.domain.Courseq\u0000~"
  515. +"\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0006courseq\u0000~\u0000Iq\u0000~"
  516. +"\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007p"
  517. +"sq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000#magoffin.matt.ieat.domai"
  518. +"n.Ethnicityq\u0000~\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\t"
  519. +"ethnicityq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000"
  520. +"~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000$magoffi"
  521. +"n.matt.ieat.domain.Difficultyq\u0000~\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q"
  522. +"\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\ndifficultyq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019q\u0000~\u00007p\u0000s"
  523. +"q\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000pq\u0000~\u0000rq\u0000"
  524. +"~\u0000Esq\u0000~\u0000?t\u0000\u001emagoffin.matt.ieat.domain.Userq\u0000~\u0000usq\u0000~\u00002ppsq\u0000~\u0000"
  525. +"4q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0005ownerq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000\u0019"
  526. +"q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000"
  527. +"pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000\"magoffin.matt.ieat.domain.PrepTimeq\u0000~\u0000us"
  528. +"q\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\tprep-timeq\u0000~\u0000Iq\u0000~"
  529. +"\u0000Esq\u0000~\u0000\u0019pp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007p"
  530. +"q\u0000~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000 magoffin.matt.ieat.domain.Systemq\u0000~\u0000"
  531. +"usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0006systemq\u0000~\u0000Isq\u0000~"
  532. +"\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000k"
  533. +"q\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000*magoffin.matt.ieat"
  534. +".domain.RecipeIngredientq\u0000~\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq"
  535. +"\u0000~\u0000Esq\u0000~\u0000?t\u0000\ningredientq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u0000\u0019q"
  536. +"\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000p"
  537. +"q\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000\'magoffin.matt.ieat.domain.RelatedRecipeq\u0000"
  538. +"~\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u000erelated-recip"
  539. +"eq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp"
  540. +"\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000$mag"
  541. +"offin.matt.ieat.domain.RecipeStepq\u0000~\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000"
  542. +"~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0004stepq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~"
  543. +"\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000"
  544. +"~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000\'magoffin.matt.ieat.domain.RecipeCommen"
  545. +"tq\u0000~\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u00008q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0007commentq\u0000~"
  546. +"\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u0000\u0019q\u0000~\u00007p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0019pp\u0000sq\u0000"
  547. +"~\u00002ppsq\u0000~\u0000kq\u0000~\u00007psq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000pq\u0000~\u0000rq\u0000~\u0000Esq\u0000~\u0000?t\u0000&magoffi"
  548. +"n.matt.ieat.domain.RecipeRatingq\u0000~\u0000usq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0000"
  549. +"8q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0006ratingq\u0000~\u0000Iq\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007psq\u0000~"
  550. +"\u0000\u001eppsr\u0000%com.sun.msv.datatype.xsd.DateTimeType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000)"
  551. +"com.sun.msv.datatype.xsd.DateTimeBaseType\u0014W\u001a@3\u00a5\u00b4\u00e5\u0002\u0000\u0000xq\u0000~\u0000#q\u0000"
  552. +"~\u0000)t\u0000\bdateTimeq\u0000~\u0000=q\u0000~\u0000/sq\u0000~\u00000q\u0000~\u0001\u0013q\u0000~\u0000)sq\u0000~\u0000?t\u0000\u000bcreatedDate"
  553. +"t\u0000\u0000q\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007pq\u0000~\u0001\u000fsq\u0000~\u0000?t\u0000\fmodifiedDateq\u0000~\u0001\u0017q"
  554. +"\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007psq\u0000~\u0000\u001eppsr\u0000!com.sun.msv.datatype.xsd"
  555. +".LongType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.sun.msv.datatype.xsd.IntegerDeri"
  556. +"vedType\u0099\u00f1]\u0090&6k\u00be\u0002\u0000\u0001L\u0000\nbaseFacetst\u0000)Lcom/sun/msv/datatype/xsd/"
  557. +"XSDatatypeImpl;xq\u0000~\u0000#q\u0000~\u0000)t\u0000\u0004longq\u0000~\u0000=sr\u0000*com.sun.msv.dataty"
  558. +"pe.xsd.MaxInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype."
  559. +"xsd.RangeFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\nlimitValuet\u0000\u0012Ljava/lang/Object;x"
  560. +"r\u00009com.sun.msv.datatype.xsd.DataTypeWithValueConstraintFacet"
  561. +"\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000"
  562. +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypeq\u0000~\u0001!"
  563. +"L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType;L\u0000\t"
  564. +"facetNameq\u0000~\u0000&xq\u0000~\u0000%ppq\u0000~\u0000=\u0000\u0001sr\u0000*com.sun.msv.datatype.xsd.Mi"
  565. +"nInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0001%ppq\u0000~\u0000=\u0000\u0000sr\u0000$com.sun.msv.dat"
  566. +"atype.xsd.IntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0001 q\u0000~\u0000)t\u0000\u0007integerq\u0000~\u0000=sr"
  567. +"\u0000,com.sun.msv.datatype.xsd.FractionDigitsFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\u0005"
  568. +"scalexr\u0000;com.sun.msv.datatype.xsd.DataTypeWithLexicalConstra"
  569. +"intFacetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0001(ppq\u0000~\u0000=\u0001\u0000sr\u0000#com.sun.msv.datatype.x"
  570. +"sd.NumberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000#q\u0000~\u0000)t\u0000\u0007decimalq\u0000~\u0000=q\u0000~\u00014t\u0000\u000efr"
  571. +"actionDigits\u0000\u0000\u0000\u0000q\u0000~\u0001.t\u0000\fminInclusivesr\u0000\u000ejava.lang.Long;\u008b\u00e4\u0090\u00cc\u008f"
  572. +"#\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~\u0001.t"
  573. +"\u0000\fmaxInclusivesq\u0000~\u00018\u007f\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ffq\u0000~\u0000/sq\u0000~\u00000q\u0000~\u0001#q\u0000~\u0000)sq\u0000~\u0000?t\u0000\bre"
  574. +"cipeIdq\u0000~\u0001\u0017q\u0000~\u0000Esq\u0000~\u00002ppsq\u0000~\u00004q\u0000~\u00007psq\u0000~\u0000\u001eppsr\u0000 com.sun.msv."
  575. +"datatype.xsd.IntType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0001 q\u0000~\u0000)t\u0000\u0003intq\u0000~\u0000=sq\u0000~\u0001$p"
  576. +"pq\u0000~\u0000=\u0000\u0001sq\u0000~\u0001+ppq\u0000~\u0000=\u0000\u0000q\u0000~\u0001\"q\u0000~\u0001\"q\u0000~\u00017sr\u0000\u0011java.lang.Integer\u0012"
  577. +"\u00e2\u00a0\u00a4\u00f7\u0081\u00878\u0002\u0000\u0001I\u0000\u0005valuexq\u0000~\u00019\u0080\u0000\u0000\u0000q\u0000~\u0001\"q\u0000~\u0001;sq\u0000~\u0001H\u007f\u00ff\u00ff\u00ffq\u0000~\u0000/sq\u0000~\u00000q"
  578. +"\u0000~\u0001Eq\u0000~\u0000)sq\u0000~\u0000?t\u0000\u000bservingSizeq\u0000~\u0001\u0017q\u0000~\u0000Esr\u0000\"com.sun.msv.gramm"
  579. +"ar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/gramm"
  580. +"ar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Expre"
  581. +"ssionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006pa"
  582. +"rentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000f\u0001pq\u0000~\u0000\u0012q\u0000~\u0000"
  583. +"aq\u0000~\u0000Zq\u0000~\u0000Sq\u0000~\u0000Lq\u0000~\u0000\u001dq\u0000~\u0000\u0005q\u0000~\u0000\u0016q\u0000~\u0001@q\u0000~\u0000\u0015q\u0000~\u0000\u00c7q\u0000~\u0000\u00d5q\u0000~\u0000\u00e3q\u0000~\u0000"
  584. +"\u000bq\u0000~\u0000\u00f1q\u0000~\u0000\u00ffq\u0000~\u0000\u0006q\u0000~\u0000bq\u0000~\u0000[q\u0000~\u0000Tq\u0000~\u0000Mq\u0000~\u00003q\u0000~\u0000\u0013q\u0000~\u0000\u00c3q\u0000~\u0000\u00b7q\u0000~\u0000"
  585. +"\u00aaq\u0000~\u0000\u009dq\u0000~\u0000\u0090q\u0000~\u0000\u0083q\u0000~\u0000vq\u0000~\u0000\u00d1q\u0000~\u0000\u00dfq\u0000~\u0000\u0011q\u0000~\u0000\u00edq\u0000~\u0000\u00fbq\u0000~\u0001\tq\u0000~\u0000\u0014q\u0000~\u0000"
  586. +"\u0010q\u0000~\u0000\u00c8q\u0000~\u0000\u00d6q\u0000~\u0000\u00e4q\u0000~\u0000\u00f2q\u0000~\u0001\u0000q\u0000~\u0000\u00bfq\u0000~\u0000\u00b3q\u0000~\u0000\u00a6q\u0000~\u0000\u0099q\u0000~\u0000\u008cq\u0000~\u0000\u007fq\u0000~\u0000"
  587. +"mq\u0000~\u0000\u00cdq\u0000~\u0000\u00dbq\u0000~\u0000\u00e9q\u0000~\u0000\u00f7q\u0000~\u0001\u0005q\u0000~\u0001\u001cq\u0000~\u0000\nq\u0000~\u0000\u000eq\u0000~\u0000\fq\u0000~\u0000\u00beq\u0000~\u0000\u00b2q\u0000~\u0000"
  588. +"\u00a5q\u0000~\u0000\u0098q\u0000~\u0000\u008bq\u0000~\u0000~q\u0000~\u0000jq\u0000~\u0000\u00ccq\u0000~\u0000\u00daq\u0000~\u0000\u00e8q\u0000~\u0000\u00f6q\u0000~\u0001\u0004q\u0000~\u0000\tq\u0000~\u0000\u00aeq\u0000~\u0000"
  589. +"\u00a1q\u0000~\u0000\u0094q\u0000~\u0000\u0087q\u0000~\u0000zq\u0000~\u0000fq\u0000~\u0001\rq\u0000~\u0000\bq\u0000~\u0000\u00b0q\u0000~\u0000\u00a3q\u0000~\u0000\u0096q\u0000~\u0000\u0089q\u0000~\u0000|q\u0000~\u0000"
  590. +"hq\u0000~\u0000\u00bcq\u0000~\u0000\u00caq\u0000~\u0000\u00d8q\u0000~\u0000\u00e6q\u0000~\u0000\u00f4q\u0000~\u0001\u0002q\u0000~\u0000\u0017q\u0000~\u0001\u0018q\u0000~\u0000\rq\u0000~\u0000\u0007q\u0000~\u0000_q\u0000~\u0000"
  591. +"Xq\u0000~\u0000Qq\u0000~\u0000Jq\u0000~\u0000\u000fq\u0000~\u0000\u0018x"));
  592. }
  593. return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
  594. }
  595. public boolean equals(java.lang.Object obj) {
  596. if (this == obj) {
  597. return true;
  598. }
  599. if ((null == obj)||(!(obj instanceof magoffin.matt.ieat.domain.Recipe))) {
  600. return false;
  601. }
  602. magoffin.matt.ieat.domain.impl.RecipeImpl target = ((magoffin.matt.ieat.domain.impl.RecipeImpl) obj);
  603. {
  604. java.util.List value = this.getComment();
  605. java.util.List targetValue = target.getComment();
  606. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  607. return false;
  608. }
  609. }
  610. {
  611. magoffin.matt.ieat.domain.User value = this.getOwner();
  612. magoffin.matt.ieat.domain.User targetValue = target.getOwner();
  613. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  614. return false;
  615. }
  616. }
  617. {
  618. java.lang.String value = this.getDirections();
  619. java.lang.String targetValue = target.getDirections();
  620. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  621. return false;
  622. }
  623. }
  624. {
  625. magoffin.matt.ieat.domain.Difficulty value = this.getDifficulty();
  626. magoffin.matt.ieat.domain.Difficulty targetValue = target.getDifficulty();
  627. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  628. return false;
  629. }
  630. }
  631. {
  632. java.util.List value = this.getRating();
  633. java.util.List targetValue = target.getRating();
  634. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  635. return false;
  636. }
  637. }
  638. {
  639. java.lang.Long value = this.getRecipeId();
  640. java.lang.Long targetValue = target.getRecipeId();
  641. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  642. return false;
  643. }
  644. }
  645. {
  646. java.util.List value = this.getRelatedRecipe();
  647. java.util.List targetValue = target.getRelatedRecipe();
  648. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  649. return false;
  650. }
  651. }
  652. {
  653. java.util.List value = this.getStep();
  654. java.util.List targetValue = target.getStep();
  655. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  656. return false;
  657. }
  658. }
  659. {
  660. java.util.Calendar value = this.getModifiedDate();
  661. java.util.Calendar targetValue = target.getModifiedDate();
  662. if (!((value == targetValue)||((value!= null)&&(value.getTime().getTime() == targetValue.getTime().getTime())))) {
  663. return false;
  664. }
  665. }
  666. {
  667. java.lang.String value = this.getImage();
  668. java.lang.String targetValue = target.getImage();
  669. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  670. return false;
  671. }
  672. }
  673. {
  674. java.lang.String value = this.getSource();
  675. java.lang.String targetValue = target.getSource();
  676. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  677. return false;
  678. }
  679. }
  680. {
  681. magoffin.matt.ieat.domain.Base value = this.getBase();
  682. magoffin.matt.ieat.domain.Base targetValue = target.getBase();
  683. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  684. return false;
  685. }
  686. }
  687. {
  688. magoffin.matt.ieat.domain.System value = this.getSystem();
  689. magoffin.matt.ieat.domain.System targetValue = target.getSystem();
  690. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  691. return false;
  692. }
  693. }
  694. {
  695. java.lang.String value = this.getName();
  696. java.lang.String targetValue = target.getName();
  697. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  698. return false;
  699. }
  700. }
  701. {
  702. magoffin.matt.ieat.domain.Ethnicity value = this.getEthnicity();
  703. magoffin.matt.ieat.domain.Ethnicity targetValue = target.getEthnicity();
  704. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  705. return false;
  706. }
  707. }
  708. {
  709. java.lang.Integer value = this.getServingSize();
  710. java.lang.Integer targetValue = target.getServingSize();
  711. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  712. return false;
  713. }
  714. }
  715. {
  716. magoffin.matt.ieat.domain.PrepTime value = this.getPrepTime();
  717. magoffin.matt.ieat.domain.PrepTime targetValue = target.getPrepTime();
  718. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  719. return false;
  720. }
  721. }
  722. {
  723. java.util.List value = this.getIngredient();
  724. java.util.List targetValue = target.getIngredient();
  725. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  726. return false;
  727. }
  728. }
  729. {
  730. java.lang.String value = this.getExcerpt();
  731. java.lang.String targetValue = target.getExcerpt();
  732. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  733. return false;
  734. }
  735. }
  736. {
  737. java.util.Calendar value = this.getCreatedDate();
  738. java.util.Calendar targetValue = target.getCreatedDate();
  739. if (!((value == targetValue)||((value!= null)&&(value.getTime().getTime() == targetValue.getTime().getTime())))) {
  740. return false;
  741. }
  742. }
  743. {
  744. magoffin.matt.ieat.domain.Course value = this.getCourse();
  745. magoffin.matt.ieat.domain.Course targetValue = target.getCourse();
  746. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  747. return false;
  748. }
  749. }
  750. return true;
  751. }
  752. public int hashCode() {
  753. int hash = 7;
  754. {
  755. java.util.List value = this.getComment();
  756. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  757. }
  758. {
  759. magoffin.matt.ieat.domain.User value = this.getOwner();
  760. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  761. }
  762. {
  763. java.lang.String value = this.getDirections();
  764. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  765. }
  766. {
  767. magoffin.matt.ieat.domain.Difficulty value = this.getDifficulty();
  768. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  769. }
  770. {
  771. java.util.List value = this.getRating();
  772. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  773. }
  774. {
  775. java.lang.Long value = this.getRecipeId();
  776. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  777. }
  778. {
  779. java.util.List value = this.getRelatedRecipe();
  780. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  781. }
  782. {
  783. java.util.List value = this.getStep();
  784. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  785. }
  786. {
  787. java.util.Calendar value = this.getModifiedDate();
  788. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  789. }
  790. {
  791. java.lang.String value = this.getImage();
  792. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  793. }
  794. {
  795. java.lang.String value = this.getSource();
  796. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  797. }
  798. {
  799. magoffin.matt.ieat.domain.Base value = this.getBase();
  800. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  801. }
  802. {
  803. magoffin.matt.ieat.domain.System value = this.getSystem();
  804. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  805. }
  806. {
  807. java.lang.String value = this.getName();
  808. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  809. }
  810. {
  811. magoffin.matt.ieat.domain.Ethnicity value = this.getEthnicity();
  812. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  813. }
  814. {
  815. java.lang.Integer value = this.getServingSize();
  816. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  817. }
  818. {
  819. magoffin.matt.ieat.domain.PrepTime value = this.getPrepTime();
  820. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  821. }
  822. {
  823. java.util.List value = this.getIngredient();
  824. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  825. }
  826. {
  827. java.lang.String value = this.getExcerpt();
  828. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  829. }
  830. {
  831. java.util.Calendar value = this.getCreatedDate();
  832. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  833. }
  834. {
  835. magoffin.matt.ieat.domain.Course value = this.getCourse();
  836. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  837. }
  838. return hash;
  839. }
  840. public class Unmarshaller
  841. extends magoffin.matt.ieat.domain.impl.runtime.AbstractUnmarshallingEventHandlerImpl
  842. {
  843. public Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  844. super(context, "----------------------------------------------------------------");
  845. }
  846. protected Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context, int startState) {
  847. this(context);
  848. state = startState;
  849. }
  850. public java.lang.Object owner() {
  851. return magoffin.matt.ieat.domain.impl.RecipeImpl.this;
  852. }
  853. public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
  854. throws org.xml.sax.SAXException
  855. {
  856. int attIdx;
  857. outer:
  858. while (true) {
  859. switch (state) {
  860. case 63 :
  861. if (("rating" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  862. context.pushAttributes(__atts, false);
  863. state = 61;
  864. return ;
  865. }
  866. revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
  867. return ;
  868. case 40 :
  869. attIdx = context.getAttribute("", "accessLevel");
  870. if (attIdx >= 0) {
  871. context.consumeAttribute(attIdx);
  872. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  873. return ;
  874. }
  875. attIdx = context.getAttribute("", "country");
  876. if (attIdx >= 0) {
  877. context.consumeAttribute(attIdx);
  878. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  879. return ;
  880. }
  881. attIdx = context.getAttribute("", "createdDate");
  882. if (attIdx >= 0) {
  883. context.consumeAttribute(attIdx);
  884. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  885. return ;
  886. }
  887. attIdx = context.getAttribute("", "language");
  888. if (attIdx >= 0) {
  889. context.consumeAttribute(attIdx);
  890. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  891. return ;
  892. }
  893. attIdx = context.getAttribute("", "lastLoginDate");
  894. if (attIdx >= 0) {
  895. context.consumeAttribute(attIdx);
  896. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  897. return ;
  898. }
  899. attIdx = context.getAttribute("", "login");
  900. if (attIdx >= 0) {
  901. context.consumeAttribute(attIdx);
  902. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  903. return ;
  904. }
  905. attIdx = context.getAttribute("", "userId");
  906. if (attIdx >= 0) {
  907. context.consumeAttribute(attIdx);
  908. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  909. return ;
  910. }
  911. if (("name" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  912. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname, __atts));
  913. return ;
  914. }
  915. break;
  916. case 54 :
  917. if (("related-recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  918. context.pushAttributes(__atts, false);
  919. state = 52;
  920. return ;
  921. }
  922. if (("step" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  923. context.pushAttributes(__atts, true);
  924. state = 55;
  925. return ;
  926. }
  927. state = 57;
  928. continue outer;
  929. case 28 :
  930. attIdx = context.getAttribute("", "baseId");
  931. if (attIdx >= 0) {
  932. context.consumeAttribute(attIdx);
  933. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  934. return ;
  935. }
  936. break;
  937. case 15 :
  938. if (("excerpt" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  939. context.pushAttributes(__atts, true);
  940. state = 16;
  941. return ;
  942. }
  943. state = 18;
  944. continue outer;
  945. case 12 :
  946. if (("name" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  947. context.pushAttributes(__atts, true);
  948. state = 13;
  949. return ;
  950. }
  951. break;
  952. case 48 :
  953. if (("ingredient" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  954. context.pushAttributes(__atts, false);
  955. state = 49;
  956. return ;
  957. }
  958. state = 51;
  959. continue outer;
  960. case 37 :
  961. attIdx = context.getAttribute("", "difficultyId");
  962. if (attIdx >= 0) {
  963. context.consumeAttribute(attIdx);
  964. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  965. return ;
  966. }
  967. break;
  968. case 52 :
  969. if (("kind" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  970. _getRelatedRecipe().add(((magoffin.matt.ieat.domain.impl.RelatedRecipeImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.RelatedRecipeImpl.class), 53, ___uri, ___local, ___qname, __atts)));
  971. return ;
  972. }
  973. break;
  974. case 36 :
  975. if (("difficulty" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  976. context.pushAttributes(__atts, true);
  977. state = 37;
  978. return ;
  979. }
  980. state = 39;
  981. continue outer;
  982. case 31 :
  983. attIdx = context.getAttribute("", "courseId");
  984. if (attIdx >= 0) {
  985. context.consumeAttribute(attIdx);
  986. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  987. return ;
  988. }
  989. break;
  990. case 45 :
  991. if (("system" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  992. context.pushAttributes(__atts, true);
  993. state = 46;
  994. return ;
  995. }
  996. break;
  997. case 49 :
  998. attIdx = context.getAttribute("", "optional");
  999. if (attIdx >= 0) {
  1000. context.consumeAttribute(attIdx);
  1001. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1002. return ;
  1003. }
  1004. attIdx = context.getAttribute("", "qualifier");
  1005. if (attIdx >= 0) {
  1006. context.consumeAttribute(attIdx);
  1007. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1008. return ;
  1009. }
  1010. attIdx = context.getAttribute("", "quantity");
  1011. if (attIdx >= 0) {
  1012. context.consumeAttribute(attIdx);
  1013. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1014. return ;
  1015. }
  1016. if (("unit" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1017. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname, __atts)));
  1018. return ;
  1019. }
  1020. if (("ingredient" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1021. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname, __atts)));
  1022. return ;
  1023. }
  1024. if (("recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1025. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname, __atts)));
  1026. return ;
  1027. }
  1028. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname, __atts)));
  1029. return ;
  1030. case 0 :
  1031. attIdx = context.getAttribute("", "createdDate");
  1032. if (attIdx >= 0) {
  1033. final java.lang.String v = context.eatAttribute(attIdx);
  1034. state = 3;
  1035. eatText1(v);
  1036. continue outer;
  1037. }
  1038. state = 3;
  1039. continue outer;
  1040. case 43 :
  1041. attIdx = context.getAttribute("", "prepTimeId");
  1042. if (attIdx >= 0) {
  1043. context.consumeAttribute(attIdx);
  1044. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1045. return ;
  1046. }
  1047. break;
  1048. case 30 :
  1049. if (("course" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1050. context.pushAttributes(__atts, true);
  1051. state = 31;
  1052. return ;
  1053. }
  1054. state = 33;
  1055. continue outer;
  1056. case 42 :
  1057. if (("prep-time" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1058. context.pushAttributes(__atts, true);
  1059. state = 43;
  1060. return ;
  1061. }
  1062. state = 45;
  1063. continue outer;
  1064. case 34 :
  1065. attIdx = context.getAttribute("", "ethnicityId");
  1066. if (attIdx >= 0) {
  1067. context.consumeAttribute(attIdx);
  1068. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1069. return ;
  1070. }
  1071. break;
  1072. case 18 :
  1073. if (("source" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1074. context.pushAttributes(__atts, true);
  1075. state = 19;
  1076. return ;
  1077. }
  1078. state = 21;
  1079. continue outer;
  1080. case 57 :
  1081. if (("step" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1082. context.pushAttributes(__atts, true);
  1083. state = 55;
  1084. return ;
  1085. }
  1086. if (("comment" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1087. context.pushAttributes(__atts, true);
  1088. state = 58;
  1089. return ;
  1090. }
  1091. state = 60;
  1092. continue outer;
  1093. case 39 :
  1094. if (("owner" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1095. context.pushAttributes(__atts, false);
  1096. state = 40;
  1097. return ;
  1098. }
  1099. state = 42;
  1100. continue outer;
  1101. case 60 :
  1102. if (("comment" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1103. context.pushAttributes(__atts, true);
  1104. state = 58;
  1105. return ;
  1106. }
  1107. if (("rating" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1108. context.pushAttributes(__atts, false);
  1109. state = 61;
  1110. return ;
  1111. }
  1112. state = 63;
  1113. continue outer;
  1114. case 27 :
  1115. if (("base" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1116. context.pushAttributes(__atts, true);
  1117. state = 28;
  1118. return ;
  1119. }
  1120. state = 30;
  1121. continue outer;
  1122. case 24 :
  1123. if (("image" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1124. context.pushAttributes(__atts, true);
  1125. state = 25;
  1126. return ;
  1127. }
  1128. state = 27;
  1129. continue outer;
  1130. case 21 :
  1131. if (("directions" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1132. context.pushAttributes(__atts, true);
  1133. state = 22;
  1134. return ;
  1135. }
  1136. state = 24;
  1137. continue outer;
  1138. case 46 :
  1139. attIdx = context.getAttribute("", "systemId");
  1140. if (attIdx >= 0) {
  1141. context.consumeAttribute(attIdx);
  1142. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1143. return ;
  1144. }
  1145. break;
  1146. case 6 :
  1147. attIdx = context.getAttribute("", "recipeId");
  1148. if (attIdx >= 0) {
  1149. final java.lang.String v = context.eatAttribute(attIdx);
  1150. state = 9;
  1151. eatText2(v);
  1152. continue outer;
  1153. }
  1154. state = 9;
  1155. continue outer;
  1156. case 61 :
  1157. attIdx = context.getAttribute("", "createdDate");
  1158. if (attIdx >= 0) {
  1159. context.consumeAttribute(attIdx);
  1160. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1161. return ;
  1162. }
  1163. attIdx = context.getAttribute("", "rating");
  1164. if (attIdx >= 0) {
  1165. context.consumeAttribute(attIdx);
  1166. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1167. return ;
  1168. }
  1169. attIdx = context.getAttribute("", "ratingId");
  1170. if (attIdx >= 0) {
  1171. context.consumeAttribute(attIdx);
  1172. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1173. return ;
  1174. }
  1175. attIdx = context.getAttribute("", "userId");
  1176. if (attIdx >= 0) {
  1177. context.consumeAttribute(attIdx);
  1178. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1179. return ;
  1180. }
  1181. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname, __atts)));
  1182. return ;
  1183. case 51 :
  1184. if (("ingredient" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1185. context.pushAttributes(__atts, false);
  1186. state = 49;
  1187. return ;
  1188. }
  1189. if (("related-recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1190. context.pushAttributes(__atts, false);
  1191. state = 52;
  1192. return ;
  1193. }
  1194. state = 54;
  1195. continue outer;
  1196. case 58 :
  1197. attIdx = context.getAttribute("", "commentId");
  1198. if (attIdx >= 0) {
  1199. context.consumeAttribute(attIdx);
  1200. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1201. return ;
  1202. }
  1203. attIdx = context.getAttribute("", "createdDate");
  1204. if (attIdx >= 0) {
  1205. context.consumeAttribute(attIdx);
  1206. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1207. return ;
  1208. }
  1209. attIdx = context.getAttribute("", "userId");
  1210. if (attIdx >= 0) {
  1211. context.consumeAttribute(attIdx);
  1212. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  1213. return ;
  1214. }
  1215. break;
  1216. case 3 :
  1217. attIdx = context.getAttribute("", "modifiedDate");
  1218. if (attIdx >= 0) {
  1219. final java.lang.String v = context.eatAttribute(attIdx);
  1220. state = 6;
  1221. eatText3(v);
  1222. continue outer;
  1223. }
  1224. state = 6;
  1225. continue outer;
  1226. case 33 :
  1227. if (("ethnicity" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1228. context.pushAttributes(__atts, true);
  1229. state = 34;
  1230. return ;
  1231. }
  1232. state = 36;
  1233. continue outer;
  1234. case 9 :
  1235. attIdx = context.getAttribute("", "servingSize");
  1236. if (attIdx >= 0) {
  1237. final java.lang.String v = context.eatAttribute(attIdx);
  1238. state = 12;
  1239. eatText4(v);
  1240. continue outer;
  1241. }
  1242. state = 12;
  1243. continue outer;
  1244. }
  1245. super.enterElement(___uri, ___local, ___qname, __atts);
  1246. break;
  1247. }
  1248. }
  1249. private void eatText1(final java.lang.String value)
  1250. throws org.xml.sax.SAXException
  1251. {
  1252. try {
  1253. _CreatedDate = ((java.util.Calendar) com.sun.msv.datatype.xsd.DateTimeType.theInstance.createJavaObject(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value), null));
  1254. } catch (java.lang.Exception e) {
  1255. handleParseConversionException(e);
  1256. }
  1257. }
  1258. private void eatText2(final java.lang.String value)
  1259. throws org.xml.sax.SAXException
  1260. {
  1261. try {
  1262. _RecipeId = new java.lang.Long(((long) javax.xml.bind.DatatypeConverter.parseLong(com.sun.xml.bind.WhiteSpaceProcessor.collapse(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)))));
  1263. } catch (java.lang.Exception e) {
  1264. handleParseConversionException(e);
  1265. }
  1266. }
  1267. private void eatText3(final java.lang.String value)
  1268. throws org.xml.sax.SAXException
  1269. {
  1270. try {
  1271. _ModifiedDate = ((java.util.Calendar) com.sun.msv.datatype.xsd.DateTimeType.theInstance.createJavaObject(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value), null));
  1272. } catch (java.lang.Exception e) {
  1273. handleParseConversionException(e);
  1274. }
  1275. }
  1276. private void eatText4(final java.lang.String value)
  1277. throws org.xml.sax.SAXException
  1278. {
  1279. try {
  1280. _ServingSize = new java.lang.Integer(((int) javax.xml.bind.DatatypeConverter.parseInt(com.sun.xml.bind.WhiteSpaceProcessor.collapse(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)))));
  1281. } catch (java.lang.Exception e) {
  1282. handleParseConversionException(e);
  1283. }
  1284. }
  1285. public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  1286. throws org.xml.sax.SAXException
  1287. {
  1288. int attIdx;
  1289. outer:
  1290. while (true) {
  1291. switch (state) {
  1292. case 63 :
  1293. revertToParentFromLeaveElement(___uri, ___local, ___qname);
  1294. return ;
  1295. case 40 :
  1296. attIdx = context.getAttribute("", "accessLevel");
  1297. if (attIdx >= 0) {
  1298. context.consumeAttribute(attIdx);
  1299. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1300. return ;
  1301. }
  1302. attIdx = context.getAttribute("", "country");
  1303. if (attIdx >= 0) {
  1304. context.consumeAttribute(attIdx);
  1305. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1306. return ;
  1307. }
  1308. attIdx = context.getAttribute("", "createdDate");
  1309. if (attIdx >= 0) {
  1310. context.consumeAttribute(attIdx);
  1311. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1312. return ;
  1313. }
  1314. attIdx = context.getAttribute("", "language");
  1315. if (attIdx >= 0) {
  1316. context.consumeAttribute(attIdx);
  1317. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1318. return ;
  1319. }
  1320. attIdx = context.getAttribute("", "lastLoginDate");
  1321. if (attIdx >= 0) {
  1322. context.consumeAttribute(attIdx);
  1323. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1324. return ;
  1325. }
  1326. attIdx = context.getAttribute("", "login");
  1327. if (attIdx >= 0) {
  1328. context.consumeAttribute(attIdx);
  1329. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1330. return ;
  1331. }
  1332. attIdx = context.getAttribute("", "userId");
  1333. if (attIdx >= 0) {
  1334. context.consumeAttribute(attIdx);
  1335. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1336. return ;
  1337. }
  1338. break;
  1339. case 20 :
  1340. if (("source" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1341. context.popAttributes();
  1342. state = 21;
  1343. return ;
  1344. }
  1345. break;
  1346. case 54 :
  1347. state = 57;
  1348. continue outer;
  1349. case 41 :
  1350. if (("owner" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1351. context.popAttributes();
  1352. state = 42;
  1353. return ;
  1354. }
  1355. break;
  1356. case 28 :
  1357. attIdx = context.getAttribute("", "baseId");
  1358. if (attIdx >= 0) {
  1359. context.consumeAttribute(attIdx);
  1360. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1361. return ;
  1362. }
  1363. break;
  1364. case 47 :
  1365. if (("system" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1366. context.popAttributes();
  1367. state = 48;
  1368. return ;
  1369. }
  1370. break;
  1371. case 15 :
  1372. state = 18;
  1373. continue outer;
  1374. case 48 :
  1375. state = 51;
  1376. continue outer;
  1377. case 14 :
  1378. if (("name" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1379. context.popAttributes();
  1380. state = 15;
  1381. return ;
  1382. }
  1383. break;
  1384. case 23 :
  1385. if (("directions" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1386. context.popAttributes();
  1387. state = 24;
  1388. return ;
  1389. }
  1390. break;
  1391. case 37 :
  1392. attIdx = context.getAttribute("", "difficultyId");
  1393. if (attIdx >= 0) {
  1394. context.consumeAttribute(attIdx);
  1395. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1396. return ;
  1397. }
  1398. break;
  1399. case 17 :
  1400. if (("excerpt" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1401. context.popAttributes();
  1402. state = 18;
  1403. return ;
  1404. }
  1405. break;
  1406. case 44 :
  1407. if (("prep-time" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1408. context.popAttributes();
  1409. state = 45;
  1410. return ;
  1411. }
  1412. break;
  1413. case 36 :
  1414. state = 39;
  1415. continue outer;
  1416. case 38 :
  1417. if (("difficulty" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1418. context.popAttributes();
  1419. state = 39;
  1420. return ;
  1421. }
  1422. break;
  1423. case 31 :
  1424. attIdx = context.getAttribute("", "courseId");
  1425. if (attIdx >= 0) {
  1426. context.consumeAttribute(attIdx);
  1427. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1428. return ;
  1429. }
  1430. break;
  1431. case 62 :
  1432. if (("rating" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1433. context.popAttributes();
  1434. state = 63;
  1435. return ;
  1436. }
  1437. break;
  1438. case 49 :
  1439. attIdx = context.getAttribute("", "optional");
  1440. if (attIdx >= 0) {
  1441. context.consumeAttribute(attIdx);
  1442. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1443. return ;
  1444. }
  1445. attIdx = context.getAttribute("", "qualifier");
  1446. if (attIdx >= 0) {
  1447. context.consumeAttribute(attIdx);
  1448. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1449. return ;
  1450. }
  1451. attIdx = context.getAttribute("", "quantity");
  1452. if (attIdx >= 0) {
  1453. context.consumeAttribute(attIdx);
  1454. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1455. return ;
  1456. }
  1457. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromLeaveElement((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname)));
  1458. return ;
  1459. case 0 :
  1460. attIdx = context.getAttribute("", "createdDate");
  1461. if (attIdx >= 0) {
  1462. final java.lang.String v = context.eatAttribute(attIdx);
  1463. state = 3;
  1464. eatText1(v);
  1465. continue outer;
  1466. }
  1467. state = 3;
  1468. continue outer;
  1469. case 43 :
  1470. attIdx = context.getAttribute("", "prepTimeId");
  1471. if (attIdx >= 0) {
  1472. context.consumeAttribute(attIdx);
  1473. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1474. return ;
  1475. }
  1476. break;
  1477. case 30 :
  1478. state = 33;
  1479. continue outer;
  1480. case 42 :
  1481. state = 45;
  1482. continue outer;
  1483. case 34 :
  1484. attIdx = context.getAttribute("", "ethnicityId");
  1485. if (attIdx >= 0) {
  1486. context.consumeAttribute(attIdx);
  1487. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1488. return ;
  1489. }
  1490. break;
  1491. case 18 :
  1492. state = 21;
  1493. continue outer;
  1494. case 57 :
  1495. state = 60;
  1496. continue outer;
  1497. case 39 :
  1498. state = 42;
  1499. continue outer;
  1500. case 60 :
  1501. state = 63;
  1502. continue outer;
  1503. case 53 :
  1504. if (("related-recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1505. context.popAttributes();
  1506. state = 54;
  1507. return ;
  1508. }
  1509. break;
  1510. case 27 :
  1511. state = 30;
  1512. continue outer;
  1513. case 24 :
  1514. state = 27;
  1515. continue outer;
  1516. case 21 :
  1517. state = 24;
  1518. continue outer;
  1519. case 59 :
  1520. if (("comment" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1521. context.popAttributes();
  1522. state = 60;
  1523. return ;
  1524. }
  1525. break;
  1526. case 46 :
  1527. attIdx = context.getAttribute("", "systemId");
  1528. if (attIdx >= 0) {
  1529. context.consumeAttribute(attIdx);
  1530. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1531. return ;
  1532. }
  1533. break;
  1534. case 6 :
  1535. attIdx = context.getAttribute("", "recipeId");
  1536. if (attIdx >= 0) {
  1537. final java.lang.String v = context.eatAttribute(attIdx);
  1538. state = 9;
  1539. eatText2(v);
  1540. continue outer;
  1541. }
  1542. state = 9;
  1543. continue outer;
  1544. case 29 :
  1545. if (("base" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1546. context.popAttributes();
  1547. state = 30;
  1548. return ;
  1549. }
  1550. break;
  1551. case 50 :
  1552. if (("ingredient" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1553. context.popAttributes();
  1554. state = 51;
  1555. return ;
  1556. }
  1557. break;
  1558. case 61 :
  1559. attIdx = context.getAttribute("", "createdDate");
  1560. if (attIdx >= 0) {
  1561. context.consumeAttribute(attIdx);
  1562. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1563. return ;
  1564. }
  1565. attIdx = context.getAttribute("", "rating");
  1566. if (attIdx >= 0) {
  1567. context.consumeAttribute(attIdx);
  1568. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1569. return ;
  1570. }
  1571. attIdx = context.getAttribute("", "ratingId");
  1572. if (attIdx >= 0) {
  1573. context.consumeAttribute(attIdx);
  1574. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1575. return ;
  1576. }
  1577. attIdx = context.getAttribute("", "userId");
  1578. if (attIdx >= 0) {
  1579. context.consumeAttribute(attIdx);
  1580. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1581. return ;
  1582. }
  1583. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromLeaveElement((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname)));
  1584. return ;
  1585. case 26 :
  1586. if (("image" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1587. context.popAttributes();
  1588. state = 27;
  1589. return ;
  1590. }
  1591. break;
  1592. case 35 :
  1593. if (("ethnicity" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1594. context.popAttributes();
  1595. state = 36;
  1596. return ;
  1597. }
  1598. break;
  1599. case 32 :
  1600. if (("course" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1601. context.popAttributes();
  1602. state = 33;
  1603. return ;
  1604. }
  1605. break;
  1606. case 51 :
  1607. state = 54;
  1608. continue outer;
  1609. case 56 :
  1610. if (("step" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  1611. context.popAttributes();
  1612. state = 57;
  1613. return ;
  1614. }
  1615. break;
  1616. case 58 :
  1617. attIdx = context.getAttribute("", "commentId");
  1618. if (attIdx >= 0) {
  1619. context.consumeAttribute(attIdx);
  1620. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1621. return ;
  1622. }
  1623. attIdx = context.getAttribute("", "createdDate");
  1624. if (attIdx >= 0) {
  1625. context.consumeAttribute(attIdx);
  1626. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1627. return ;
  1628. }
  1629. attIdx = context.getAttribute("", "userId");
  1630. if (attIdx >= 0) {
  1631. context.consumeAttribute(attIdx);
  1632. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  1633. return ;
  1634. }
  1635. break;
  1636. case 3 :
  1637. attIdx = context.getAttribute("", "modifiedDate");
  1638. if (attIdx >= 0) {
  1639. final java.lang.String v = context.eatAttribute(attIdx);
  1640. state = 6;
  1641. eatText3(v);
  1642. continue outer;
  1643. }
  1644. state = 6;
  1645. continue outer;
  1646. case 33 :
  1647. state = 36;
  1648. continue outer;
  1649. case 9 :
  1650. attIdx = context.getAttribute("", "servingSize");
  1651. if (attIdx >= 0) {
  1652. final java.lang.String v = context.eatAttribute(attIdx);
  1653. state = 12;
  1654. eatText4(v);
  1655. continue outer;
  1656. }
  1657. state = 12;
  1658. continue outer;
  1659. }
  1660. super.leaveElement(___uri, ___local, ___qname);
  1661. break;
  1662. }
  1663. }
  1664. public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  1665. throws org.xml.sax.SAXException
  1666. {
  1667. int attIdx;
  1668. outer:
  1669. while (true) {
  1670. switch (state) {
  1671. case 63 :
  1672. revertToParentFromEnterAttribute(___uri, ___local, ___qname);
  1673. return ;
  1674. case 40 :
  1675. if (("accessLevel" == ___local)&&("" == ___uri)) {
  1676. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname));
  1677. return ;
  1678. }
  1679. if (("country" == ___local)&&("" == ___uri)) {
  1680. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname));
  1681. return ;
  1682. }
  1683. if (("createdDate" == ___local)&&("" == ___uri)) {
  1684. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname));
  1685. return ;
  1686. }
  1687. if (("language" == ___local)&&("" == ___uri)) {
  1688. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname));
  1689. return ;
  1690. }
  1691. if (("lastLoginDate" == ___local)&&("" == ___uri)) {
  1692. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname));
  1693. return ;
  1694. }
  1695. if (("login" == ___local)&&("" == ___uri)) {
  1696. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname));
  1697. return ;
  1698. }
  1699. if (("userId" == ___local)&&("" == ___uri)) {
  1700. _Owner = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 41, ___uri, ___local, ___qname));
  1701. return ;
  1702. }
  1703. break;
  1704. case 54 :
  1705. state = 57;
  1706. continue outer;
  1707. case 28 :
  1708. if (("baseId" == ___local)&&("" == ___uri)) {
  1709. _Base = ((magoffin.matt.ieat.domain.impl.BaseImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.BaseImpl.class), 29, ___uri, ___local, ___qname));
  1710. return ;
  1711. }
  1712. break;
  1713. case 15 :
  1714. state = 18;
  1715. continue outer;
  1716. case 48 :
  1717. state = 51;
  1718. continue outer;
  1719. case 37 :
  1720. if (("difficultyId" == ___local)&&("" == ___uri)) {
  1721. _Difficulty = ((magoffin.matt.ieat.domain.impl.DifficultyImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.DifficultyImpl.class), 38, ___uri, ___local, ___qname));
  1722. return ;
  1723. }
  1724. break;
  1725. case 36 :
  1726. state = 39;
  1727. continue outer;
  1728. case 31 :
  1729. if (("courseId" == ___local)&&("" == ___uri)) {
  1730. _Course = ((magoffin.matt.ieat.domain.impl.CourseImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.CourseImpl.class), 32, ___uri, ___local, ___qname));
  1731. return ;
  1732. }
  1733. break;
  1734. case 49 :
  1735. if (("optional" == ___local)&&("" == ___uri)) {
  1736. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname)));
  1737. return ;
  1738. }
  1739. if (("qualifier" == ___local)&&("" == ___uri)) {
  1740. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname)));
  1741. return ;
  1742. }
  1743. if (("quantity" == ___local)&&("" == ___uri)) {
  1744. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname)));
  1745. return ;
  1746. }
  1747. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname)));
  1748. return ;
  1749. case 0 :
  1750. if (("createdDate" == ___local)&&("" == ___uri)) {
  1751. state = 1;
  1752. return ;
  1753. }
  1754. state = 3;
  1755. continue outer;
  1756. case 43 :
  1757. if (("prepTimeId" == ___local)&&("" == ___uri)) {
  1758. _PrepTime = ((magoffin.matt.ieat.domain.impl.PrepTimeImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.PrepTimeImpl.class), 44, ___uri, ___local, ___qname));
  1759. return ;
  1760. }
  1761. break;
  1762. case 30 :
  1763. state = 33;
  1764. continue outer;
  1765. case 42 :
  1766. state = 45;
  1767. continue outer;
  1768. case 34 :
  1769. if (("ethnicityId" == ___local)&&("" == ___uri)) {
  1770. _Ethnicity = ((magoffin.matt.ieat.domain.impl.EthnicityImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.EthnicityImpl.class), 35, ___uri, ___local, ___qname));
  1771. return ;
  1772. }
  1773. break;
  1774. case 18 :
  1775. state = 21;
  1776. continue outer;
  1777. case 57 :
  1778. state = 60;
  1779. continue outer;
  1780. case 39 :
  1781. state = 42;
  1782. continue outer;
  1783. case 60 :
  1784. state = 63;
  1785. continue outer;
  1786. case 27 :
  1787. state = 30;
  1788. continue outer;
  1789. case 24 :
  1790. state = 27;
  1791. continue outer;
  1792. case 21 :
  1793. state = 24;
  1794. continue outer;
  1795. case 46 :
  1796. if (("systemId" == ___local)&&("" == ___uri)) {
  1797. _System = ((magoffin.matt.ieat.domain.impl.SystemImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.SystemImpl.class), 47, ___uri, ___local, ___qname));
  1798. return ;
  1799. }
  1800. break;
  1801. case 6 :
  1802. if (("recipeId" == ___local)&&("" == ___uri)) {
  1803. state = 7;
  1804. return ;
  1805. }
  1806. state = 9;
  1807. continue outer;
  1808. case 61 :
  1809. if (("createdDate" == ___local)&&("" == ___uri)) {
  1810. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname)));
  1811. return ;
  1812. }
  1813. if (("rating" == ___local)&&("" == ___uri)) {
  1814. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname)));
  1815. return ;
  1816. }
  1817. if (("ratingId" == ___local)&&("" == ___uri)) {
  1818. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname)));
  1819. return ;
  1820. }
  1821. if (("userId" == ___local)&&("" == ___uri)) {
  1822. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname)));
  1823. return ;
  1824. }
  1825. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname)));
  1826. return ;
  1827. case 51 :
  1828. state = 54;
  1829. continue outer;
  1830. case 58 :
  1831. if (("commentId" == ___local)&&("" == ___uri)) {
  1832. _getComment().add(((magoffin.matt.ieat.domain.impl.RecipeCommentImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeCommentImpl.class), 59, ___uri, ___local, ___qname)));
  1833. return ;
  1834. }
  1835. if (("createdDate" == ___local)&&("" == ___uri)) {
  1836. _getComment().add(((magoffin.matt.ieat.domain.impl.RecipeCommentImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeCommentImpl.class), 59, ___uri, ___local, ___qname)));
  1837. return ;
  1838. }
  1839. if (("userId" == ___local)&&("" == ___uri)) {
  1840. _getComment().add(((magoffin.matt.ieat.domain.impl.RecipeCommentImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeCommentImpl.class), 59, ___uri, ___local, ___qname)));
  1841. return ;
  1842. }
  1843. break;
  1844. case 3 :
  1845. if (("modifiedDate" == ___local)&&("" == ___uri)) {
  1846. state = 4;
  1847. return ;
  1848. }
  1849. state = 6;
  1850. continue outer;
  1851. case 33 :
  1852. state = 36;
  1853. continue outer;
  1854. case 9 :
  1855. if (("servingSize" == ___local)&&("" == ___uri)) {
  1856. state = 10;
  1857. return ;
  1858. }
  1859. state = 12;
  1860. continue outer;
  1861. }
  1862. super.enterAttribute(___uri, ___local, ___qname);
  1863. break;
  1864. }
  1865. }
  1866. public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  1867. throws org.xml.sax.SAXException
  1868. {
  1869. int attIdx;
  1870. outer:
  1871. while (true) {
  1872. switch (state) {
  1873. case 63 :
  1874. revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
  1875. return ;
  1876. case 40 :
  1877. attIdx = context.getAttribute("", "accessLevel");
  1878. if (attIdx >= 0) {
  1879. context.consumeAttribute(attIdx);
  1880. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1881. return ;
  1882. }
  1883. attIdx = context.getAttribute("", "country");
  1884. if (attIdx >= 0) {
  1885. context.consumeAttribute(attIdx);
  1886. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1887. return ;
  1888. }
  1889. attIdx = context.getAttribute("", "createdDate");
  1890. if (attIdx >= 0) {
  1891. context.consumeAttribute(attIdx);
  1892. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1893. return ;
  1894. }
  1895. attIdx = context.getAttribute("", "language");
  1896. if (attIdx >= 0) {
  1897. context.consumeAttribute(attIdx);
  1898. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1899. return ;
  1900. }
  1901. attIdx = context.getAttribute("", "lastLoginDate");
  1902. if (attIdx >= 0) {
  1903. context.consumeAttribute(attIdx);
  1904. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1905. return ;
  1906. }
  1907. attIdx = context.getAttribute("", "login");
  1908. if (attIdx >= 0) {
  1909. context.consumeAttribute(attIdx);
  1910. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1911. return ;
  1912. }
  1913. attIdx = context.getAttribute("", "userId");
  1914. if (attIdx >= 0) {
  1915. context.consumeAttribute(attIdx);
  1916. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1917. return ;
  1918. }
  1919. break;
  1920. case 54 :
  1921. state = 57;
  1922. continue outer;
  1923. case 28 :
  1924. attIdx = context.getAttribute("", "baseId");
  1925. if (attIdx >= 0) {
  1926. context.consumeAttribute(attIdx);
  1927. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1928. return ;
  1929. }
  1930. break;
  1931. case 15 :
  1932. state = 18;
  1933. continue outer;
  1934. case 5 :
  1935. if (("modifiedDate" == ___local)&&("" == ___uri)) {
  1936. state = 6;
  1937. return ;
  1938. }
  1939. break;
  1940. case 48 :
  1941. state = 51;
  1942. continue outer;
  1943. case 8 :
  1944. if (("recipeId" == ___local)&&("" == ___uri)) {
  1945. state = 9;
  1946. return ;
  1947. }
  1948. break;
  1949. case 37 :
  1950. attIdx = context.getAttribute("", "difficultyId");
  1951. if (attIdx >= 0) {
  1952. context.consumeAttribute(attIdx);
  1953. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1954. return ;
  1955. }
  1956. break;
  1957. case 36 :
  1958. state = 39;
  1959. continue outer;
  1960. case 31 :
  1961. attIdx = context.getAttribute("", "courseId");
  1962. if (attIdx >= 0) {
  1963. context.consumeAttribute(attIdx);
  1964. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1965. return ;
  1966. }
  1967. break;
  1968. case 49 :
  1969. attIdx = context.getAttribute("", "optional");
  1970. if (attIdx >= 0) {
  1971. context.consumeAttribute(attIdx);
  1972. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1973. return ;
  1974. }
  1975. attIdx = context.getAttribute("", "qualifier");
  1976. if (attIdx >= 0) {
  1977. context.consumeAttribute(attIdx);
  1978. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1979. return ;
  1980. }
  1981. attIdx = context.getAttribute("", "quantity");
  1982. if (attIdx >= 0) {
  1983. context.consumeAttribute(attIdx);
  1984. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1985. return ;
  1986. }
  1987. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromLeaveAttribute((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, ___uri, ___local, ___qname)));
  1988. return ;
  1989. case 0 :
  1990. attIdx = context.getAttribute("", "createdDate");
  1991. if (attIdx >= 0) {
  1992. final java.lang.String v = context.eatAttribute(attIdx);
  1993. state = 3;
  1994. eatText1(v);
  1995. continue outer;
  1996. }
  1997. state = 3;
  1998. continue outer;
  1999. case 43 :
  2000. attIdx = context.getAttribute("", "prepTimeId");
  2001. if (attIdx >= 0) {
  2002. context.consumeAttribute(attIdx);
  2003. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2004. return ;
  2005. }
  2006. break;
  2007. case 30 :
  2008. state = 33;
  2009. continue outer;
  2010. case 42 :
  2011. state = 45;
  2012. continue outer;
  2013. case 34 :
  2014. attIdx = context.getAttribute("", "ethnicityId");
  2015. if (attIdx >= 0) {
  2016. context.consumeAttribute(attIdx);
  2017. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2018. return ;
  2019. }
  2020. break;
  2021. case 18 :
  2022. state = 21;
  2023. continue outer;
  2024. case 57 :
  2025. state = 60;
  2026. continue outer;
  2027. case 39 :
  2028. state = 42;
  2029. continue outer;
  2030. case 60 :
  2031. state = 63;
  2032. continue outer;
  2033. case 27 :
  2034. state = 30;
  2035. continue outer;
  2036. case 24 :
  2037. state = 27;
  2038. continue outer;
  2039. case 21 :
  2040. state = 24;
  2041. continue outer;
  2042. case 46 :
  2043. attIdx = context.getAttribute("", "systemId");
  2044. if (attIdx >= 0) {
  2045. context.consumeAttribute(attIdx);
  2046. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2047. return ;
  2048. }
  2049. break;
  2050. case 6 :
  2051. attIdx = context.getAttribute("", "recipeId");
  2052. if (attIdx >= 0) {
  2053. final java.lang.String v = context.eatAttribute(attIdx);
  2054. state = 9;
  2055. eatText2(v);
  2056. continue outer;
  2057. }
  2058. state = 9;
  2059. continue outer;
  2060. case 61 :
  2061. attIdx = context.getAttribute("", "createdDate");
  2062. if (attIdx >= 0) {
  2063. context.consumeAttribute(attIdx);
  2064. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2065. return ;
  2066. }
  2067. attIdx = context.getAttribute("", "rating");
  2068. if (attIdx >= 0) {
  2069. context.consumeAttribute(attIdx);
  2070. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2071. return ;
  2072. }
  2073. attIdx = context.getAttribute("", "ratingId");
  2074. if (attIdx >= 0) {
  2075. context.consumeAttribute(attIdx);
  2076. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2077. return ;
  2078. }
  2079. attIdx = context.getAttribute("", "userId");
  2080. if (attIdx >= 0) {
  2081. context.consumeAttribute(attIdx);
  2082. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2083. return ;
  2084. }
  2085. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromLeaveAttribute((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, ___uri, ___local, ___qname)));
  2086. return ;
  2087. case 51 :
  2088. state = 54;
  2089. continue outer;
  2090. case 58 :
  2091. attIdx = context.getAttribute("", "commentId");
  2092. if (attIdx >= 0) {
  2093. context.consumeAttribute(attIdx);
  2094. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2095. return ;
  2096. }
  2097. attIdx = context.getAttribute("", "createdDate");
  2098. if (attIdx >= 0) {
  2099. context.consumeAttribute(attIdx);
  2100. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2101. return ;
  2102. }
  2103. attIdx = context.getAttribute("", "userId");
  2104. if (attIdx >= 0) {
  2105. context.consumeAttribute(attIdx);
  2106. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  2107. return ;
  2108. }
  2109. break;
  2110. case 11 :
  2111. if (("servingSize" == ___local)&&("" == ___uri)) {
  2112. state = 12;
  2113. return ;
  2114. }
  2115. break;
  2116. case 3 :
  2117. attIdx = context.getAttribute("", "modifiedDate");
  2118. if (attIdx >= 0) {
  2119. final java.lang.String v = context.eatAttribute(attIdx);
  2120. state = 6;
  2121. eatText3(v);
  2122. continue outer;
  2123. }
  2124. state = 6;
  2125. continue outer;
  2126. case 33 :
  2127. state = 36;
  2128. continue outer;
  2129. case 9 :
  2130. attIdx = context.getAttribute("", "servingSize");
  2131. if (attIdx >= 0) {
  2132. final java.lang.String v = context.eatAttribute(attIdx);
  2133. state = 12;
  2134. eatText4(v);
  2135. continue outer;
  2136. }
  2137. state = 12;
  2138. continue outer;
  2139. case 2 :
  2140. if (("createdDate" == ___local)&&("" == ___uri)) {
  2141. state = 3;
  2142. return ;
  2143. }
  2144. break;
  2145. }
  2146. super.leaveAttribute(___uri, ___local, ___qname);
  2147. break;
  2148. }
  2149. }
  2150. public void handleText(final java.lang.String value)
  2151. throws org.xml.sax.SAXException
  2152. {
  2153. int attIdx;
  2154. outer:
  2155. while (true) {
  2156. try {
  2157. switch (state) {
  2158. case 63 :
  2159. revertToParentFromText(value);
  2160. return ;
  2161. case 40 :
  2162. attIdx = context.getAttribute("", "accessLevel");
  2163. if (attIdx >= 0) {
  2164. context.consumeAttribute(attIdx);
  2165. context.getCurrentHandler().text(value);
  2166. return ;
  2167. }
  2168. attIdx = context.getAttribute("", "country");
  2169. if (attIdx >= 0) {
  2170. context.consumeAttribute(attIdx);
  2171. context.getCurrentHandler().text(value);
  2172. return ;
  2173. }
  2174. attIdx = context.getAttribute("", "createdDate");
  2175. if (attIdx >= 0) {
  2176. context.consumeAttribute(attIdx);
  2177. context.getCurrentHandler().text(value);
  2178. return ;
  2179. }
  2180. attIdx = context.getAttribute("", "language");
  2181. if (attIdx >= 0) {
  2182. context.consumeAttribute(attIdx);
  2183. context.getCurrentHandler().text(value);
  2184. return ;
  2185. }
  2186. attIdx = context.getAttribute("", "lastLoginDate");
  2187. if (attIdx >= 0) {
  2188. context.consumeAttribute(attIdx);
  2189. context.getCurrentHandler().text(value);
  2190. return ;
  2191. }
  2192. attIdx = context.getAttribute("", "login");
  2193. if (attIdx >= 0) {
  2194. context.consumeAttribute(attIdx);
  2195. context.getCurrentHandler().text(value);
  2196. return ;
  2197. }
  2198. attIdx = context.getAttribute("", "userId");
  2199. if (attIdx >= 0) {
  2200. context.consumeAttribute(attIdx);
  2201. context.getCurrentHandler().text(value);
  2202. return ;
  2203. }
  2204. break;
  2205. case 54 :
  2206. state = 57;
  2207. continue outer;
  2208. case 28 :
  2209. attIdx = context.getAttribute("", "baseId");
  2210. if (attIdx >= 0) {
  2211. context.consumeAttribute(attIdx);
  2212. context.getCurrentHandler().text(value);
  2213. return ;
  2214. }
  2215. _Base = ((magoffin.matt.ieat.domain.impl.BaseImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.BaseImpl.class), 29, value));
  2216. return ;
  2217. case 15 :
  2218. state = 18;
  2219. continue outer;
  2220. case 16 :
  2221. state = 17;
  2222. eatText5(value);
  2223. return ;
  2224. case 25 :
  2225. state = 26;
  2226. eatText6(value);
  2227. return ;
  2228. case 48 :
  2229. state = 51;
  2230. continue outer;
  2231. case 37 :
  2232. attIdx = context.getAttribute("", "difficultyId");
  2233. if (attIdx >= 0) {
  2234. context.consumeAttribute(attIdx);
  2235. context.getCurrentHandler().text(value);
  2236. return ;
  2237. }
  2238. _Difficulty = ((magoffin.matt.ieat.domain.impl.DifficultyImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.DifficultyImpl.class), 38, value));
  2239. return ;
  2240. case 13 :
  2241. state = 14;
  2242. eatText7(value);
  2243. return ;
  2244. case 19 :
  2245. state = 20;
  2246. eatText8(value);
  2247. return ;
  2248. case 36 :
  2249. state = 39;
  2250. continue outer;
  2251. case 31 :
  2252. attIdx = context.getAttribute("", "courseId");
  2253. if (attIdx >= 0) {
  2254. context.consumeAttribute(attIdx);
  2255. context.getCurrentHandler().text(value);
  2256. return ;
  2257. }
  2258. _Course = ((magoffin.matt.ieat.domain.impl.CourseImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.CourseImpl.class), 32, value));
  2259. return ;
  2260. case 1 :
  2261. state = 2;
  2262. eatText1(value);
  2263. return ;
  2264. case 49 :
  2265. attIdx = context.getAttribute("", "optional");
  2266. if (attIdx >= 0) {
  2267. context.consumeAttribute(attIdx);
  2268. context.getCurrentHandler().text(value);
  2269. return ;
  2270. }
  2271. attIdx = context.getAttribute("", "qualifier");
  2272. if (attIdx >= 0) {
  2273. context.consumeAttribute(attIdx);
  2274. context.getCurrentHandler().text(value);
  2275. return ;
  2276. }
  2277. attIdx = context.getAttribute("", "quantity");
  2278. if (attIdx >= 0) {
  2279. context.consumeAttribute(attIdx);
  2280. context.getCurrentHandler().text(value);
  2281. return ;
  2282. }
  2283. _getIngredient().add(((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.RecipeIngredientImpl.class), 50, value)));
  2284. return ;
  2285. case 0 :
  2286. attIdx = context.getAttribute("", "createdDate");
  2287. if (attIdx >= 0) {
  2288. final java.lang.String v = context.eatAttribute(attIdx);
  2289. state = 3;
  2290. eatText1(v);
  2291. continue outer;
  2292. }
  2293. state = 3;
  2294. continue outer;
  2295. case 43 :
  2296. attIdx = context.getAttribute("", "prepTimeId");
  2297. if (attIdx >= 0) {
  2298. context.consumeAttribute(attIdx);
  2299. context.getCurrentHandler().text(value);
  2300. return ;
  2301. }
  2302. _PrepTime = ((magoffin.matt.ieat.domain.impl.PrepTimeImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.PrepTimeImpl.class), 44, value));
  2303. return ;
  2304. case 30 :
  2305. state = 33;
  2306. continue outer;
  2307. case 42 :
  2308. state = 45;
  2309. continue outer;
  2310. case 34 :
  2311. attIdx = context.getAttribute("", "ethnicityId");
  2312. if (attIdx >= 0) {
  2313. context.consumeAttribute(attIdx);
  2314. context.getCurrentHandler().text(value);
  2315. return ;
  2316. }
  2317. _Ethnicity = ((magoffin.matt.ieat.domain.impl.EthnicityImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.EthnicityImpl.class), 35, value));
  2318. return ;
  2319. case 7 :
  2320. state = 8;
  2321. eatText2(value);
  2322. return ;
  2323. case 18 :
  2324. state = 21;
  2325. continue outer;
  2326. case 57 :
  2327. state = 60;
  2328. continue outer;
  2329. case 10 :
  2330. state = 11;
  2331. eatText4(value);
  2332. return ;
  2333. case 39 :
  2334. state = 42;
  2335. continue outer;
  2336. case 60 :
  2337. state = 63;
  2338. continue outer;
  2339. case 27 :
  2340. state = 30;
  2341. continue outer;
  2342. case 24 :
  2343. state = 27;
  2344. continue outer;
  2345. case 21 :
  2346. state = 24;
  2347. continue outer;
  2348. case 46 :
  2349. attIdx = context.getAttribute("", "systemId");
  2350. if (attIdx >= 0) {
  2351. context.consumeAttribute(attIdx);
  2352. context.getCurrentHandler().text(value);
  2353. return ;
  2354. }
  2355. _System = ((magoffin.matt.ieat.domain.impl.SystemImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.SystemImpl.class), 47, value));
  2356. return ;
  2357. case 6 :
  2358. attIdx = context.getAttribute("", "recipeId");
  2359. if (attIdx >= 0) {
  2360. final java.lang.String v = context.eatAttribute(attIdx);
  2361. state = 9;
  2362. eatText2(v);
  2363. continue outer;
  2364. }
  2365. state = 9;
  2366. continue outer;
  2367. case 61 :
  2368. attIdx = context.getAttribute("", "createdDate");
  2369. if (attIdx >= 0) {
  2370. context.consumeAttribute(attIdx);
  2371. context.getCurrentHandler().text(value);
  2372. return ;
  2373. }
  2374. attIdx = context.getAttribute("", "rating");
  2375. if (attIdx >= 0) {
  2376. context.consumeAttribute(attIdx);
  2377. context.getCurrentHandler().text(value);
  2378. return ;
  2379. }
  2380. attIdx = context.getAttribute("", "ratingId");
  2381. if (attIdx >= 0) {
  2382. context.consumeAttribute(attIdx);
  2383. context.getCurrentHandler().text(value);
  2384. return ;
  2385. }
  2386. attIdx = context.getAttribute("", "userId");
  2387. if (attIdx >= 0) {
  2388. context.consumeAttribute(attIdx);
  2389. context.getCurrentHandler().text(value);
  2390. return ;
  2391. }
  2392. _getRating().add(((magoffin.matt.ieat.domain.impl.RecipeRatingImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.RecipeRatingImpl.class), 62, value)));
  2393. return ;
  2394. case 22 :
  2395. state = 23;
  2396. eatText9(value);
  2397. return ;
  2398. case 4 :
  2399. state = 5;
  2400. eatText3(value);
  2401. return ;
  2402. case 51 :
  2403. state = 54;
  2404. continue outer;
  2405. case 58 :
  2406. attIdx = context.getAttribute("", "commentId");
  2407. if (attIdx >= 0) {
  2408. context.consumeAttribute(attIdx);
  2409. context.getCurrentHandler().text(value);
  2410. return ;
  2411. }
  2412. attIdx = context.getAttribute("", "createdDate");
  2413. if (attIdx >= 0) {
  2414. context.consumeAttribute(attIdx);
  2415. context.getCurrentHandler().text(value);
  2416. return ;
  2417. }
  2418. attIdx = context.getAttribute("", "userId");
  2419. if (attIdx >= 0) {
  2420. context.consumeAttribute(attIdx);
  2421. context.getCurrentHandler().text(value);
  2422. return ;
  2423. }
  2424. _getComment().add(((magoffin.matt.ieat.domain.impl.RecipeCommentImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.RecipeCommentImpl.class), 59, value)));
  2425. return ;
  2426. case 3 :
  2427. attIdx = context.getAttribute("", "modifiedDate");
  2428. if (attIdx >= 0) {
  2429. final java.lang.String v = context.eatAttribute(attIdx);
  2430. state = 6;
  2431. eatText3(v);
  2432. continue outer;
  2433. }
  2434. state = 6;
  2435. continue outer;
  2436. case 33 :
  2437. state = 36;
  2438. continue outer;
  2439. case 9 :
  2440. attIdx = context.getAttribute("", "servingSize");
  2441. if (attIdx >= 0) {
  2442. final java.lang.String v = context.eatAttribute(attIdx);
  2443. state = 12;
  2444. eatText4(v);
  2445. continue outer;
  2446. }
  2447. state = 12;
  2448. continue outer;
  2449. case 55 :
  2450. _getStep().add(((magoffin.matt.ieat.domain.impl.RecipeStepImpl) spawnChildFromText((magoffin.matt.ieat.domain.impl.RecipeStepImpl.class), 56, value)));
  2451. return ;
  2452. }
  2453. } catch (java.lang.RuntimeException e) {
  2454. handleUnexpectedTextException(value, e);
  2455. }
  2456. break;
  2457. }
  2458. }
  2459. private void eatText5(final java.lang.String value)
  2460. throws org.xml.sax.SAXException
  2461. {
  2462. try {
  2463. _Excerpt = value;
  2464. } catch (java.lang.Exception e) {
  2465. handleParseConversionException(e);
  2466. }
  2467. }
  2468. private void eatText6(final java.lang.String value)
  2469. throws org.xml.sax.SAXException
  2470. {
  2471. try {
  2472. _Image = value;
  2473. } catch (java.lang.Exception e) {
  2474. handleParseConversionException(e);
  2475. }
  2476. }
  2477. private void eatText7(final java.lang.String value)
  2478. throws org.xml.sax.SAXException
  2479. {
  2480. try {
  2481. _Name = value;
  2482. } catch (java.lang.Exception e) {
  2483. handleParseConversionException(e);
  2484. }
  2485. }
  2486. private void eatText8(final java.lang.String value)
  2487. throws org.xml.sax.SAXException
  2488. {
  2489. try {
  2490. _Source = value;
  2491. } catch (java.lang.Exception e) {
  2492. handleParseConversionException(e);
  2493. }
  2494. }
  2495. private void eatText9(final java.lang.String value)
  2496. throws org.xml.sax.SAXException
  2497. {
  2498. try {
  2499. _Directions = value;
  2500. } catch (java.lang.Exception e) {
  2501. handleParseConversionException(e);
  2502. }
  2503. }
  2504. }
  2505. }