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