UiEditImpl.java 71 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368
  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 UiEditImpl
  9. extends magoffin.matt.ieat.domain.impl.UiBaseImpl
  10. implements magoffin.matt.ieat.domain.UiEdit, 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
  11. {
  12. private final static long serialVersionUID = 200905041L;
  13. protected boolean has_Refresh;
  14. protected boolean _Refresh;
  15. protected magoffin.matt.ieat.domain.User _User;
  16. protected magoffin.matt.ieat.domain.MealRecipe _MealRecipe;
  17. protected magoffin.matt.ieat.domain.Ingredient _Ingredient;
  18. protected magoffin.matt.ieat.domain.Recipe _Recipe;
  19. protected magoffin.matt.ieat.domain.Meal _Meal;
  20. protected boolean has_IgnoreWarnings;
  21. protected boolean _IgnoreWarnings;
  22. protected magoffin.matt.ieat.domain.UiSearchResults _SearchResults;
  23. public final static java.lang.Class version = (magoffin.matt.ieat.domain.impl.JAXBVersion.class);
  24. private static com.sun.msv.grammar.Grammar schemaFragment;
  25. private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
  26. return (magoffin.matt.ieat.domain.UiEdit.class);
  27. }
  28. public boolean isRefresh() {
  29. if (!has_Refresh) {
  30. return javax.xml.bind.DatatypeConverter.parseBoolean(com.sun.xml.bind.DatatypeConverterImpl.installHook("false"));
  31. } else {
  32. return _Refresh;
  33. }
  34. }
  35. public void setRefresh(boolean value) {
  36. _Refresh = value;
  37. has_Refresh = true;
  38. }
  39. public magoffin.matt.ieat.domain.User getUser() {
  40. return _User;
  41. }
  42. public void setUser(magoffin.matt.ieat.domain.User value) {
  43. _User = value;
  44. }
  45. public magoffin.matt.ieat.domain.MealRecipe getMealRecipe() {
  46. return _MealRecipe;
  47. }
  48. public void setMealRecipe(magoffin.matt.ieat.domain.MealRecipe value) {
  49. _MealRecipe = value;
  50. }
  51. public magoffin.matt.ieat.domain.Ingredient getIngredient() {
  52. return _Ingredient;
  53. }
  54. public void setIngredient(magoffin.matt.ieat.domain.Ingredient value) {
  55. _Ingredient = value;
  56. }
  57. public magoffin.matt.ieat.domain.Recipe getRecipe() {
  58. return _Recipe;
  59. }
  60. public void setRecipe(magoffin.matt.ieat.domain.Recipe value) {
  61. _Recipe = value;
  62. }
  63. public magoffin.matt.ieat.domain.Meal getMeal() {
  64. return _Meal;
  65. }
  66. public void setMeal(magoffin.matt.ieat.domain.Meal value) {
  67. _Meal = value;
  68. }
  69. public boolean isIgnoreWarnings() {
  70. if (!has_IgnoreWarnings) {
  71. return javax.xml.bind.DatatypeConverter.parseBoolean(com.sun.xml.bind.DatatypeConverterImpl.installHook("false"));
  72. } else {
  73. return _IgnoreWarnings;
  74. }
  75. }
  76. public void setIgnoreWarnings(boolean value) {
  77. _IgnoreWarnings = value;
  78. has_IgnoreWarnings = true;
  79. }
  80. public magoffin.matt.ieat.domain.UiSearchResults getSearchResults() {
  81. return _SearchResults;
  82. }
  83. public void setSearchResults(magoffin.matt.ieat.domain.UiSearchResults value) {
  84. _SearchResults = value;
  85. }
  86. public magoffin.matt.ieat.domain.impl.runtime.UnmarshallingEventHandler createUnmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  87. return new magoffin.matt.ieat.domain.impl.UiEditImpl.Unmarshaller(context);
  88. }
  89. public void serializeBody(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  90. throws org.xml.sax.SAXException
  91. {
  92. super.serializeBody(context);
  93. if (_Ingredient!= null) {
  94. context.startElement("http://msqr.us/xsd/ieat", "ingredient");
  95. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Ingredient), "Ingredient");
  96. context.endNamespaceDecls();
  97. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Ingredient), "Ingredient");
  98. context.endAttributes();
  99. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Ingredient), "Ingredient");
  100. context.endElement();
  101. }
  102. if (_Recipe!= null) {
  103. context.startElement("http://msqr.us/xsd/ieat", "recipe");
  104. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Recipe), "Recipe");
  105. context.endNamespaceDecls();
  106. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Recipe), "Recipe");
  107. context.endAttributes();
  108. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Recipe), "Recipe");
  109. context.endElement();
  110. }
  111. if (_User!= null) {
  112. context.startElement("http://msqr.us/xsd/ieat", "user");
  113. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _User), "User");
  114. context.endNamespaceDecls();
  115. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _User), "User");
  116. context.endAttributes();
  117. context.childAsBody(((com.sun.xml.bind.JAXBObject) _User), "User");
  118. context.endElement();
  119. }
  120. if (_Meal!= null) {
  121. context.startElement("http://msqr.us/xsd/ieat", "meal");
  122. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Meal), "Meal");
  123. context.endNamespaceDecls();
  124. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Meal), "Meal");
  125. context.endAttributes();
  126. context.childAsBody(((com.sun.xml.bind.JAXBObject) _Meal), "Meal");
  127. context.endElement();
  128. }
  129. if (_MealRecipe!= null) {
  130. context.startElement("http://msqr.us/xsd/ieat", "meal-recipe");
  131. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _MealRecipe), "MealRecipe");
  132. context.endNamespaceDecls();
  133. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _MealRecipe), "MealRecipe");
  134. context.endAttributes();
  135. context.childAsBody(((com.sun.xml.bind.JAXBObject) _MealRecipe), "MealRecipe");
  136. context.endElement();
  137. }
  138. if (_SearchResults!= null) {
  139. context.startElement("http://msqr.us/xsd/ieat", "search-results");
  140. context.childAsURIs(((com.sun.xml.bind.JAXBObject) _SearchResults), "SearchResults");
  141. context.endNamespaceDecls();
  142. context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _SearchResults), "SearchResults");
  143. context.endAttributes();
  144. context.childAsBody(((com.sun.xml.bind.JAXBObject) _SearchResults), "SearchResults");
  145. context.endElement();
  146. }
  147. }
  148. public void serializeAttributes(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  149. throws org.xml.sax.SAXException
  150. {
  151. if (has_IgnoreWarnings) {
  152. context.startAttribute("", "ignoreWarnings");
  153. try {
  154. context.text(javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _IgnoreWarnings)), "IgnoreWarnings");
  155. } catch (java.lang.Exception e) {
  156. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  157. }
  158. context.endAttribute();
  159. }
  160. if (has_Refresh) {
  161. context.startAttribute("", "refresh");
  162. try {
  163. context.text(javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _Refresh)), "Refresh");
  164. } catch (java.lang.Exception e) {
  165. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  166. }
  167. context.endAttribute();
  168. }
  169. super.serializeAttributes(context);
  170. }
  171. public void serializeURIs(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  172. throws org.xml.sax.SAXException
  173. {
  174. super.serializeURIs(context);
  175. }
  176. public java.lang.Class getPrimaryInterface() {
  177. return (magoffin.matt.ieat.domain.UiEdit.class);
  178. }
  179. public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
  180. if (schemaFragment == null) {
  181. schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
  182. "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
  183. +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
  184. +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
  185. +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
  186. +"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000pp"
  187. +"sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
  188. +"xq\u0000~\u0000\u0001ppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
  189. +"\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun."
  190. +"msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttribut"
  191. +"esL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001"
  192. +"Z\u0000\u0005valuexp\u0000p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\rppsr\u0000 com.sun.msv.gramma"
  193. +"r.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000"
  194. +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u0014psr\u0000 com.sun.msv.grammar.Attri"
  195. +"buteExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0010xq\u0000~\u0000\u0003q\u0000~\u0000\u0014psr"
  196. +"\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
  197. +"\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\u0013\u0001q\u0000~\u0000\u001esr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000"
  198. +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000co"
  199. +"m.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000"
  200. +"~\u0000\u0003q\u0000~\u0000\u001fq\u0000~\u0000$sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
  201. +"\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000&xq\u0000~"
  202. +"\u0000!t\u0000$magoffin.matt.ieat.domain.Ingredientt\u0000+http://java.sun."
  203. +"com/jaxb/xjc/dummy-elementssq\u0000~\u0000\rppsq\u0000~\u0000\u001bq\u0000~\u0000\u0014psr\u0000\u001bcom.sun.m"
  204. +"sv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/D"
  205. +"atatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair"
  206. +";xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr"
  207. +"\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%c"
  208. +"om.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.m"
  209. +"sv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000"
  210. +"&L\u0000\btypeNameq\u0000~\u0000&L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/W"
  211. +"hiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005Q"
  212. +"Namesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collaps"
  213. +"e\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor"
  214. +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpre"
  215. +"ssion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB"
  216. +"\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000&L\u0000\fnamespaceURIq\u0000~\u0000&xpq\u0000~\u00007q\u0000~\u00006sq\u0000~\u0000"
  217. +"%t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000$sq\u0000"
  218. +"~\u0000%t\u0000\ningredientt\u0000\u0017http://msqr.us/xsd/ieatq\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000"
  219. +"\u000fq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0018q\u0000~\u0000\u0014psq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~"
  220. +"\u0000\u001eq\u0000~\u0000\"q\u0000~\u0000$sq\u0000~\u0000%t\u0000 magoffin.matt.ieat.domain.Recipeq\u0000~\u0000)sq"
  221. +"\u0000~\u0000\rppsq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000/q\u0000~\u0000?q\u0000~\u0000$sq\u0000~\u0000%t\u0000\u0006recipeq\u0000~\u0000Dq\u0000~\u0000$sq"
  222. +"\u0000~\u0000\rppsq\u0000~\u0000\u000fq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0018q\u0000~\u0000\u0014psq\u0000~"
  223. +"\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000\u001eq\u0000~\u0000\"q\u0000~\u0000$sq\u0000~\u0000%t\u0000\u001emagoffin.matt.ieat.domain.Us"
  224. +"erq\u0000~\u0000)sq\u0000~\u0000\rppsq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000/q\u0000~\u0000?q\u0000~\u0000$sq\u0000~\u0000%t\u0000\u0004userq\u0000~\u0000D"
  225. +"q\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000\u000fq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0018q\u0000~"
  226. +"\u0000\u0014psq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000\u001eq\u0000~\u0000\"q\u0000~\u0000$sq\u0000~\u0000%t\u0000\u001emagoffin.matt.ieat.do"
  227. +"main.Mealq\u0000~\u0000)sq\u0000~\u0000\rppsq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000/q\u0000~\u0000?q\u0000~\u0000$sq\u0000~\u0000%t\u0000\u0004me"
  228. +"alq\u0000~\u0000Dq\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000\u000fq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\rppsq"
  229. +"\u0000~\u0000\u0018q\u0000~\u0000\u0014psq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000\u001eq\u0000~\u0000\"q\u0000~\u0000$sq\u0000~\u0000%t\u0000$magoffin.matt."
  230. +"ieat.domain.MealRecipeq\u0000~\u0000)sq\u0000~\u0000\rppsq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000/q\u0000~\u0000?q\u0000~"
  231. +"\u0000$sq\u0000~\u0000%t\u0000\u000bmeal-recipeq\u0000~\u0000Dq\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000\u000fq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\u0000p"
  232. +"psq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0018q\u0000~\u0000\u0014psq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000\u001eq\u0000~\u0000\"q\u0000~\u0000$sq\u0000"
  233. +"~\u0000%t\u0000)magoffin.matt.ieat.domain.UiSearchResultsq\u0000~\u0000)sq\u0000~\u0000\rpp"
  234. +"sq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000/q\u0000~\u0000?q\u0000~\u0000$sq\u0000~\u0000%t\u0000\u000esearch-resultsq\u0000~\u0000Dq\u0000~\u0000$"
  235. +"sq\u0000~\u0000\rppsq\u0000~\u0000\u001bq\u0000~\u0000\u0014psq\u0000~\u0000,ppsr\u0000#com.sun.msv.datatype.xsd.Str"
  236. +"ingType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u00001q\u0000~\u00006t\u0000\u0006stringsr\u00005co"
  237. +"m.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
  238. +"\u0000\u0000xq\u0000~\u00009\u0001q\u0000~\u0000<sq\u0000~\u0000=q\u0000~\u0000\u008bq\u0000~\u00006sq\u0000~\u0000%t\u0000\u0004modet\u0000\u0000q\u0000~\u0000$sq\u0000~\u0000\rpps"
  239. +"q\u0000~\u0000\u001bq\u0000~\u0000\u0014psq\u0000~\u0000,ppsr\u0000$com.sun.msv.datatype.xsd.BooleanType\u0000"
  240. +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00001q\u0000~\u00006t\u0000\u0007booleanq\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000=q\u0000~\u0000\u0097q\u0000~\u00006sq\u0000"
  241. +"~\u0000%t\u0000\u000eignoreWarningsq\u0000~\u0000\u0091q\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000\u001bq\u0000~\u0000\u0014pq\u0000~\u0000\u0094sq\u0000~\u0000"
  242. +"%t\u0000\u0007refreshq\u0000~\u0000\u0091q\u0000~\u0000$sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000"
  243. +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$"
  244. +"ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHa"
  245. +"sh\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/ms"
  246. +"v/grammar/ExpressionPool;xp\u0000\u0000\u0000)\u0001pq\u0000~\u0000\u0082q\u0000~\u0000\u009bq\u0000~\u0000\u000eq\u0000~\u0000Eq\u0000~\u0000Rq\u0000"
  247. +"~\u0000_q\u0000~\u0000lq\u0000~\u0000yq\u0000~\u0000\u0007q\u0000~\u0000\u0086q\u0000~\u0000\u0015q\u0000~\u0000Gq\u0000~\u0000Tq\u0000~\u0000aq\u0000~\u0000nq\u0000~\u0000\nq\u0000~\u0000{q\u0000"
  248. +"~\u0000\u0017q\u0000~\u0000Iq\u0000~\u0000Vq\u0000~\u0000cq\u0000~\u0000pq\u0000~\u0000}q\u0000~\u0000\u000bq\u0000~\u0000\u0005q\u0000~\u0000\u0006q\u0000~\u0000\tq\u0000~\u0000\u0092q\u0000~\u0000\u001aq\u0000"
  249. +"~\u0000Jq\u0000~\u0000Wq\u0000~\u0000dq\u0000~\u0000qq\u0000~\u0000~q\u0000~\u0000\bq\u0000~\u0000\fq\u0000~\u0000*q\u0000~\u0000Nq\u0000~\u0000[q\u0000~\u0000hq\u0000~\u0000ux"));
  250. }
  251. return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
  252. }
  253. public boolean equals(java.lang.Object obj) {
  254. if (this == obj) {
  255. return true;
  256. }
  257. if ((null == obj)||(!(obj instanceof magoffin.matt.ieat.domain.UiEdit))) {
  258. return false;
  259. }
  260. magoffin.matt.ieat.domain.impl.UiEditImpl target = ((magoffin.matt.ieat.domain.impl.UiEditImpl) obj);
  261. {
  262. boolean value = this.isRefresh();
  263. boolean targetValue = target.isRefresh();
  264. if (value!= targetValue) {
  265. return false;
  266. }
  267. }
  268. {
  269. magoffin.matt.ieat.domain.User value = this.getUser();
  270. magoffin.matt.ieat.domain.User targetValue = target.getUser();
  271. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  272. return false;
  273. }
  274. }
  275. {
  276. magoffin.matt.ieat.domain.MealRecipe value = this.getMealRecipe();
  277. magoffin.matt.ieat.domain.MealRecipe targetValue = target.getMealRecipe();
  278. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  279. return false;
  280. }
  281. }
  282. {
  283. magoffin.matt.ieat.domain.Ingredient value = this.getIngredient();
  284. magoffin.matt.ieat.domain.Ingredient targetValue = target.getIngredient();
  285. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  286. return false;
  287. }
  288. }
  289. {
  290. magoffin.matt.ieat.domain.Recipe value = this.getRecipe();
  291. magoffin.matt.ieat.domain.Recipe targetValue = target.getRecipe();
  292. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  293. return false;
  294. }
  295. }
  296. {
  297. magoffin.matt.ieat.domain.Meal value = this.getMeal();
  298. magoffin.matt.ieat.domain.Meal targetValue = target.getMeal();
  299. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  300. return false;
  301. }
  302. }
  303. {
  304. boolean value = this.isIgnoreWarnings();
  305. boolean targetValue = target.isIgnoreWarnings();
  306. if (value!= targetValue) {
  307. return false;
  308. }
  309. }
  310. {
  311. magoffin.matt.ieat.domain.UiSearchResults value = this.getSearchResults();
  312. magoffin.matt.ieat.domain.UiSearchResults targetValue = target.getSearchResults();
  313. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  314. return false;
  315. }
  316. }
  317. {
  318. java.lang.String value = this.getMode();
  319. java.lang.String targetValue = target.getMode();
  320. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  321. return false;
  322. }
  323. }
  324. return true;
  325. }
  326. public int hashCode() {
  327. int hash = 7;
  328. {
  329. boolean value = this.isRefresh();
  330. hash = ((31 *hash)+(value? 1 : 0));
  331. }
  332. {
  333. magoffin.matt.ieat.domain.User value = this.getUser();
  334. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  335. }
  336. {
  337. magoffin.matt.ieat.domain.MealRecipe value = this.getMealRecipe();
  338. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  339. }
  340. {
  341. magoffin.matt.ieat.domain.Ingredient value = this.getIngredient();
  342. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  343. }
  344. {
  345. magoffin.matt.ieat.domain.Recipe value = this.getRecipe();
  346. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  347. }
  348. {
  349. magoffin.matt.ieat.domain.Meal value = this.getMeal();
  350. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  351. }
  352. {
  353. boolean value = this.isIgnoreWarnings();
  354. hash = ((31 *hash)+(value? 1 : 0));
  355. }
  356. {
  357. magoffin.matt.ieat.domain.UiSearchResults value = this.getSearchResults();
  358. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  359. }
  360. {
  361. java.lang.String value = this.getMode();
  362. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  363. }
  364. return hash;
  365. }
  366. public class Unmarshaller
  367. extends magoffin.matt.ieat.domain.impl.runtime.AbstractUnmarshallingEventHandlerImpl
  368. {
  369. public Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  370. super(context, "--------------------------");
  371. }
  372. protected Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context, int startState) {
  373. this(context);
  374. state = startState;
  375. }
  376. public java.lang.Object owner() {
  377. return magoffin.matt.ieat.domain.impl.UiEditImpl.this;
  378. }
  379. public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
  380. throws org.xml.sax.SAXException
  381. {
  382. int attIdx;
  383. outer:
  384. while (true) {
  385. switch (state) {
  386. case 0 :
  387. attIdx = context.getAttribute("", "ignoreWarnings");
  388. if (attIdx >= 0) {
  389. final java.lang.String v = context.eatAttribute(attIdx);
  390. state = 3;
  391. eatText1(v);
  392. continue outer;
  393. }
  394. state = 3;
  395. continue outer;
  396. case 10 :
  397. if (("recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  398. context.pushAttributes(__atts, false);
  399. state = 11;
  400. return ;
  401. }
  402. state = 13;
  403. continue outer;
  404. case 17 :
  405. attIdx = context.getAttribute("", "mealId");
  406. if (attIdx >= 0) {
  407. context.consumeAttribute(attIdx);
  408. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  409. return ;
  410. }
  411. if (("name" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  412. _Meal = ((magoffin.matt.ieat.domain.impl.MealImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.MealImpl.class), 18, ___uri, ___local, ___qname, __atts));
  413. return ;
  414. }
  415. break;
  416. case 16 :
  417. if (("meal" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  418. context.pushAttributes(__atts, false);
  419. state = 17;
  420. return ;
  421. }
  422. state = 19;
  423. continue outer;
  424. case 20 :
  425. attIdx = context.getAttribute("", "quantity");
  426. if (attIdx >= 0) {
  427. context.consumeAttribute(attIdx);
  428. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  429. return ;
  430. }
  431. if (("recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  432. _MealRecipe = ((magoffin.matt.ieat.domain.impl.MealRecipeImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.MealRecipeImpl.class), 21, ___uri, ___local, ___qname, __atts));
  433. return ;
  434. }
  435. break;
  436. case 22 :
  437. if (("search-results" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  438. context.pushAttributes(__atts, false);
  439. state = 23;
  440. return ;
  441. }
  442. state = 25;
  443. continue outer;
  444. case 19 :
  445. if (("meal-recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  446. context.pushAttributes(__atts, false);
  447. state = 20;
  448. return ;
  449. }
  450. state = 22;
  451. continue outer;
  452. case 3 :
  453. attIdx = context.getAttribute("", "refresh");
  454. if (attIdx >= 0) {
  455. final java.lang.String v = context.eatAttribute(attIdx);
  456. state = 6;
  457. eatText2(v);
  458. continue outer;
  459. }
  460. state = 6;
  461. continue outer;
  462. case 7 :
  463. if (("ingredient" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  464. context.pushAttributes(__atts, false);
  465. state = 8;
  466. return ;
  467. }
  468. state = 10;
  469. continue outer;
  470. case 8 :
  471. attIdx = context.getAttribute("", "ingredientId");
  472. if (attIdx >= 0) {
  473. context.consumeAttribute(attIdx);
  474. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  475. return ;
  476. }
  477. if (("name" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  478. _Ingredient = ((magoffin.matt.ieat.domain.impl.IngredientImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.IngredientImpl.class), 9, ___uri, ___local, ___qname, __atts));
  479. return ;
  480. }
  481. break;
  482. case 11 :
  483. attIdx = context.getAttribute("", "createdDate");
  484. if (attIdx >= 0) {
  485. context.consumeAttribute(attIdx);
  486. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  487. return ;
  488. }
  489. attIdx = context.getAttribute("", "modifiedDate");
  490. if (attIdx >= 0) {
  491. context.consumeAttribute(attIdx);
  492. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  493. return ;
  494. }
  495. attIdx = context.getAttribute("", "recipeId");
  496. if (attIdx >= 0) {
  497. context.consumeAttribute(attIdx);
  498. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  499. return ;
  500. }
  501. attIdx = context.getAttribute("", "servingSize");
  502. if (attIdx >= 0) {
  503. context.consumeAttribute(attIdx);
  504. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  505. return ;
  506. }
  507. if (("name" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  508. _Recipe = ((magoffin.matt.ieat.domain.impl.RecipeImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.RecipeImpl.class), 12, ___uri, ___local, ___qname, __atts));
  509. return ;
  510. }
  511. break;
  512. case 23 :
  513. attIdx = context.getAttribute("", "pageSize");
  514. if (attIdx >= 0) {
  515. context.consumeAttribute(attIdx);
  516. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  517. return ;
  518. }
  519. attIdx = context.getAttribute("", "pageStart");
  520. if (attIdx >= 0) {
  521. context.consumeAttribute(attIdx);
  522. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  523. return ;
  524. }
  525. break;
  526. case 13 :
  527. if (("user" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  528. context.pushAttributes(__atts, false);
  529. state = 14;
  530. return ;
  531. }
  532. state = 16;
  533. continue outer;
  534. case 6 :
  535. attIdx = context.getAttribute("", "mode");
  536. if (attIdx >= 0) {
  537. context.consumeAttribute(attIdx);
  538. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  539. return ;
  540. }
  541. spawnHandlerFromEnterElement((((magoffin.matt.ieat.domain.impl.UiBaseImpl)magoffin.matt.ieat.domain.impl.UiEditImpl.this).new Unmarshaller(context)), 7, ___uri, ___local, ___qname, __atts);
  542. return ;
  543. case 14 :
  544. attIdx = context.getAttribute("", "accessLevel");
  545. if (attIdx >= 0) {
  546. context.consumeAttribute(attIdx);
  547. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  548. return ;
  549. }
  550. attIdx = context.getAttribute("", "country");
  551. if (attIdx >= 0) {
  552. context.consumeAttribute(attIdx);
  553. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  554. return ;
  555. }
  556. attIdx = context.getAttribute("", "createdDate");
  557. if (attIdx >= 0) {
  558. context.consumeAttribute(attIdx);
  559. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  560. return ;
  561. }
  562. attIdx = context.getAttribute("", "language");
  563. if (attIdx >= 0) {
  564. context.consumeAttribute(attIdx);
  565. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  566. return ;
  567. }
  568. attIdx = context.getAttribute("", "lastLoginDate");
  569. if (attIdx >= 0) {
  570. context.consumeAttribute(attIdx);
  571. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  572. return ;
  573. }
  574. attIdx = context.getAttribute("", "login");
  575. if (attIdx >= 0) {
  576. context.consumeAttribute(attIdx);
  577. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  578. return ;
  579. }
  580. attIdx = context.getAttribute("", "userId");
  581. if (attIdx >= 0) {
  582. context.consumeAttribute(attIdx);
  583. context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
  584. return ;
  585. }
  586. if (("name" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  587. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterElement((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname, __atts));
  588. return ;
  589. }
  590. break;
  591. case 25 :
  592. revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
  593. return ;
  594. }
  595. super.enterElement(___uri, ___local, ___qname, __atts);
  596. break;
  597. }
  598. }
  599. private void eatText1(final java.lang.String value)
  600. throws org.xml.sax.SAXException
  601. {
  602. try {
  603. _IgnoreWarnings = javax.xml.bind.DatatypeConverter.parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
  604. has_IgnoreWarnings = true;
  605. } catch (java.lang.Exception e) {
  606. handleParseConversionException(e);
  607. }
  608. }
  609. private void eatText2(final java.lang.String value)
  610. throws org.xml.sax.SAXException
  611. {
  612. try {
  613. _Refresh = javax.xml.bind.DatatypeConverter.parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
  614. has_Refresh = true;
  615. } catch (java.lang.Exception e) {
  616. handleParseConversionException(e);
  617. }
  618. }
  619. public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  620. throws org.xml.sax.SAXException
  621. {
  622. int attIdx;
  623. outer:
  624. while (true) {
  625. switch (state) {
  626. case 0 :
  627. attIdx = context.getAttribute("", "ignoreWarnings");
  628. if (attIdx >= 0) {
  629. final java.lang.String v = context.eatAttribute(attIdx);
  630. state = 3;
  631. eatText1(v);
  632. continue outer;
  633. }
  634. state = 3;
  635. continue outer;
  636. case 10 :
  637. state = 13;
  638. continue outer;
  639. case 17 :
  640. attIdx = context.getAttribute("", "mealId");
  641. if (attIdx >= 0) {
  642. context.consumeAttribute(attIdx);
  643. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  644. return ;
  645. }
  646. break;
  647. case 16 :
  648. state = 19;
  649. continue outer;
  650. case 20 :
  651. attIdx = context.getAttribute("", "quantity");
  652. if (attIdx >= 0) {
  653. context.consumeAttribute(attIdx);
  654. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  655. return ;
  656. }
  657. break;
  658. case 22 :
  659. state = 25;
  660. continue outer;
  661. case 19 :
  662. state = 22;
  663. continue outer;
  664. case 12 :
  665. if (("recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  666. context.popAttributes();
  667. state = 13;
  668. return ;
  669. }
  670. break;
  671. case 21 :
  672. if (("meal-recipe" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  673. context.popAttributes();
  674. state = 22;
  675. return ;
  676. }
  677. break;
  678. case 3 :
  679. attIdx = context.getAttribute("", "refresh");
  680. if (attIdx >= 0) {
  681. final java.lang.String v = context.eatAttribute(attIdx);
  682. state = 6;
  683. eatText2(v);
  684. continue outer;
  685. }
  686. state = 6;
  687. continue outer;
  688. case 7 :
  689. state = 10;
  690. continue outer;
  691. case 8 :
  692. attIdx = context.getAttribute("", "ingredientId");
  693. if (attIdx >= 0) {
  694. context.consumeAttribute(attIdx);
  695. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  696. return ;
  697. }
  698. break;
  699. case 11 :
  700. attIdx = context.getAttribute("", "createdDate");
  701. if (attIdx >= 0) {
  702. context.consumeAttribute(attIdx);
  703. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  704. return ;
  705. }
  706. attIdx = context.getAttribute("", "modifiedDate");
  707. if (attIdx >= 0) {
  708. context.consumeAttribute(attIdx);
  709. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  710. return ;
  711. }
  712. attIdx = context.getAttribute("", "recipeId");
  713. if (attIdx >= 0) {
  714. context.consumeAttribute(attIdx);
  715. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  716. return ;
  717. }
  718. attIdx = context.getAttribute("", "servingSize");
  719. if (attIdx >= 0) {
  720. context.consumeAttribute(attIdx);
  721. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  722. return ;
  723. }
  724. break;
  725. case 24 :
  726. if (("search-results" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  727. context.popAttributes();
  728. state = 25;
  729. return ;
  730. }
  731. break;
  732. case 23 :
  733. attIdx = context.getAttribute("", "pageSize");
  734. if (attIdx >= 0) {
  735. context.consumeAttribute(attIdx);
  736. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  737. return ;
  738. }
  739. attIdx = context.getAttribute("", "pageStart");
  740. if (attIdx >= 0) {
  741. context.consumeAttribute(attIdx);
  742. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  743. return ;
  744. }
  745. break;
  746. case 13 :
  747. state = 16;
  748. continue outer;
  749. case 15 :
  750. if (("user" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  751. context.popAttributes();
  752. state = 16;
  753. return ;
  754. }
  755. break;
  756. case 6 :
  757. attIdx = context.getAttribute("", "mode");
  758. if (attIdx >= 0) {
  759. context.consumeAttribute(attIdx);
  760. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  761. return ;
  762. }
  763. spawnHandlerFromLeaveElement((((magoffin.matt.ieat.domain.impl.UiBaseImpl)magoffin.matt.ieat.domain.impl.UiEditImpl.this).new Unmarshaller(context)), 7, ___uri, ___local, ___qname);
  764. return ;
  765. case 14 :
  766. attIdx = context.getAttribute("", "accessLevel");
  767. if (attIdx >= 0) {
  768. context.consumeAttribute(attIdx);
  769. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  770. return ;
  771. }
  772. attIdx = context.getAttribute("", "country");
  773. if (attIdx >= 0) {
  774. context.consumeAttribute(attIdx);
  775. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  776. return ;
  777. }
  778. attIdx = context.getAttribute("", "createdDate");
  779. if (attIdx >= 0) {
  780. context.consumeAttribute(attIdx);
  781. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  782. return ;
  783. }
  784. attIdx = context.getAttribute("", "language");
  785. if (attIdx >= 0) {
  786. context.consumeAttribute(attIdx);
  787. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  788. return ;
  789. }
  790. attIdx = context.getAttribute("", "lastLoginDate");
  791. if (attIdx >= 0) {
  792. context.consumeAttribute(attIdx);
  793. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  794. return ;
  795. }
  796. attIdx = context.getAttribute("", "login");
  797. if (attIdx >= 0) {
  798. context.consumeAttribute(attIdx);
  799. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  800. return ;
  801. }
  802. attIdx = context.getAttribute("", "userId");
  803. if (attIdx >= 0) {
  804. context.consumeAttribute(attIdx);
  805. context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
  806. return ;
  807. }
  808. break;
  809. case 9 :
  810. if (("ingredient" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  811. context.popAttributes();
  812. state = 10;
  813. return ;
  814. }
  815. break;
  816. case 25 :
  817. revertToParentFromLeaveElement(___uri, ___local, ___qname);
  818. return ;
  819. case 18 :
  820. if (("meal" == ___local)&&("http://msqr.us/xsd/ieat" == ___uri)) {
  821. context.popAttributes();
  822. state = 19;
  823. return ;
  824. }
  825. break;
  826. }
  827. super.leaveElement(___uri, ___local, ___qname);
  828. break;
  829. }
  830. }
  831. public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  832. throws org.xml.sax.SAXException
  833. {
  834. int attIdx;
  835. outer:
  836. while (true) {
  837. switch (state) {
  838. case 0 :
  839. if (("ignoreWarnings" == ___local)&&("" == ___uri)) {
  840. state = 1;
  841. return ;
  842. }
  843. state = 3;
  844. continue outer;
  845. case 10 :
  846. state = 13;
  847. continue outer;
  848. case 17 :
  849. if (("mealId" == ___local)&&("" == ___uri)) {
  850. _Meal = ((magoffin.matt.ieat.domain.impl.MealImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.MealImpl.class), 18, ___uri, ___local, ___qname));
  851. return ;
  852. }
  853. break;
  854. case 16 :
  855. state = 19;
  856. continue outer;
  857. case 20 :
  858. if (("quantity" == ___local)&&("" == ___uri)) {
  859. _MealRecipe = ((magoffin.matt.ieat.domain.impl.MealRecipeImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.MealRecipeImpl.class), 21, ___uri, ___local, ___qname));
  860. return ;
  861. }
  862. break;
  863. case 22 :
  864. state = 25;
  865. continue outer;
  866. case 19 :
  867. state = 22;
  868. continue outer;
  869. case 3 :
  870. if (("refresh" == ___local)&&("" == ___uri)) {
  871. state = 4;
  872. return ;
  873. }
  874. state = 6;
  875. continue outer;
  876. case 7 :
  877. state = 10;
  878. continue outer;
  879. case 8 :
  880. if (("ingredientId" == ___local)&&("" == ___uri)) {
  881. _Ingredient = ((magoffin.matt.ieat.domain.impl.IngredientImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.IngredientImpl.class), 9, ___uri, ___local, ___qname));
  882. return ;
  883. }
  884. break;
  885. case 11 :
  886. if (("createdDate" == ___local)&&("" == ___uri)) {
  887. _Recipe = ((magoffin.matt.ieat.domain.impl.RecipeImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeImpl.class), 12, ___uri, ___local, ___qname));
  888. return ;
  889. }
  890. if (("modifiedDate" == ___local)&&("" == ___uri)) {
  891. _Recipe = ((magoffin.matt.ieat.domain.impl.RecipeImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeImpl.class), 12, ___uri, ___local, ___qname));
  892. return ;
  893. }
  894. if (("recipeId" == ___local)&&("" == ___uri)) {
  895. _Recipe = ((magoffin.matt.ieat.domain.impl.RecipeImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeImpl.class), 12, ___uri, ___local, ___qname));
  896. return ;
  897. }
  898. if (("servingSize" == ___local)&&("" == ___uri)) {
  899. _Recipe = ((magoffin.matt.ieat.domain.impl.RecipeImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.RecipeImpl.class), 12, ___uri, ___local, ___qname));
  900. return ;
  901. }
  902. break;
  903. case 23 :
  904. if (("pageSize" == ___local)&&("" == ___uri)) {
  905. _SearchResults = ((magoffin.matt.ieat.domain.impl.UiSearchResultsImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UiSearchResultsImpl.class), 24, ___uri, ___local, ___qname));
  906. return ;
  907. }
  908. if (("pageStart" == ___local)&&("" == ___uri)) {
  909. _SearchResults = ((magoffin.matt.ieat.domain.impl.UiSearchResultsImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UiSearchResultsImpl.class), 24, ___uri, ___local, ___qname));
  910. return ;
  911. }
  912. break;
  913. case 13 :
  914. state = 16;
  915. continue outer;
  916. case 6 :
  917. if (("mode" == ___local)&&("" == ___uri)) {
  918. spawnHandlerFromEnterAttribute((((magoffin.matt.ieat.domain.impl.UiBaseImpl)magoffin.matt.ieat.domain.impl.UiEditImpl.this).new Unmarshaller(context)), 7, ___uri, ___local, ___qname);
  919. return ;
  920. }
  921. spawnHandlerFromEnterAttribute((((magoffin.matt.ieat.domain.impl.UiBaseImpl)magoffin.matt.ieat.domain.impl.UiEditImpl.this).new Unmarshaller(context)), 7, ___uri, ___local, ___qname);
  922. return ;
  923. case 14 :
  924. if (("accessLevel" == ___local)&&("" == ___uri)) {
  925. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname));
  926. return ;
  927. }
  928. if (("country" == ___local)&&("" == ___uri)) {
  929. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname));
  930. return ;
  931. }
  932. if (("createdDate" == ___local)&&("" == ___uri)) {
  933. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname));
  934. return ;
  935. }
  936. if (("language" == ___local)&&("" == ___uri)) {
  937. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname));
  938. return ;
  939. }
  940. if (("lastLoginDate" == ___local)&&("" == ___uri)) {
  941. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname));
  942. return ;
  943. }
  944. if (("login" == ___local)&&("" == ___uri)) {
  945. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname));
  946. return ;
  947. }
  948. if (("userId" == ___local)&&("" == ___uri)) {
  949. _User = ((magoffin.matt.ieat.domain.impl.UserImpl) spawnChildFromEnterAttribute((magoffin.matt.ieat.domain.impl.UserImpl.class), 15, ___uri, ___local, ___qname));
  950. return ;
  951. }
  952. break;
  953. case 25 :
  954. revertToParentFromEnterAttribute(___uri, ___local, ___qname);
  955. return ;
  956. }
  957. super.enterAttribute(___uri, ___local, ___qname);
  958. break;
  959. }
  960. }
  961. public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  962. throws org.xml.sax.SAXException
  963. {
  964. int attIdx;
  965. outer:
  966. while (true) {
  967. switch (state) {
  968. case 0 :
  969. attIdx = context.getAttribute("", "ignoreWarnings");
  970. if (attIdx >= 0) {
  971. final java.lang.String v = context.eatAttribute(attIdx);
  972. state = 3;
  973. eatText1(v);
  974. continue outer;
  975. }
  976. state = 3;
  977. continue outer;
  978. case 10 :
  979. state = 13;
  980. continue outer;
  981. case 17 :
  982. attIdx = context.getAttribute("", "mealId");
  983. if (attIdx >= 0) {
  984. context.consumeAttribute(attIdx);
  985. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  986. return ;
  987. }
  988. break;
  989. case 16 :
  990. state = 19;
  991. continue outer;
  992. case 20 :
  993. attIdx = context.getAttribute("", "quantity");
  994. if (attIdx >= 0) {
  995. context.consumeAttribute(attIdx);
  996. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  997. return ;
  998. }
  999. break;
  1000. case 2 :
  1001. if (("ignoreWarnings" == ___local)&&("" == ___uri)) {
  1002. state = 3;
  1003. return ;
  1004. }
  1005. break;
  1006. case 22 :
  1007. state = 25;
  1008. continue outer;
  1009. case 19 :
  1010. state = 22;
  1011. continue outer;
  1012. case 5 :
  1013. if (("refresh" == ___local)&&("" == ___uri)) {
  1014. state = 6;
  1015. return ;
  1016. }
  1017. break;
  1018. case 3 :
  1019. attIdx = context.getAttribute("", "refresh");
  1020. if (attIdx >= 0) {
  1021. final java.lang.String v = context.eatAttribute(attIdx);
  1022. state = 6;
  1023. eatText2(v);
  1024. continue outer;
  1025. }
  1026. state = 6;
  1027. continue outer;
  1028. case 7 :
  1029. state = 10;
  1030. continue outer;
  1031. case 8 :
  1032. attIdx = context.getAttribute("", "ingredientId");
  1033. if (attIdx >= 0) {
  1034. context.consumeAttribute(attIdx);
  1035. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1036. return ;
  1037. }
  1038. break;
  1039. case 11 :
  1040. attIdx = context.getAttribute("", "createdDate");
  1041. if (attIdx >= 0) {
  1042. context.consumeAttribute(attIdx);
  1043. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1044. return ;
  1045. }
  1046. attIdx = context.getAttribute("", "modifiedDate");
  1047. if (attIdx >= 0) {
  1048. context.consumeAttribute(attIdx);
  1049. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1050. return ;
  1051. }
  1052. attIdx = context.getAttribute("", "recipeId");
  1053. if (attIdx >= 0) {
  1054. context.consumeAttribute(attIdx);
  1055. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1056. return ;
  1057. }
  1058. attIdx = context.getAttribute("", "servingSize");
  1059. if (attIdx >= 0) {
  1060. context.consumeAttribute(attIdx);
  1061. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1062. return ;
  1063. }
  1064. break;
  1065. case 23 :
  1066. attIdx = context.getAttribute("", "pageSize");
  1067. if (attIdx >= 0) {
  1068. context.consumeAttribute(attIdx);
  1069. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1070. return ;
  1071. }
  1072. attIdx = context.getAttribute("", "pageStart");
  1073. if (attIdx >= 0) {
  1074. context.consumeAttribute(attIdx);
  1075. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1076. return ;
  1077. }
  1078. break;
  1079. case 13 :
  1080. state = 16;
  1081. continue outer;
  1082. case 6 :
  1083. attIdx = context.getAttribute("", "mode");
  1084. if (attIdx >= 0) {
  1085. context.consumeAttribute(attIdx);
  1086. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1087. return ;
  1088. }
  1089. spawnHandlerFromLeaveAttribute((((magoffin.matt.ieat.domain.impl.UiBaseImpl)magoffin.matt.ieat.domain.impl.UiEditImpl.this).new Unmarshaller(context)), 7, ___uri, ___local, ___qname);
  1090. return ;
  1091. case 14 :
  1092. attIdx = context.getAttribute("", "accessLevel");
  1093. if (attIdx >= 0) {
  1094. context.consumeAttribute(attIdx);
  1095. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1096. return ;
  1097. }
  1098. attIdx = context.getAttribute("", "country");
  1099. if (attIdx >= 0) {
  1100. context.consumeAttribute(attIdx);
  1101. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1102. return ;
  1103. }
  1104. attIdx = context.getAttribute("", "createdDate");
  1105. if (attIdx >= 0) {
  1106. context.consumeAttribute(attIdx);
  1107. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1108. return ;
  1109. }
  1110. attIdx = context.getAttribute("", "language");
  1111. if (attIdx >= 0) {
  1112. context.consumeAttribute(attIdx);
  1113. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1114. return ;
  1115. }
  1116. attIdx = context.getAttribute("", "lastLoginDate");
  1117. if (attIdx >= 0) {
  1118. context.consumeAttribute(attIdx);
  1119. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1120. return ;
  1121. }
  1122. attIdx = context.getAttribute("", "login");
  1123. if (attIdx >= 0) {
  1124. context.consumeAttribute(attIdx);
  1125. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1126. return ;
  1127. }
  1128. attIdx = context.getAttribute("", "userId");
  1129. if (attIdx >= 0) {
  1130. context.consumeAttribute(attIdx);
  1131. context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
  1132. return ;
  1133. }
  1134. break;
  1135. case 25 :
  1136. revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
  1137. return ;
  1138. }
  1139. super.leaveAttribute(___uri, ___local, ___qname);
  1140. break;
  1141. }
  1142. }
  1143. public void handleText(final java.lang.String value)
  1144. throws org.xml.sax.SAXException
  1145. {
  1146. int attIdx;
  1147. outer:
  1148. while (true) {
  1149. try {
  1150. switch (state) {
  1151. case 0 :
  1152. attIdx = context.getAttribute("", "ignoreWarnings");
  1153. if (attIdx >= 0) {
  1154. final java.lang.String v = context.eatAttribute(attIdx);
  1155. state = 3;
  1156. eatText1(v);
  1157. continue outer;
  1158. }
  1159. state = 3;
  1160. continue outer;
  1161. case 10 :
  1162. state = 13;
  1163. continue outer;
  1164. case 17 :
  1165. attIdx = context.getAttribute("", "mealId");
  1166. if (attIdx >= 0) {
  1167. context.consumeAttribute(attIdx);
  1168. context.getCurrentHandler().text(value);
  1169. return ;
  1170. }
  1171. break;
  1172. case 16 :
  1173. state = 19;
  1174. continue outer;
  1175. case 20 :
  1176. attIdx = context.getAttribute("", "quantity");
  1177. if (attIdx >= 0) {
  1178. context.consumeAttribute(attIdx);
  1179. context.getCurrentHandler().text(value);
  1180. return ;
  1181. }
  1182. break;
  1183. case 22 :
  1184. state = 25;
  1185. continue outer;
  1186. case 19 :
  1187. state = 22;
  1188. continue outer;
  1189. case 3 :
  1190. attIdx = context.getAttribute("", "refresh");
  1191. if (attIdx >= 0) {
  1192. final java.lang.String v = context.eatAttribute(attIdx);
  1193. state = 6;
  1194. eatText2(v);
  1195. continue outer;
  1196. }
  1197. state = 6;
  1198. continue outer;
  1199. case 7 :
  1200. state = 10;
  1201. continue outer;
  1202. case 8 :
  1203. attIdx = context.getAttribute("", "ingredientId");
  1204. if (attIdx >= 0) {
  1205. context.consumeAttribute(attIdx);
  1206. context.getCurrentHandler().text(value);
  1207. return ;
  1208. }
  1209. break;
  1210. case 11 :
  1211. attIdx = context.getAttribute("", "createdDate");
  1212. if (attIdx >= 0) {
  1213. context.consumeAttribute(attIdx);
  1214. context.getCurrentHandler().text(value);
  1215. return ;
  1216. }
  1217. attIdx = context.getAttribute("", "modifiedDate");
  1218. if (attIdx >= 0) {
  1219. context.consumeAttribute(attIdx);
  1220. context.getCurrentHandler().text(value);
  1221. return ;
  1222. }
  1223. attIdx = context.getAttribute("", "recipeId");
  1224. if (attIdx >= 0) {
  1225. context.consumeAttribute(attIdx);
  1226. context.getCurrentHandler().text(value);
  1227. return ;
  1228. }
  1229. attIdx = context.getAttribute("", "servingSize");
  1230. if (attIdx >= 0) {
  1231. context.consumeAttribute(attIdx);
  1232. context.getCurrentHandler().text(value);
  1233. return ;
  1234. }
  1235. break;
  1236. case 23 :
  1237. attIdx = context.getAttribute("", "pageSize");
  1238. if (attIdx >= 0) {
  1239. context.consumeAttribute(attIdx);
  1240. context.getCurrentHandler().text(value);
  1241. return ;
  1242. }
  1243. attIdx = context.getAttribute("", "pageStart");
  1244. if (attIdx >= 0) {
  1245. context.consumeAttribute(attIdx);
  1246. context.getCurrentHandler().text(value);
  1247. return ;
  1248. }
  1249. break;
  1250. case 13 :
  1251. state = 16;
  1252. continue outer;
  1253. case 6 :
  1254. attIdx = context.getAttribute("", "mode");
  1255. if (attIdx >= 0) {
  1256. context.consumeAttribute(attIdx);
  1257. context.getCurrentHandler().text(value);
  1258. return ;
  1259. }
  1260. spawnHandlerFromText((((magoffin.matt.ieat.domain.impl.UiBaseImpl)magoffin.matt.ieat.domain.impl.UiEditImpl.this).new Unmarshaller(context)), 7, value);
  1261. return ;
  1262. case 14 :
  1263. attIdx = context.getAttribute("", "accessLevel");
  1264. if (attIdx >= 0) {
  1265. context.consumeAttribute(attIdx);
  1266. context.getCurrentHandler().text(value);
  1267. return ;
  1268. }
  1269. attIdx = context.getAttribute("", "country");
  1270. if (attIdx >= 0) {
  1271. context.consumeAttribute(attIdx);
  1272. context.getCurrentHandler().text(value);
  1273. return ;
  1274. }
  1275. attIdx = context.getAttribute("", "createdDate");
  1276. if (attIdx >= 0) {
  1277. context.consumeAttribute(attIdx);
  1278. context.getCurrentHandler().text(value);
  1279. return ;
  1280. }
  1281. attIdx = context.getAttribute("", "language");
  1282. if (attIdx >= 0) {
  1283. context.consumeAttribute(attIdx);
  1284. context.getCurrentHandler().text(value);
  1285. return ;
  1286. }
  1287. attIdx = context.getAttribute("", "lastLoginDate");
  1288. if (attIdx >= 0) {
  1289. context.consumeAttribute(attIdx);
  1290. context.getCurrentHandler().text(value);
  1291. return ;
  1292. }
  1293. attIdx = context.getAttribute("", "login");
  1294. if (attIdx >= 0) {
  1295. context.consumeAttribute(attIdx);
  1296. context.getCurrentHandler().text(value);
  1297. return ;
  1298. }
  1299. attIdx = context.getAttribute("", "userId");
  1300. if (attIdx >= 0) {
  1301. context.consumeAttribute(attIdx);
  1302. context.getCurrentHandler().text(value);
  1303. return ;
  1304. }
  1305. break;
  1306. case 25 :
  1307. revertToParentFromText(value);
  1308. return ;
  1309. case 1 :
  1310. state = 2;
  1311. eatText1(value);
  1312. return ;
  1313. case 4 :
  1314. state = 5;
  1315. eatText2(value);
  1316. return ;
  1317. }
  1318. } catch (java.lang.RuntimeException e) {
  1319. handleUnexpectedTextException(value, e);
  1320. }
  1321. break;
  1322. }
  1323. }
  1324. }
  1325. }