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 ServiceDefListTypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.ServiceDefListType,
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 com.sun.xml.bind.util.ListImpl _ServiceDef;
019: public final static java.lang.Class version = (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.JAXBVersion.class);
020: private static com.sun.msv.grammar.Grammar schemaFragment;
021:
022: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
023: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.ServiceDefListType.class);
024: }
025:
026: protected com.sun.xml.bind.util.ListImpl _getServiceDef() {
027: if (_ServiceDef == null) {
028: _ServiceDef = new com.sun.xml.bind.util.ListImpl(
029: new java.util.ArrayList());
030: }
031: return _ServiceDef;
032: }
033:
034: public java.util.List getServiceDef() {
035: return _getServiceDef();
036: }
037:
038: public com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
039: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
040: return new com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefListTypeImpl.Unmarshaller(
041: context);
042: }
043:
044: public void serializeBody(
045: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
046: throws org.xml.sax.SAXException {
047: int idx1 = 0;
048: final int len1 = ((_ServiceDef == null) ? 0 : _ServiceDef
049: .size());
050: while (idx1 != len1) {
051: if (_ServiceDef.get(idx1) instanceof javax.xml.bind.Element) {
052: context.childAsBody(
053: ((com.sun.xml.bind.JAXBObject) _ServiceDef
054: .get(idx1++)), "ServiceDef");
055: } else {
056: context
057: .startElement(
058: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
059: "ServiceDef");
060: int idx_0 = idx1;
061: context.childAsURIs(
062: ((com.sun.xml.bind.JAXBObject) _ServiceDef
063: .get(idx_0++)), "ServiceDef");
064: context.endNamespaceDecls();
065: int idx_1 = idx1;
066: context.childAsAttributes(
067: ((com.sun.xml.bind.JAXBObject) _ServiceDef
068: .get(idx_1++)), "ServiceDef");
069: context.endAttributes();
070: context.childAsBody(
071: ((com.sun.xml.bind.JAXBObject) _ServiceDef
072: .get(idx1++)), "ServiceDef");
073: context.endElement();
074: }
075: }
076: }
077:
078: public void serializeAttributes(
079: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
080: throws org.xml.sax.SAXException {
081: int idx1 = 0;
082: final int len1 = ((_ServiceDef == null) ? 0 : _ServiceDef
083: .size());
084: while (idx1 != len1) {
085: if (_ServiceDef.get(idx1) instanceof javax.xml.bind.Element) {
086: context.childAsAttributes(
087: ((com.sun.xml.bind.JAXBObject) _ServiceDef
088: .get(idx1++)), "ServiceDef");
089: } else {
090: idx1 += 1;
091: }
092: }
093: }
094:
095: public void serializeURIs(
096: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
097: throws org.xml.sax.SAXException {
098: int idx1 = 0;
099: final int len1 = ((_ServiceDef == null) ? 0 : _ServiceDef
100: .size());
101: while (idx1 != len1) {
102: if (_ServiceDef.get(idx1) instanceof javax.xml.bind.Element) {
103: context.childAsURIs(
104: ((com.sun.xml.bind.JAXBObject) _ServiceDef
105: .get(idx1++)), "ServiceDef");
106: } else {
107: idx1 += 1;
108: }
109: }
110: }
111:
112: public java.lang.Class getPrimaryInterface() {
113: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.ServiceDefListType.class);
114: }
115:
116: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
117: if (schemaFragment == null) {
118: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
119: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun."
120: + "msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gramm"
121: + "ar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression"
122: + "\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bex"
123: + "pandedExpq\u0000~\u0000\u0002xpppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000"
124: + "\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002x"
125: + "q\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000q\u0000~\u0000\n"
126: + "psr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tna"
127: + "meClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.gra"
128: + "mmar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fco"
129: + "ntentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0006q\u0000~\u0000\npsr\u0000 com.sun."
130: + "msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000"
131: + "~\u0000\rxq\u0000~\u0000\u0003q\u0000~\u0000\npsr\u00002com.sun.msv.grammar.Expression$AnyStringE"
132: + "xpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\t\u0001q\u0000~\u0000\u0015sr\u0000 com.sun.msv.gramma"
133: + "r.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000"
134: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpress"
135: + "ion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0016q\u0000~\u0000\u001bsr\u0000#com.sun.msv.grammar.Simple"
136: + "NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fname"
137: + "spaceURIq\u0000~\u0000\u001dxq\u0000~\u0000\u0018t\u0000Qcom.metaboss.sdlctools.domains.enterpr"
138: + "isemodel.storage.xmlfileimpl.dom.ServiceDeft\u0000+http://java.su"
139: + "n.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\fq\u0000~\u0000\np\u0000sr\u0000\u001fcom.sun.msv.gr"
140: + "ammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsq\u0000~\u0000\fpp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0006q"
141: + "\u0000~\u0000\npsq\u0000~\u0000\u0012q\u0000~\u0000\npq\u0000~\u0000\u0015q\u0000~\u0000\u0019q\u0000~\u0000\u001bsq\u0000~\u0000\u001ct\u0000Ucom.metaboss.sdlcto"
142: + "ols.domains.enterprisemodel.storage.xmlfileimpl.dom.ServiceD"
143: + "efTypeq\u0000~\u0000 sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0012q\u0000~\u0000\npsr\u0000\u001bcom.sun.msv.grammar.DataE"
144: + "xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006excep"
145: + "tq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com"
146: + ".sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.da"
147: + "tatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datat"
148: + "ype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd."
149: + "XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001dL\u0000\btypeNameq\u0000~\u0000"
150: + "\u001dL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcess"
151: + "or;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun."
152: + "msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,"
153: + "com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000"
154: + "0com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
155: + "xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNa"
156: + "meq\u0000~\u0000\u001dL\u0000\fnamespaceURIq\u0000~\u0000\u001dxpq\u0000~\u00007q\u0000~\u00006sq\u0000~\u0000\u001ct\u0000\u0004typet\u0000)http:"
157: + "//www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001bsq\u0000~\u0000\u001ct\u0000\nServiceDef"
158: + "t\u0000Ihttp://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/Ent"
159: + "erpriseModel/1.0q\u0000~\u0000\u001bsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000"
160: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$"
161: + "ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHa"
162: + "sh\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/ms"
163: + "v/grammar/ExpressionPool;xp\u0000\u0000\u0000\t\u0001pq\u0000~\u0000\bq\u0000~\u0000\u0005q\u0000~\u0000#q\u0000~\u0000\u0011q\u0000~\u0000&q\u0000"
164: + "~\u0000*q\u0000~\u0000\u0010q\u0000~\u0000%q\u0000~\u0000\u000bx"));
165: }
166: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
167: schemaFragment);
168: }
169:
170: public class Unmarshaller
171: extends
172: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
173:
174: public Unmarshaller(
175: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
176: super (context, "----");
177: }
178:
179: protected Unmarshaller(
180: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context,
181: int startState) {
182: this (context);
183: state = startState;
184: }
185:
186: public java.lang.Object owner() {
187: return com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefListTypeImpl.this ;
188: }
189:
190: public void enterElement(java.lang.String ___uri,
191: java.lang.String ___local, java.lang.String ___qname,
192: org.xml.sax.Attributes __atts)
193: throws org.xml.sax.SAXException {
194: int attIdx;
195: outer: while (true) {
196: switch (state) {
197: case 0:
198: if (("ServiceDef" == ___local)
199: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
200: _getServiceDef()
201: .add(
202: ((com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefImpl) spawnChildFromEnterElement(
203: (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefImpl.class),
204: 3, ___uri, ___local,
205: ___qname, __atts)));
206: return;
207: }
208: if (("ServiceDef" == ___local)
209: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
210: context.pushAttributes(__atts, false);
211: state = 1;
212: return;
213: }
214: state = 3;
215: continue outer;
216: case 3:
217: if (("ServiceDef" == ___local)
218: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
219: _getServiceDef()
220: .add(
221: ((com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefImpl) spawnChildFromEnterElement(
222: (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefImpl.class),
223: 3, ___uri, ___local,
224: ___qname, __atts)));
225: return;
226: }
227: if (("ServiceDef" == ___local)
228: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
229: context.pushAttributes(__atts, false);
230: state = 1;
231: return;
232: }
233: revertToParentFromEnterElement(___uri, ___local,
234: ___qname, __atts);
235: return;
236: case 1:
237: if (("ServiceRef" == ___local)
238: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
239: _getServiceDef()
240: .add(
241: ((com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefTypeImpl) spawnChildFromEnterElement(
242: (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ServiceDefTypeImpl.class),
243: 2, ___uri, ___local,
244: ___qname, __atts)));
245: return;
246: }
247: break;
248: }
249: super .enterElement(___uri, ___local, ___qname, __atts);
250: break;
251: }
252: }
253:
254: public void leaveElement(java.lang.String ___uri,
255: java.lang.String ___local, java.lang.String ___qname)
256: throws org.xml.sax.SAXException {
257: int attIdx;
258: outer: while (true) {
259: switch (state) {
260: case 0:
261: state = 3;
262: continue outer;
263: case 3:
264: revertToParentFromLeaveElement(___uri, ___local,
265: ___qname);
266: return;
267: case 2:
268: if (("ServiceDef" == ___local)
269: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
270: context.popAttributes();
271: state = 3;
272: return;
273: }
274: break;
275: }
276: super .leaveElement(___uri, ___local, ___qname);
277: break;
278: }
279: }
280:
281: public void enterAttribute(java.lang.String ___uri,
282: java.lang.String ___local, java.lang.String ___qname)
283: throws org.xml.sax.SAXException {
284: int attIdx;
285: outer: while (true) {
286: switch (state) {
287: case 0:
288: state = 3;
289: continue outer;
290: case 3:
291: revertToParentFromEnterAttribute(___uri, ___local,
292: ___qname);
293: return;
294: }
295: super .enterAttribute(___uri, ___local, ___qname);
296: break;
297: }
298: }
299:
300: public void leaveAttribute(java.lang.String ___uri,
301: java.lang.String ___local, java.lang.String ___qname)
302: throws org.xml.sax.SAXException {
303: int attIdx;
304: outer: while (true) {
305: switch (state) {
306: case 0:
307: state = 3;
308: continue outer;
309: case 3:
310: revertToParentFromLeaveAttribute(___uri, ___local,
311: ___qname);
312: return;
313: }
314: super .leaveAttribute(___uri, ___local, ___qname);
315: break;
316: }
317: }
318:
319: public void handleText(final java.lang.String value)
320: throws org.xml.sax.SAXException {
321: int attIdx;
322: outer: while (true) {
323: try {
324: switch (state) {
325: case 0:
326: state = 3;
327: continue outer;
328: case 3:
329: revertToParentFromText(value);
330: return;
331: }
332: } catch (java.lang.RuntimeException e) {
333: handleUnexpectedTextException(value, e);
334: }
335: break;
336: }
337: }
338:
339: }
340:
341: }
|