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