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 ApplicationRefListTypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.ApplicationRefListType,
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 _ApplicationRef;
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.ApplicationRefListType.class);
024: }
025:
026: protected com.sun.xml.bind.util.ListImpl _getApplicationRef() {
027: if (_ApplicationRef == null) {
028: _ApplicationRef = new com.sun.xml.bind.util.ListImpl(
029: new java.util.ArrayList());
030: }
031: return _ApplicationRef;
032: }
033:
034: public java.util.List getApplicationRef() {
035: return _getApplicationRef();
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.ApplicationRefListTypeImpl.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 = ((_ApplicationRef == null) ? 0
049: : _ApplicationRef.size());
050: while (idx1 != len1) {
051: context
052: .startElement(
053: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
054: "ApplicationRef");
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) _ApplicationRef
075: .get(idx1++)), "ApplicationRef");
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 = ((_ApplicationRef == null) ? 0
090: : _ApplicationRef.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 = ((_ApplicationRef == null) ? 0
107: : _ApplicationRef.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.ApplicationRefListType.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\u000eApplica"
160: + "tionReft\u0000Ihttp://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTo"
161: + "ols/EnterpriseModel/1.0q\u0000~\u00005sr\u0000\"com.sun.msv.grammar.Expressi"
162: + "onPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Expressi"
163: + "onPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$C"
164: + "losedHash\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\b"
166: + "x"));
167: }
168: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
169: schemaFragment);
170: }
171:
172: public class Unmarshaller
173: extends
174: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
175:
176: public Unmarshaller(
177: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
178: super (context, "----");
179: }
180:
181: protected Unmarshaller(
182: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context,
183: int startState) {
184: this (context);
185: state = startState;
186: }
187:
188: public java.lang.Object owner() {
189: return com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ApplicationRefListTypeImpl.this ;
190: }
191:
192: public void enterElement(java.lang.String ___uri,
193: java.lang.String ___local, java.lang.String ___qname,
194: org.xml.sax.Attributes __atts)
195: throws org.xml.sax.SAXException {
196: int attIdx;
197: outer: while (true) {
198: switch (state) {
199: case 0:
200: if (("ApplicationRef" == ___local)
201: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
202: context.pushAttributes(__atts, true);
203: state = 1;
204: return;
205: }
206: state = 3;
207: continue outer;
208: case 3:
209: if (("ApplicationRef" == ___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: revertToParentFromEnterElement(___uri, ___local,
216: ___qname, __atts);
217: return;
218: }
219: super .enterElement(___uri, ___local, ___qname, __atts);
220: break;
221: }
222: }
223:
224: public void leaveElement(java.lang.String ___uri,
225: java.lang.String ___local, java.lang.String ___qname)
226: throws org.xml.sax.SAXException {
227: int attIdx;
228: outer: while (true) {
229: switch (state) {
230: case 0:
231: state = 3;
232: continue outer;
233: case 2:
234: if (("ApplicationRef" == ___local)
235: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
236: context.popAttributes();
237: state = 3;
238: return;
239: }
240: break;
241: case 3:
242: revertToParentFromLeaveElement(___uri, ___local,
243: ___qname);
244: return;
245: }
246: super .leaveElement(___uri, ___local, ___qname);
247: break;
248: }
249: }
250:
251: public void enterAttribute(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 = 3;
259: continue outer;
260: case 3:
261: revertToParentFromEnterAttribute(___uri, ___local,
262: ___qname);
263: return;
264: }
265: super .enterAttribute(___uri, ___local, ___qname);
266: break;
267: }
268: }
269:
270: public void leaveAttribute(java.lang.String ___uri,
271: java.lang.String ___local, java.lang.String ___qname)
272: throws org.xml.sax.SAXException {
273: int attIdx;
274: outer: while (true) {
275: switch (state) {
276: case 0:
277: state = 3;
278: continue outer;
279: case 3:
280: revertToParentFromLeaveAttribute(___uri, ___local,
281: ___qname);
282: return;
283: }
284: super .leaveAttribute(___uri, ___local, ___qname);
285: break;
286: }
287: }
288:
289: public void handleText(final java.lang.String value)
290: throws org.xml.sax.SAXException {
291: int attIdx;
292: outer: while (true) {
293: try {
294: switch (state) {
295: case 0:
296: state = 3;
297: continue outer;
298: case 3:
299: revertToParentFromText(value);
300: return;
301: case 1:
302: eatText1(value);
303: state = 2;
304: return;
305: }
306: } catch (java.lang.RuntimeException e) {
307: handleUnexpectedTextException(value, e);
308: }
309: break;
310: }
311: }
312:
313: private void eatText1(final java.lang.String value)
314: throws org.xml.sax.SAXException {
315: try {
316: _getApplicationRef().add(value);
317: } catch (java.lang.Exception e) {
318: handleParseConversionException(e);
319: }
320: }
321:
322: }
323:
324: }
|