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 StateTypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.StateType,
013: com.sun.xml.bind.RIElement,
014: com.sun.xml.bind.JAXBObject,
015: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallableObject,
016: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializable,
017: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.ValidatableObject {
018:
019: protected java.lang.String _Value;
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: public StateTypeImpl() {
024: }
025:
026: public StateTypeImpl(java.lang.String value) {
027: _Value = value;
028: }
029:
030: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
031: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.StateType.class);
032: }
033:
034: public java.lang.String ____jaxb_ri____getNamespaceURI() {
035: return "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0";
036: }
037:
038: public java.lang.String ____jaxb_ri____getLocalName() {
039: return "StateType";
040: }
041:
042: public java.lang.String getValue() {
043: return _Value;
044: }
045:
046: public void setValue(java.lang.String value) {
047: _Value = value;
048: }
049:
050: public com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
051: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
052: return new com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.StateTypeImpl.Unmarshaller(
053: context);
054: }
055:
056: public void serializeBody(
057: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
058: throws org.xml.sax.SAXException {
059: context
060: .startElement(
061: "http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0",
062: "StateType");
063: context.endNamespaceDecls();
064: context.endAttributes();
065: try {
066: context.text(((java.lang.String) _Value), "Value");
067: } catch (java.lang.Exception e) {
068: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.Util
069: .handlePrintConversionException(this , e, context);
070: }
071: context.endElement();
072: }
073:
074: public void serializeAttributes(
075: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
076: throws org.xml.sax.SAXException {
077: }
078:
079: public void serializeURIs(
080: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.XMLSerializer context)
081: throws org.xml.sax.SAXException {
082: }
083:
084: public java.lang.Class getPrimaryInterface() {
085: return (com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.StateType.class);
086: }
087:
088: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
089: if (schemaFragment == null) {
090: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
091: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
092: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
093: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
094: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
095: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
096: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
097: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
098: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.g"
099: + "rammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datat"
100: + "ype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000"
101: + "~\u0000\u0004ppsr\u0000)com.sun.msv.datatype.xsd.EnumerationFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
102: + "\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/Set;xr\u00009com.sun.msv.datatype.xsd.Dat"
103: + "aTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.data"
104: + "type.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needV"
105: + "alueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd/XSDatat"
106: + "ypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/Concrete"
107: + "Type;L\u0000\tfacetNamet\u0000\u0012Ljava/lang/String;xr\u0000\'com.sun.msv.dataty"
108: + "pe.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u0014L\u0000\btypeN"
109: + "ameq\u0000~\u0000\u0014L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpace"
110: + "Processor;xpt\u0000Ihttp://www.metaboss.com/XMLSchemas/MetaBoss/S"
111: + "dlcTools/EnterpriseModel/1.0psr\u00005com.sun.msv.datatype.xsd.Wh"
112: + "iteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatyp"
113: + "e.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0000\u0000sr\u0000#com.sun.msv.data"
114: + "type.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.ms"
115: + "v.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.d"
116: + "atatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0015t\u0000 http://www.w3.or"
117: + "g/2001/XMLSchemat\u0000\u0006stringq\u0000~\u0000\u001b\u0001q\u0000~\u0000\u001ft\u0000\u000benumerationsr\u0000\u0011java.u"
118: + "til.HashSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0003t\u0000\u0006NORMALt\u0000\u0005FINALt\u0000\u0007IN"
119: + "ITIALxsr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000"
120: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L"
121: + "\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xpt\u0000\u000estring-derivedq\u0000~\u0000\u0018"
122: + "sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com."
123: + "sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameCla"
124: + "ssq\u0000~\u0000\u0001xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000"
125: + "~\u0000\nppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001d"
126: + "q\u0000~\u0000 t\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcesso"
127: + "r$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001aq\u0000~\u0000)sq\u0000~\u0000*q\u0000~\u00006q\u0000~\u0000 sr\u0000#com.sun."
128: + "msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fna"
129: + "mespaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
130: + "pt\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instancesr\u00000com."
131: + "sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
132: + "\u0004sq\u0000~\u00001\u0001q\u0000~\u0000@sq\u0000~\u0000:t\u0000\tStateTypeq\u0000~\u0000\u0018sr\u0000\"com.sun.msv.grammar."
133: + "ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/"
134: + "ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Expressi"
135: + "onPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006paren"
136: + "tt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0002\u0001pq\u0000~\u0000\tq\u0000~\u0000.x"));
137: }
138: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
139: schemaFragment);
140: }
141:
142: public class Unmarshaller
143: extends
144: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
145:
146: public Unmarshaller(
147: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context) {
148: super (context, "----");
149: }
150:
151: protected Unmarshaller(
152: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.runtime.UnmarshallingContext context,
153: int startState) {
154: this (context);
155: state = startState;
156: }
157:
158: public java.lang.Object owner() {
159: return com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.impl.StateTypeImpl.this ;
160: }
161:
162: public void enterElement(java.lang.String ___uri,
163: java.lang.String ___local, java.lang.String ___qname,
164: org.xml.sax.Attributes __atts)
165: throws org.xml.sax.SAXException {
166: int attIdx;
167: outer: while (true) {
168: switch (state) {
169: case 0:
170: if (("StateType" == ___local)
171: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
172: context.pushAttributes(__atts, true);
173: state = 1;
174: return;
175: }
176: break;
177: case 3:
178: revertToParentFromEnterElement(___uri, ___local,
179: ___qname, __atts);
180: return;
181: }
182: super .enterElement(___uri, ___local, ___qname, __atts);
183: break;
184: }
185: }
186:
187: public void leaveElement(java.lang.String ___uri,
188: java.lang.String ___local, java.lang.String ___qname)
189: throws org.xml.sax.SAXException {
190: int attIdx;
191: outer: while (true) {
192: switch (state) {
193: case 2:
194: if (("StateType" == ___local)
195: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
196: context.popAttributes();
197: state = 3;
198: return;
199: }
200: break;
201: case 3:
202: revertToParentFromLeaveElement(___uri, ___local,
203: ___qname);
204: return;
205: }
206: super .leaveElement(___uri, ___local, ___qname);
207: break;
208: }
209: }
210:
211: public void enterAttribute(java.lang.String ___uri,
212: java.lang.String ___local, java.lang.String ___qname)
213: throws org.xml.sax.SAXException {
214: int attIdx;
215: outer: while (true) {
216: switch (state) {
217: case 3:
218: revertToParentFromEnterAttribute(___uri, ___local,
219: ___qname);
220: return;
221: }
222: super .enterAttribute(___uri, ___local, ___qname);
223: break;
224: }
225: }
226:
227: public void leaveAttribute(java.lang.String ___uri,
228: java.lang.String ___local, java.lang.String ___qname)
229: throws org.xml.sax.SAXException {
230: int attIdx;
231: outer: while (true) {
232: switch (state) {
233: case 3:
234: revertToParentFromLeaveAttribute(___uri, ___local,
235: ___qname);
236: return;
237: }
238: super .leaveAttribute(___uri, ___local, ___qname);
239: break;
240: }
241: }
242:
243: public void handleText(final java.lang.String value)
244: throws org.xml.sax.SAXException {
245: int attIdx;
246: outer: while (true) {
247: try {
248: switch (state) {
249: case 1:
250: eatText1(value);
251: state = 2;
252: return;
253: case 3:
254: revertToParentFromText(value);
255: return;
256: }
257: } catch (java.lang.RuntimeException e) {
258: handleUnexpectedTextException(value, e);
259: }
260: break;
261: }
262: }
263:
264: private void eatText1(final java.lang.String value)
265: throws org.xml.sax.SAXException {
266: try {
267: _Value = value;
268: } catch (java.lang.Exception e) {
269: handleParseConversionException(e);
270: }
271: }
272:
273: }
274:
275: }
|