UiParameterImpl.java 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  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 UiParameterImpl implements magoffin.matt.ieat.domain.UiParameter, 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 java.lang.String _Value;
  12. protected java.lang.String _Key;
  13. public final static java.lang.Class version = (magoffin.matt.ieat.domain.impl.JAXBVersion.class);
  14. private static com.sun.msv.grammar.Grammar schemaFragment;
  15. private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
  16. return (magoffin.matt.ieat.domain.UiParameter.class);
  17. }
  18. public java.lang.String getValue() {
  19. return _Value;
  20. }
  21. public void setValue(java.lang.String value) {
  22. _Value = value;
  23. }
  24. public java.lang.String getKey() {
  25. return _Key;
  26. }
  27. public void setKey(java.lang.String value) {
  28. _Key = value;
  29. }
  30. public magoffin.matt.ieat.domain.impl.runtime.UnmarshallingEventHandler createUnmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  31. return new magoffin.matt.ieat.domain.impl.UiParameterImpl.Unmarshaller(context);
  32. }
  33. public void serializeBody(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  34. throws org.xml.sax.SAXException
  35. {
  36. try {
  37. context.text(((java.lang.String) _Value), "Value");
  38. } catch (java.lang.Exception e) {
  39. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  40. }
  41. }
  42. public void serializeAttributes(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  43. throws org.xml.sax.SAXException
  44. {
  45. context.startAttribute("", "key");
  46. try {
  47. context.text(((java.lang.String) _Key), "Key");
  48. } catch (java.lang.Exception e) {
  49. magoffin.matt.ieat.domain.impl.runtime.Util.handlePrintConversionException(this, e, context);
  50. }
  51. context.endAttribute();
  52. }
  53. public void serializeURIs(magoffin.matt.ieat.domain.impl.runtime.XMLSerializer context)
  54. throws org.xml.sax.SAXException
  55. {
  56. }
  57. public java.lang.Class getPrimaryInterface() {
  58. return (magoffin.matt.ieat.domain.UiParameter.class);
  59. }
  60. public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
  61. if (schemaFragment == null) {
  62. schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
  63. "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
  64. +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
  65. +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
  66. +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
  67. +"expandedExpq\u0000~\u0000\u0002xpppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
  68. +"\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004na"
  69. +"met\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000#com.sun.msv.da"
  70. +"tatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun."
  71. +"msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv"
  72. +".datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatyp"
  73. +"e.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/"
  74. +"String;L\u0000\btypeNameq\u0000~\u0000\u000eL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype"
  75. +"/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSche"
  76. +"mat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$"
  77. +"Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpacePr"
  78. +"ocessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$Null"
  79. +"SetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringP"
  80. +"air\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u000eL\u0000\fnamespaceURIq\u0000~\u0000\u000expq\u0000~\u0000\u0012q\u0000"
  81. +"~\u0000\u0011sr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000"
  82. +"\u0002L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xq\u0000~\u0000\u0003ppq\u0000~\u0000\t"
  83. +"sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNa"
  84. +"meq\u0000~\u0000\u000eL\u0000\fnamespaceURIq\u0000~\u0000\u000exr\u0000\u001dcom.sun.msv.grammar.NameClass"
  85. +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0003keyt\u0000\u0000sr\u0000\"com.sun.msv.grammar.ExpressionPool"
  86. +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool"
  87. +"$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedH"
  88. +"ash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/m"
  89. +"sv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0001\u0001pq\u0000~\u0000\u0005x"));
  90. }
  91. return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
  92. }
  93. public boolean equals(java.lang.Object obj) {
  94. if (this == obj) {
  95. return true;
  96. }
  97. if ((null == obj)||(!(obj instanceof magoffin.matt.ieat.domain.UiParameter))) {
  98. return false;
  99. }
  100. magoffin.matt.ieat.domain.impl.UiParameterImpl target = ((magoffin.matt.ieat.domain.impl.UiParameterImpl) obj);
  101. {
  102. java.lang.String value = this.getValue();
  103. java.lang.String targetValue = target.getValue();
  104. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  105. return false;
  106. }
  107. }
  108. {
  109. java.lang.String value = this.getKey();
  110. java.lang.String targetValue = target.getKey();
  111. if (!((value == targetValue)||((value!= null)&&value.equals(targetValue)))) {
  112. return false;
  113. }
  114. }
  115. return true;
  116. }
  117. public int hashCode() {
  118. int hash = 7;
  119. {
  120. java.lang.String value = this.getValue();
  121. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  122. }
  123. {
  124. java.lang.String value = this.getKey();
  125. hash = ((31 *hash)+((null == value)? 0 :value.hashCode()));
  126. }
  127. return hash;
  128. }
  129. public class Unmarshaller
  130. extends magoffin.matt.ieat.domain.impl.runtime.AbstractUnmarshallingEventHandlerImpl
  131. {
  132. public Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context) {
  133. super(context, "-----");
  134. }
  135. protected Unmarshaller(magoffin.matt.ieat.domain.impl.runtime.UnmarshallingContext context, int startState) {
  136. this(context);
  137. state = startState;
  138. }
  139. public java.lang.Object owner() {
  140. return magoffin.matt.ieat.domain.impl.UiParameterImpl.this;
  141. }
  142. public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
  143. throws org.xml.sax.SAXException
  144. {
  145. int attIdx;
  146. outer:
  147. while (true) {
  148. switch (state) {
  149. case 4 :
  150. revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
  151. return ;
  152. case 0 :
  153. attIdx = context.getAttribute("", "key");
  154. if (attIdx >= 0) {
  155. final java.lang.String v = context.eatAttribute(attIdx);
  156. state = 3;
  157. eatText1(v);
  158. continue outer;
  159. }
  160. break;
  161. }
  162. super.enterElement(___uri, ___local, ___qname, __atts);
  163. break;
  164. }
  165. }
  166. private void eatText1(final java.lang.String value)
  167. throws org.xml.sax.SAXException
  168. {
  169. try {
  170. _Key = value;
  171. } catch (java.lang.Exception e) {
  172. handleParseConversionException(e);
  173. }
  174. }
  175. public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  176. throws org.xml.sax.SAXException
  177. {
  178. int attIdx;
  179. outer:
  180. while (true) {
  181. switch (state) {
  182. case 4 :
  183. revertToParentFromLeaveElement(___uri, ___local, ___qname);
  184. return ;
  185. case 0 :
  186. attIdx = context.getAttribute("", "key");
  187. if (attIdx >= 0) {
  188. final java.lang.String v = context.eatAttribute(attIdx);
  189. state = 3;
  190. eatText1(v);
  191. continue outer;
  192. }
  193. break;
  194. }
  195. super.leaveElement(___uri, ___local, ___qname);
  196. break;
  197. }
  198. }
  199. public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  200. throws org.xml.sax.SAXException
  201. {
  202. int attIdx;
  203. outer:
  204. while (true) {
  205. switch (state) {
  206. case 4 :
  207. revertToParentFromEnterAttribute(___uri, ___local, ___qname);
  208. return ;
  209. case 0 :
  210. if (("key" == ___local)&&("" == ___uri)) {
  211. state = 1;
  212. return ;
  213. }
  214. break;
  215. }
  216. super.enterAttribute(___uri, ___local, ___qname);
  217. break;
  218. }
  219. }
  220. public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
  221. throws org.xml.sax.SAXException
  222. {
  223. int attIdx;
  224. outer:
  225. while (true) {
  226. switch (state) {
  227. case 4 :
  228. revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
  229. return ;
  230. case 2 :
  231. if (("key" == ___local)&&("" == ___uri)) {
  232. state = 3;
  233. return ;
  234. }
  235. break;
  236. case 0 :
  237. attIdx = context.getAttribute("", "key");
  238. if (attIdx >= 0) {
  239. final java.lang.String v = context.eatAttribute(attIdx);
  240. state = 3;
  241. eatText1(v);
  242. continue outer;
  243. }
  244. break;
  245. }
  246. super.leaveAttribute(___uri, ___local, ___qname);
  247. break;
  248. }
  249. }
  250. public void handleText(final java.lang.String value)
  251. throws org.xml.sax.SAXException
  252. {
  253. int attIdx;
  254. outer:
  255. while (true) {
  256. try {
  257. switch (state) {
  258. case 4 :
  259. revertToParentFromText(value);
  260. return ;
  261. case 1 :
  262. state = 2;
  263. eatText1(value);
  264. return ;
  265. case 3 :
  266. state = 4;
  267. eatText2(value);
  268. return ;
  269. case 0 :
  270. attIdx = context.getAttribute("", "key");
  271. if (attIdx >= 0) {
  272. final java.lang.String v = context.eatAttribute(attIdx);
  273. state = 3;
  274. eatText1(v);
  275. continue outer;
  276. }
  277. break;
  278. }
  279. } catch (java.lang.RuntimeException e) {
  280. handleUnexpectedTextException(value, e);
  281. }
  282. break;
  283. }
  284. }
  285. private void eatText2(final java.lang.String value)
  286. throws org.xml.sax.SAXException
  287. {
  288. try {
  289. _Value = value;
  290. } catch (java.lang.Exception e) {
  291. handleParseConversionException(e);
  292. }
  293. }
  294. }
  295. }