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