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 TypeTemplatePropertyListTypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.TypeTemplatePropertyListType,
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 _Property;
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.TypeTemplatePropertyListType.class);
024: }
025:
026: protected com.sun.xml.bind.util.ListImpl _getProperty() {
027: if (_Property == null) {
028: _Property = new com.sun.xml.bind.util.ListImpl(
029: new java.util.ArrayList());
030: }
031: return _Property;
032: }
033:
034: public java.util.List getProperty() {
035: return _getProperty();
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.TypeTemplatePropertyListTypeImpl.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 = ((_Property == null) ? 0 : _Property.size());
049: while (idx1 != len1) {
050: if (_Property.get(idx1) instanceof javax.xml.bind.Element) {
051: context.childAsBody(
052: ((com.sun.xml.bind.JAXBObject) _Property
053: .get(idx1++)), "Property");
054: } else {
055: context
056: .startElement(
057: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
058: "Property");
059: int idx_0 = idx1;
060: context.childAsURIs(
061: ((com.sun.xml.bind.JAXBObject) _Property
062: .get(idx_0++)), "Property");
063: context.endNamespaceDecls();
064: int idx_1 = idx1;
065: context.childAsAttributes(
066: ((com.sun.xml.bind.JAXBObject) _Property
067: .get(idx_1++)), "Property");
068: context.endAttributes();
069: context.childAsBody(
070: ((com.sun.xml.bind.JAXBObject) _Property
071: .get(idx1++)), "Property");
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 = ((_Property == null) ? 0 : _Property.size());
082: while (idx1 != len1) {
083: if (_Property.get(idx1) instanceof javax.xml.bind.Element) {
084: context.childAsAttributes(
085: ((com.sun.xml.bind.JAXBObject) _Property
086: .get(idx1++)), "Property");
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 = ((_Property == null) ? 0 : _Property.size());
098: while (idx1 != len1) {
099: if (_Property.get(idx1) instanceof javax.xml.bind.Element) {
100: context.childAsURIs(
101: ((com.sun.xml.bind.JAXBObject) _Property
102: .get(idx1++)), "Property");
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.TypeTemplatePropertyListType.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\u0000Ocom.metaboss.sdlctools.domains.enterpr"
135: + "isemodel.storage.xmlfileimpl.dom.Propertyt\u0000+http://java.sun."
136: + "com/jaxb/xjc/dummy-elementssq\u0000~\u0000\fq\u0000~\u0000\np\u0000sr\u0000\u001fcom.sun.msv.gram"
137: + "mar.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\u0000Scom.metaboss.sdlctool"
139: + "s.domains.enterprisemodel.storage.xmlfileimpl.dom.PropertyTy"
140: + "peq\u0000~\u0000 sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0012q\u0000~\u0000\npsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000"
141: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~"
142: + "\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun"
143: + ".msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.dataty"
144: + "pe.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype."
145: + "xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDa"
146: + "tatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001dL\u0000\btypeNameq\u0000~\u0000\u001dL\u0000\n"
147: + "whiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;x"
148: + "pt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv."
149: + "datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com."
150: + "sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com"
151: + ".sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~"
152: + "\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000"
153: + "~\u0000\u001dL\u0000\fnamespaceURIq\u0000~\u0000\u001dxpq\u0000~\u00007q\u0000~\u00006sq\u0000~\u0000\u001ct\u0000\u0004typet\u0000)http://ww"
154: + "w.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001bsq\u0000~\u0000\u001ct\u0000\bPropertyt\u0000Ihtt"
155: + "p://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/Enterpris"
156: + "eModel/1.0q\u0000~\u0000\u001bsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
157: + "\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Closed"
158: + "Hash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N"
159: + "\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/gram"
160: + "mar/ExpressionPool;xp\u0000\u0000\u0000\t\u0001pq\u0000~\u0000\bq\u0000~\u0000\u0005q\u0000~\u0000#q\u0000~\u0000\u0011q\u0000~\u0000&q\u0000~\u0000*q\u0000~"
161: + "\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.TypeTemplatePropertyListTypeImpl.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 2:
195: if (("Name" == ___local)
196: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
197: _getProperty()
198: .add(
199: ((com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.PropertyTypeImpl) spawnChildFromEnterElement(
200: (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.PropertyTypeImpl.class),
201: 3, ___uri, ___local,
202: ___qname, __atts)));
203: return;
204: }
205: break;
206: case 0:
207: if (("Property" == ___local)
208: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
209: _getProperty()
210: .add(
211: ((com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.PropertyImpl) spawnChildFromEnterElement(
212: (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.PropertyImpl.class),
213: 1, ___uri, ___local,
214: ___qname, __atts)));
215: return;
216: }
217: if (("Property" == ___local)
218: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
219: context.pushAttributes(__atts, false);
220: state = 2;
221: return;
222: }
223: state = 1;
224: continue outer;
225: case 1:
226: if (("Property" == ___local)
227: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
228: _getProperty()
229: .add(
230: ((com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.PropertyImpl) spawnChildFromEnterElement(
231: (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.PropertyImpl.class),
232: 1, ___uri, ___local,
233: ___qname, __atts)));
234: return;
235: }
236: if (("Property" == ___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 3:
258: if (("Property" == ___local)
259: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
260: context.popAttributes();
261: state = 1;
262: return;
263: }
264: break;
265: case 0:
266: state = 1;
267: continue outer;
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: }
|