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