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 ApplicationDefTypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.ApplicationDefType,
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 java.lang.String _ApplicationRef;
019: protected java.lang.String _Description;
020: public final static java.lang.Class version = (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.JAXBVersion.class);
021: private static com.sun.msv.grammar.Grammar schemaFragment;
022:
023: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
024: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.ApplicationDefType.class);
025: }
026:
027: public java.lang.String getApplicationRef() {
028: return _ApplicationRef;
029: }
030:
031: public void setApplicationRef(java.lang.String value) {
032: _ApplicationRef = value;
033: }
034:
035: public java.lang.String getDescription() {
036: return _Description;
037: }
038:
039: public void setDescription(java.lang.String value) {
040: _Description = value;
041: }
042:
043: public com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
044: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
045: return new com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ApplicationDefTypeImpl.Unmarshaller(
046: context);
047: }
048:
049: public void serializeBody(
050: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
051: throws org.xml.sax.SAXException {
052: context
053: .startElement(
054: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
055: "ApplicationRef");
056: context.endNamespaceDecls();
057: context.endAttributes();
058: try {
059: context.text(((java.lang.String) _ApplicationRef),
060: "ApplicationRef");
061: } catch (java.lang.Exception e) {
062: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
063: .handlePrintConversionException(this , e, context);
064: }
065: context.endElement();
066: context
067: .startElement(
068: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
069: "Description");
070: context.endNamespaceDecls();
071: context.endAttributes();
072: try {
073: context.text(((java.lang.String) _Description),
074: "Description");
075: } catch (java.lang.Exception e) {
076: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
077: .handlePrintConversionException(this , e, context);
078: }
079: context.endElement();
080: }
081:
082: public void serializeAttributes(
083: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
084: throws org.xml.sax.SAXException {
085: }
086:
087: public void serializeURIs(
088: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
089: throws org.xml.sax.SAXException {
090: }
091:
092: public java.lang.Class getPrimaryInterface() {
093: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.ApplicationDefType.class);
094: }
095:
096: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
097: if (schemaFragment == null) {
098: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
099: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
100: + "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
101: + "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
102: + "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
103: + "expandedExpq\u0000~\u0000\u0002xpppsr\u0000\'com.sun.msv.grammar.trex.ElementPatt"
104: + "ern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;"
105: + "xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndecl"
106: + "aredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003pp\u0000sq\u0000~\u0000\u0000ppsr\u0000\u001bcom.s"
107: + "un.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/dataty"
108: + "pe/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/String"
109: + "Pair;xq\u0000~\u0000\u0003ppsr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
110: + "\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomi"
111: + "cType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000"
112: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
113: + "\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0013L\u0000\nwhi"
114: + "teSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000"
115: + " http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u00005com.sun.msv.da"
116: + "tatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.su"
117: + "n.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com."
118: + "sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
119: + "\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~"
120: + "\u0000\u0013L\u0000\fnamespaceURIq\u0000~\u0000\u0013xpq\u0000~\u0000\u0017q\u0000~\u0000\u0016sr\u0000\u001dcom.sun.msv.grammar.Ch"
121: + "oiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.AttributeE"
122: + "xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0007xq\u0000~\u0000\u0003sr\u0000\u0011java.lang"
123: + ".Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u000bppsr\u0000\"com.sun.msv.datat"
124: + "ype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0010q\u0000~\u0000\u0016t\u0000\u0005QNamesr\u00005com.sun.m"
125: + "sv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
126: + "\u0019q\u0000~\u0000\u001csq\u0000~\u0000\u001dq\u0000~\u0000(q\u0000~\u0000\u0016sr\u0000#com.sun.msv.grammar.SimpleNameClas"
127: + "s\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0013L\u0000\fnamespaceURIq\u0000~\u0000\u0013xr\u0000\u001dcom.sun"
128: + ".msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.o"
129: + "rg/2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression"
130: + "$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000#\u0001q\u0000~\u00002sq\u0000~\u0000,t\u0000\u000eAppl"
131: + "icationReft\u0000Ihttp://www.metaboss.com/XMLSchemas/MetaBoss/Sdl"
132: + "cTools/EnterpriseModel/1.0sq\u0000~\u0000\u0006pp\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000\u000esq\u0000~\u0000\u001fppsq\u0000~"
133: + "\u0000!q\u0000~\u0000$pq\u0000~\u0000%q\u0000~\u0000.q\u0000~\u00002sq\u0000~\u0000,t\u0000\u000bDescriptionq\u0000~\u00006sr\u0000\"com.sun."
134: + "msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/"
135: + "msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gram"
136: + "mar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVer"
137: + "sionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0005\u0001p"
138: + "q\u0000~\u0000\u0005q\u0000~\u0000 q\u0000~\u00009q\u0000~\u0000\nq\u0000~\u00008x"));
139: }
140: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
141: schemaFragment);
142: }
143:
144: public class Unmarshaller
145: extends
146: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
147:
148: public Unmarshaller(
149: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
150: super (context, "-------");
151: }
152:
153: protected Unmarshaller(
154: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context,
155: int startState) {
156: this (context);
157: state = startState;
158: }
159:
160: public java.lang.Object owner() {
161: return com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.ApplicationDefTypeImpl.this ;
162: }
163:
164: public void enterElement(java.lang.String ___uri,
165: java.lang.String ___local, java.lang.String ___qname,
166: org.xml.sax.Attributes __atts)
167: throws org.xml.sax.SAXException {
168: int attIdx;
169: outer: while (true) {
170: switch (state) {
171: case 3:
172: if (("Description" == ___local)
173: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
174: context.pushAttributes(__atts, true);
175: state = 4;
176: return;
177: }
178: break;
179: case 6:
180: revertToParentFromEnterElement(___uri, ___local,
181: ___qname, __atts);
182: return;
183: case 0:
184: if (("ApplicationRef" == ___local)
185: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
186: context.pushAttributes(__atts, true);
187: state = 1;
188: return;
189: }
190: break;
191: }
192: super .enterElement(___uri, ___local, ___qname, __atts);
193: break;
194: }
195: }
196:
197: public void leaveElement(java.lang.String ___uri,
198: java.lang.String ___local, java.lang.String ___qname)
199: throws org.xml.sax.SAXException {
200: int attIdx;
201: outer: while (true) {
202: switch (state) {
203: case 6:
204: revertToParentFromLeaveElement(___uri, ___local,
205: ___qname);
206: return;
207: case 5:
208: if (("Description" == ___local)
209: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
210: context.popAttributes();
211: state = 6;
212: return;
213: }
214: break;
215: case 2:
216: if (("ApplicationRef" == ___local)
217: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
218: context.popAttributes();
219: state = 3;
220: return;
221: }
222: break;
223: }
224: super .leaveElement(___uri, ___local, ___qname);
225: break;
226: }
227: }
228:
229: public void enterAttribute(java.lang.String ___uri,
230: java.lang.String ___local, java.lang.String ___qname)
231: throws org.xml.sax.SAXException {
232: int attIdx;
233: outer: while (true) {
234: switch (state) {
235: case 6:
236: revertToParentFromEnterAttribute(___uri, ___local,
237: ___qname);
238: return;
239: }
240: super .enterAttribute(___uri, ___local, ___qname);
241: break;
242: }
243: }
244:
245: public void leaveAttribute(java.lang.String ___uri,
246: java.lang.String ___local, java.lang.String ___qname)
247: throws org.xml.sax.SAXException {
248: int attIdx;
249: outer: while (true) {
250: switch (state) {
251: case 6:
252: revertToParentFromLeaveAttribute(___uri, ___local,
253: ___qname);
254: return;
255: }
256: super .leaveAttribute(___uri, ___local, ___qname);
257: break;
258: }
259: }
260:
261: public void handleText(final java.lang.String value)
262: throws org.xml.sax.SAXException {
263: int attIdx;
264: outer: while (true) {
265: try {
266: switch (state) {
267: case 1:
268: eatText1(value);
269: state = 2;
270: return;
271: case 6:
272: revertToParentFromText(value);
273: return;
274: case 4:
275: eatText2(value);
276: state = 5;
277: return;
278: }
279: } catch (java.lang.RuntimeException e) {
280: handleUnexpectedTextException(value, e);
281: }
282: break;
283: }
284: }
285:
286: private void eatText1(final java.lang.String value)
287: throws org.xml.sax.SAXException {
288: try {
289: _ApplicationRef = value;
290: } catch (java.lang.Exception e) {
291: handleParseConversionException(e);
292: }
293: }
294:
295: private void eatText2(final java.lang.String value)
296: throws org.xml.sax.SAXException {
297: try {
298: _Description = value;
299: } catch (java.lang.Exception e) {
300: handleParseConversionException(e);
301: }
302: }
303:
304: }
305:
306: }
|