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 AssociationRoleStereotypeImpl
011: implements
012: com.metaboss.sdlctools.domains.enterprisemodel.storage.xmlfileimpl.dom.AssociationRoleStereotype,
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 AssociationRoleStereotypeImpl() {
024: }
025:
026: public AssociationRoleStereotypeImpl(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.AssociationRoleStereotype.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 "AssociationRoleStereotype";
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.AssociationRoleStereotypeImpl.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: "AssociationRoleStereotype");
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.AssociationRoleStereotype.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.0t\u0000\u0019AssociationRoleStereotypesr\u00005"
112: + "com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
113: + "\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
114: + "\u0002\u0000\u0000xp\u0000\u0000sr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\r"
115: + "isAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000"
116: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
117: + "\u0000\u0000xq\u0000~\u0000\u0015t\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringq\u0000~\u0000\u001c\u0001q\u0000"
118: + "~\u0000 t\u0000\u000benumerationsr\u0000\u0011java.util.HashSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000\u0010?@\u0000"
119: + "\u0000\u0000\u0000\u0000\u0003t\u0000\u000bASSOCIATIONt\u0000\u000bAGGREGATIONt\u0000\u000bCOMPOSITIONxsr\u00000com.sun."
120: + "msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004pps"
121: + "r\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000"
122: + "\fnamespaceURIq\u0000~\u0000\u0014xpq\u0000~\u0000\u0019q\u0000~\u0000\u0018sr\u0000\u001dcom.sun.msv.grammar.Choice"
123: + "Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000"
124: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boo"
125: + "lean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\nppsr\u0000\"com.sun.msv.datatype."
126: + "xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001eq\u0000~\u0000!t\u0000\u0005QNamesr\u00005com.sun.msv.d"
127: + "atatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001bq\u0000~"
128: + "\u0000*sq\u0000~\u0000+q\u0000~\u00006q\u0000~\u0000!sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000"
129: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun.msv"
130: + ".grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2"
131: + "001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression$Eps"
132: + "ilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u00001\u0001q\u0000~\u0000@sq\u0000~\u0000:t\u0000\u0019Associat"
133: + "ionRoleStereotypeq\u0000~\u0000\u0018sr\u0000\"com.sun.msv.grammar.ExpressionPool"
134: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool"
135: + "$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedH"
136: + "ash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/m"
137: + "sv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0002\u0001pq\u0000~\u0000.q\u0000~\u0000\tx"));
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.AssociationRoleStereotypeImpl.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 3:
171: revertToParentFromEnterElement(___uri, ___local,
172: ___qname, __atts);
173: return;
174: case 0:
175: if (("AssociationRoleStereotype" == ___local)
176: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
177: context.pushAttributes(__atts, true);
178: state = 1;
179: return;
180: }
181: break;
182: }
183: super .enterElement(___uri, ___local, ___qname, __atts);
184: break;
185: }
186: }
187:
188: public void leaveElement(java.lang.String ___uri,
189: java.lang.String ___local, java.lang.String ___qname)
190: throws org.xml.sax.SAXException {
191: int attIdx;
192: outer: while (true) {
193: switch (state) {
194: case 2:
195: if (("AssociationRoleStereotype" == ___local)
196: && ("http://www.metaboss.com/XMLSchemas/MetaBoss/SdlcTools/EnterpriseModel/1.0" == ___uri)) {
197: context.popAttributes();
198: state = 3;
199: return;
200: }
201: break;
202: case 3:
203: revertToParentFromLeaveElement(___uri, ___local,
204: ___qname);
205: return;
206: }
207: super .leaveElement(___uri, ___local, ___qname);
208: break;
209: }
210: }
211:
212: public void enterAttribute(java.lang.String ___uri,
213: java.lang.String ___local, java.lang.String ___qname)
214: throws org.xml.sax.SAXException {
215: int attIdx;
216: outer: while (true) {
217: switch (state) {
218: case 3:
219: revertToParentFromEnterAttribute(___uri, ___local,
220: ___qname);
221: return;
222: }
223: super .enterAttribute(___uri, ___local, ___qname);
224: break;
225: }
226: }
227:
228: public void leaveAttribute(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 3:
235: revertToParentFromLeaveAttribute(___uri, ___local,
236: ___qname);
237: return;
238: }
239: super .leaveAttribute(___uri, ___local, ___qname);
240: break;
241: }
242: }
243:
244: public void handleText(final java.lang.String value)
245: throws org.xml.sax.SAXException {
246: int attIdx;
247: outer: while (true) {
248: try {
249: switch (state) {
250: case 3:
251: revertToParentFromText(value);
252: return;
253: case 1:
254: eatText1(value);
255: state = 2;
256: return;
257: }
258: } catch (java.lang.RuntimeException e) {
259: handleUnexpectedTextException(value, e);
260: }
261: break;
262: }
263: }
264:
265: private void eatText1(final java.lang.String value)
266: throws org.xml.sax.SAXException {
267: try {
268: _Value = value;
269: } catch (java.lang.Exception e) {
270: handleParseConversionException(e);
271: }
272: }
273:
274: }
275:
276: }
|