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