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 DomainRefListTypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.DomainRefListType,
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 _DomainRef;
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.DomainRefListType.class);
024: }
025:
026: protected com.sun.xml.bind.util.ListImpl _getDomainRef() {
027: if (_DomainRef == null) {
028: _DomainRef = new com.sun.xml.bind.util.ListImpl(
029: new java.util.ArrayList());
030: }
031: return _DomainRef;
032: }
033:
034: public java.util.List getDomainRef() {
035: return _getDomainRef();
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.DomainRefListTypeImpl.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 = ((_DomainRef == null) ? 0 : _DomainRef.size());
049: while (idx1 != len1) {
050: context
051: .startElement(
052: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
053: "DomainRef");
054: int idx_0 = idx1;
055: try {
056: idx_0 += 1;
057: } catch (java.lang.Exception e) {
058: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
059: .handlePrintConversionException(this , e,
060: context);
061: }
062: context.endNamespaceDecls();
063: int idx_1 = idx1;
064: try {
065: idx_1 += 1;
066: } catch (java.lang.Exception e) {
067: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
068: .handlePrintConversionException(this , e,
069: context);
070: }
071: context.endAttributes();
072: try {
073: context.text(
074: ((java.lang.String) _DomainRef.get(idx1++)),
075: "DomainRef");
076: } catch (java.lang.Exception e) {
077: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
078: .handlePrintConversionException(this , e,
079: context);
080: }
081: context.endElement();
082: }
083: }
084:
085: public void serializeAttributes(
086: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
087: throws org.xml.sax.SAXException {
088: int idx1 = 0;
089: final int len1 = ((_DomainRef == null) ? 0 : _DomainRef.size());
090: while (idx1 != len1) {
091: try {
092: idx1 += 1;
093: } catch (java.lang.Exception e) {
094: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
095: .handlePrintConversionException(this , e,
096: context);
097: }
098: }
099: }
100:
101: public void serializeURIs(
102: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
103: throws org.xml.sax.SAXException {
104: int idx1 = 0;
105: final int len1 = ((_DomainRef == null) ? 0 : _DomainRef.size());
106: while (idx1 != len1) {
107: try {
108: idx1 += 1;
109: } catch (java.lang.Exception e) {
110: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
111: .handlePrintConversionException(this , e,
112: context);
113: }
114: }
115: }
116:
117: public java.lang.Class getPrimaryInterface() {
118: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.DomainRefListType.class);
119: }
120:
121: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
122: if (schemaFragment == null) {
123: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
124: .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."
125: + "msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gramm"
126: + "ar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression"
127: + "\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bex"
128: + "pandedExpq\u0000~\u0000\u0002xpppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000"
129: + "\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"
130: + "q\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun"
131: + ".msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLc"
132: + "om/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Element"
133: + "Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000"
134: + "~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\np\u0000sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
135: + "\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001f"
136: + "Lorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/"
137: + "sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000#com.sun.msv.datatype.xsd"
138: + ".StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.dataty"
139: + "pe.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype."
140: + "xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDa"
141: + "tatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\b"
142: + "typeNameq\u0000~\u0000\u0019L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/White"
143: + "SpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006strin"
144: + "gsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000"
145: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000"
146: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpress"
147: + "ion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d"
148: + "\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xpq\u0000~\u0000\u001dq\u0000~\u0000\u001csq\u0000~\u0000\u0000p"
149: + "psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L"
150: + "\u0000\tnameClassq\u0000~\u0000\fxq\u0000~\u0000\u0003q\u0000~\u0000\npsq\u0000~\u0000\u0011ppsr\u0000\"com.sun.msv.datatype"
151: + ".xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0016q\u0000~\u0000\u001ct\u0000\u0005QNamesr\u00005com.sun.msv."
152: + "datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001fq\u0000"
153: + "~\u0000\"sq\u0000~\u0000#q\u0000~\u0000+q\u0000~\u0000\u001csr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000"
154: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xr\u0000\u001dcom.sun.ms"
155: + "v.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/"
156: + "2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression$Ep"
157: + "silonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\t\u0001q\u0000~\u00005sq\u0000~\u0000/t\u0000\tDomainR"
158: + "eft\u0000Ihttp://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/E"
159: + "nterpriseModel/1.0q\u0000~\u00005sr\u0000\"com.sun.msv.grammar.ExpressionPoo"
160: + "l\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPoo"
161: + "l$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$Closed"
162: + "Hash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/"
163: + "msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0004\u0001pq\u0000~\u0000\u0005q\u0000~\u0000%q\u0000~\u0000\u0010q\u0000~\u0000\bx"));
164: }
165: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
166: schemaFragment);
167: }
168:
169: public class Unmarshaller
170: extends
171: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
172:
173: public Unmarshaller(
174: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
175: super (context, "----");
176: }
177:
178: protected Unmarshaller(
179: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context,
180: int startState) {
181: this (context);
182: state = startState;
183: }
184:
185: public java.lang.Object owner() {
186: return com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.DomainRefListTypeImpl.this ;
187: }
188:
189: public void enterElement(java.lang.String ___uri,
190: java.lang.String ___local, java.lang.String ___qname,
191: org.xml.sax.Attributes __atts)
192: throws org.xml.sax.SAXException {
193: int attIdx;
194: outer: while (true) {
195: switch (state) {
196: case 3:
197: if (("DomainRef" == ___local)
198: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
199: context.pushAttributes(__atts, true);
200: state = 1;
201: return;
202: }
203: revertToParentFromEnterElement(___uri, ___local,
204: ___qname, __atts);
205: return;
206: case 0:
207: if (("DomainRef" == ___local)
208: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
209: context.pushAttributes(__atts, true);
210: state = 1;
211: return;
212: }
213: state = 3;
214: continue outer;
215: }
216: super .enterElement(___uri, ___local, ___qname, __atts);
217: break;
218: }
219: }
220:
221: public void leaveElement(java.lang.String ___uri,
222: java.lang.String ___local, java.lang.String ___qname)
223: throws org.xml.sax.SAXException {
224: int attIdx;
225: outer: while (true) {
226: switch (state) {
227: case 2:
228: if (("DomainRef" == ___local)
229: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
230: context.popAttributes();
231: state = 3;
232: return;
233: }
234: break;
235: case 3:
236: revertToParentFromLeaveElement(___uri, ___local,
237: ___qname);
238: return;
239: case 0:
240: state = 3;
241: continue outer;
242: }
243: super .leaveElement(___uri, ___local, ___qname);
244: break;
245: }
246: }
247:
248: public void enterAttribute(java.lang.String ___uri,
249: java.lang.String ___local, java.lang.String ___qname)
250: throws org.xml.sax.SAXException {
251: int attIdx;
252: outer: while (true) {
253: switch (state) {
254: case 3:
255: revertToParentFromEnterAttribute(___uri, ___local,
256: ___qname);
257: return;
258: case 0:
259: state = 3;
260: continue outer;
261: }
262: super .enterAttribute(___uri, ___local, ___qname);
263: break;
264: }
265: }
266:
267: public void leaveAttribute(java.lang.String ___uri,
268: java.lang.String ___local, java.lang.String ___qname)
269: throws org.xml.sax.SAXException {
270: int attIdx;
271: outer: while (true) {
272: switch (state) {
273: case 3:
274: revertToParentFromLeaveAttribute(___uri, ___local,
275: ___qname);
276: return;
277: case 0:
278: state = 3;
279: continue outer;
280: }
281: super .leaveAttribute(___uri, ___local, ___qname);
282: break;
283: }
284: }
285:
286: public void handleText(final java.lang.String value)
287: throws org.xml.sax.SAXException {
288: int attIdx;
289: outer: while (true) {
290: try {
291: switch (state) {
292: case 3:
293: revertToParentFromText(value);
294: return;
295: case 1:
296: eatText1(value);
297: state = 2;
298: return;
299: case 0:
300: state = 3;
301: continue outer;
302: }
303: } catch (java.lang.RuntimeException e) {
304: handleUnexpectedTextException(value, e);
305: }
306: break;
307: }
308: }
309:
310: private void eatText1(final java.lang.String value)
311: throws org.xml.sax.SAXException {
312: try {
313: _getDomainRef().add(value);
314: } catch (java.lang.Exception e) {
315: handleParseConversionException(e);
316: }
317: }
318:
319: }
320:
321: }
|