001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2005.03.31 at 08:49:20 EST
006: //
007:
008: package com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl;
009:
010: public class MessageFieldDefTypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.MessageFieldDefType,
013: com.sun.xml.bind.JAXBObject,
014: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallableObject,
015: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializable,
016: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.ValidatableObject {
017:
018: protected java.lang.String _Description;
019: protected java.lang.String _DataTypeRef;
020: protected java.lang.String _Name;
021: public final static java.lang.Class version = (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.JAXBVersion.class);
022: private static com.sun.msv.grammar.Grammar schemaFragment;
023:
024: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
025: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.MessageFieldDefType.class);
026: }
027:
028: public java.lang.String getDescription() {
029: return _Description;
030: }
031:
032: public void setDescription(java.lang.String value) {
033: _Description = value;
034: }
035:
036: public java.lang.String getDataTypeRef() {
037: return _DataTypeRef;
038: }
039:
040: public void setDataTypeRef(java.lang.String value) {
041: _DataTypeRef = value;
042: }
043:
044: public java.lang.String getName() {
045: return _Name;
046: }
047:
048: public void setName(java.lang.String value) {
049: _Name = value;
050: }
051:
052: public com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
053: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
054: return new com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.MessageFieldDefTypeImpl.Unmarshaller(
055: context);
056: }
057:
058: public void serializeBody(
059: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
060: throws org.xml.sax.SAXException {
061: context
062: .startElement(
063: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
064: "Name");
065: context.endNamespaceDecls();
066: context.endAttributes();
067: try {
068: context.text(((java.lang.String) _Name), "Name");
069: } catch (java.lang.Exception e) {
070: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
071: .handlePrintConversionException(this , e, context);
072: }
073: context.endElement();
074: context
075: .startElement(
076: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
077: "Description");
078: context.endNamespaceDecls();
079: context.endAttributes();
080: try {
081: context.text(((java.lang.String) _Description),
082: "Description");
083: } catch (java.lang.Exception e) {
084: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
085: .handlePrintConversionException(this , e, context);
086: }
087: context.endElement();
088: context
089: .startElement(
090: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
091: "DataTypeRef");
092: context.endNamespaceDecls();
093: context.endAttributes();
094: try {
095: context.text(((java.lang.String) _DataTypeRef),
096: "DataTypeRef");
097: } catch (java.lang.Exception e) {
098: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
099: .handlePrintConversionException(this , e, context);
100: }
101: context.endElement();
102: }
103:
104: public void serializeAttributes(
105: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
106: throws org.xml.sax.SAXException {
107: }
108:
109: public void serializeURIs(
110: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
111: throws org.xml.sax.SAXException {
112: }
113:
114: public java.lang.Class getPrimaryInterface() {
115: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.MessageFieldDefType.class);
116: }
117:
118: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
119: if (schemaFragment == null) {
120: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
121: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
122: + "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
123: + "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
124: + "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
125: + "expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsr\u0000\'com.sun.msv.grammar.trex.Ele"
126: + "mentPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/Na"
127: + "meClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aigno"
128: + "reUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003pp\u0000sq\u0000~\u0000\u0000pps"
129: + "r\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxn"
130: + "g/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/uti"
131: + "l/StringPair;xq\u0000~\u0000\u0003ppsr\u0000#com.sun.msv.datatype.xsd.StringType"
132: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.Buil"
133: + "tinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concret"
134: + "eType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000"
135: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~"
136: + "\u0000\u0014L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProces"
137: + "sor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u00005com.su"
138: + "n.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr"
139: + "\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001"
140: + "sr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
141: + "\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tloca"
142: + "lNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xpq\u0000~\u0000\u0018q\u0000~\u0000\u0017sr\u0000\u001dcom.sun.msv.gr"
143: + "ammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.At"
144: + "tributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\bxq\u0000~\u0000\u0003sr\u0000\u0011j"
145: + "ava.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\fppsr\u0000\"com.sun.m"
146: + "sv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0011q\u0000~\u0000\u0017t\u0000\u0005QNamesr\u00005c"
147: + "om.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
148: + "\u0002\u0000\u0000xq\u0000~\u0000\u001aq\u0000~\u0000\u001dsq\u0000~\u0000\u001eq\u0000~\u0000)q\u0000~\u0000\u0017sr\u0000#com.sun.msv.grammar.Simple"
149: + "NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xr\u0000"
150: + "\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://"
151: + "www.w3.org/2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Ex"
152: + "pression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000$\u0001q\u0000~\u00003sq\u0000~\u0000"
153: + "-t\u0000\u0004Namet\u0000Ihttp://www.metaboss.com/XMLSchemas/MetaBoss/SdlcT"
154: + "ools/EnterpriseModel/1.0sq\u0000~\u0000\u0007pp\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000\u000fsq\u0000~\u0000 ppsq\u0000~\u0000\""
155: + "q\u0000~\u0000%pq\u0000~\u0000&q\u0000~\u0000/q\u0000~\u00003sq\u0000~\u0000-t\u0000\u000bDescriptionq\u0000~\u00007sq\u0000~\u0000\u0007pp\u0000sq\u0000~\u0000"
156: + "\u0000ppq\u0000~\u0000\u000fsq\u0000~\u0000 ppsq\u0000~\u0000\"q\u0000~\u0000%pq\u0000~\u0000&q\u0000~\u0000/q\u0000~\u00003sq\u0000~\u0000-t\u0000\u000bDataType"
157: + "Refq\u0000~\u00007sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\b"
158: + "expTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xp"
159: + "sr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003"
160: + "I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Exp"
161: + "ressionPool;xp\u0000\u0000\u0000\b\u0001pq\u0000~\u0000\u0006q\u0000~\u0000\u0005q\u0000~\u0000!q\u0000~\u0000:q\u0000~\u0000\u000bq\u0000~\u00009q\u0000~\u0000@q\u0000~\u0000?"
162: + "x"));
163: }
164: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
165: schemaFragment);
166: }
167:
168: public class Unmarshaller
169: extends
170: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
171:
172: public Unmarshaller(
173: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
174: super (context, "----------");
175: }
176:
177: protected Unmarshaller(
178: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context,
179: int startState) {
180: this (context);
181: state = startState;
182: }
183:
184: public java.lang.Object owner() {
185: return com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.MessageFieldDefTypeImpl.this ;
186: }
187:
188: public void enterElement(java.lang.String ___uri,
189: java.lang.String ___local, java.lang.String ___qname,
190: org.xml.sax.Attributes __atts)
191: throws org.xml.sax.SAXException {
192: int attIdx;
193: outer: while (true) {
194: switch (state) {
195: case 6:
196: if (("DataTypeRef" == ___local)
197: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
198: context.pushAttributes(__atts, true);
199: state = 7;
200: return;
201: }
202: break;
203: case 0:
204: if (("Name" == ___local)
205: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
206: context.pushAttributes(__atts, true);
207: state = 1;
208: return;
209: }
210: break;
211: case 9:
212: revertToParentFromEnterElement(___uri, ___local,
213: ___qname, __atts);
214: return;
215: case 3:
216: if (("Description" == ___local)
217: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
218: context.pushAttributes(__atts, true);
219: state = 4;
220: return;
221: }
222: break;
223: }
224: super .enterElement(___uri, ___local, ___qname, __atts);
225: break;
226: }
227: }
228:
229: public void leaveElement(java.lang.String ___uri,
230: java.lang.String ___local, java.lang.String ___qname)
231: throws org.xml.sax.SAXException {
232: int attIdx;
233: outer: while (true) {
234: switch (state) {
235: case 9:
236: revertToParentFromLeaveElement(___uri, ___local,
237: ___qname);
238: return;
239: case 8:
240: if (("DataTypeRef" == ___local)
241: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
242: context.popAttributes();
243: state = 9;
244: return;
245: }
246: break;
247: case 5:
248: if (("Description" == ___local)
249: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
250: context.popAttributes();
251: state = 6;
252: return;
253: }
254: break;
255: case 2:
256: if (("Name" == ___local)
257: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
258: context.popAttributes();
259: state = 3;
260: return;
261: }
262: break;
263: }
264: super .leaveElement(___uri, ___local, ___qname);
265: break;
266: }
267: }
268:
269: public void enterAttribute(java.lang.String ___uri,
270: java.lang.String ___local, java.lang.String ___qname)
271: throws org.xml.sax.SAXException {
272: int attIdx;
273: outer: while (true) {
274: switch (state) {
275: case 9:
276: revertToParentFromEnterAttribute(___uri, ___local,
277: ___qname);
278: return;
279: }
280: super .enterAttribute(___uri, ___local, ___qname);
281: break;
282: }
283: }
284:
285: public void leaveAttribute(java.lang.String ___uri,
286: java.lang.String ___local, java.lang.String ___qname)
287: throws org.xml.sax.SAXException {
288: int attIdx;
289: outer: while (true) {
290: switch (state) {
291: case 9:
292: revertToParentFromLeaveAttribute(___uri, ___local,
293: ___qname);
294: return;
295: }
296: super .leaveAttribute(___uri, ___local, ___qname);
297: break;
298: }
299: }
300:
301: public void handleText(final java.lang.String value)
302: throws org.xml.sax.SAXException {
303: int attIdx;
304: outer: while (true) {
305: try {
306: switch (state) {
307: case 9:
308: revertToParentFromText(value);
309: return;
310: case 4:
311: eatText1(value);
312: state = 5;
313: return;
314: case 7:
315: eatText2(value);
316: state = 8;
317: return;
318: case 1:
319: eatText3(value);
320: state = 2;
321: return;
322: }
323: } catch (java.lang.RuntimeException e) {
324: handleUnexpectedTextException(value, e);
325: }
326: break;
327: }
328: }
329:
330: private void eatText1(final java.lang.String value)
331: throws org.xml.sax.SAXException {
332: try {
333: _Description = value;
334: } catch (java.lang.Exception e) {
335: handleParseConversionException(e);
336: }
337: }
338:
339: private void eatText2(final java.lang.String value)
340: throws org.xml.sax.SAXException {
341: try {
342: _DataTypeRef = value;
343: } catch (java.lang.Exception e) {
344: handleParseConversionException(e);
345: }
346: }
347:
348: private void eatText3(final java.lang.String value)
349: throws org.xml.sax.SAXException {
350: try {
351: _Name = value;
352: } catch (java.lang.Exception e) {
353: handleParseConversionException(e);
354: }
355: }
356:
357: }
358:
359: }
|