001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:15 PM(kohsuke)-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: 2012.10.03 at 04:27:47 AM CEST 
006//
007
008
009package org.jdtaus.mojo.resource.model.impl;
010
011public class ImplementationReferenceImpl
012    extends org.jdtaus.mojo.resource.model.impl.SpecificationReferenceImpl
013    implements org.jdtaus.mojo.resource.model.ImplementationReference, com.sun.xml.bind.JAXBObject, org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallableObject, org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializable, org.jdtaus.mojo.resource.model.impl.runtime.ValidatableObject
014{
015
016    protected java.lang.String _ImplementationName;
017    public final static java.lang.Class version = (org.jdtaus.mojo.resource.model.impl.JAXBVersion.class);
018    private static com.sun.msv.grammar.Grammar schemaFragment;
019
020    private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
021        return (org.jdtaus.mojo.resource.model.ImplementationReference.class);
022    }
023
024    public java.lang.String getImplementationName() {
025        return _ImplementationName;
026    }
027
028    public void setImplementationName(java.lang.String value) {
029        _ImplementationName = value;
030    }
031
032    public org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
033        return new org.jdtaus.mojo.resource.model.impl.ImplementationReferenceImpl.Unmarshaller(context);
034    }
035
036    public void serializeBody(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
037        throws org.xml.sax.SAXException
038    {
039        super.serializeBody(context);
040    }
041
042    public void serializeAttributes(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
043        throws org.xml.sax.SAXException
044    {
045        if (_ImplementationName!= null) {
046            context.startAttribute("http://jdtaus.org/core/model/container", "implementationName");
047            try {
048                context.text(((java.lang.String) _ImplementationName), "ImplementationName");
049            } catch (java.lang.Exception e) {
050                org.jdtaus.mojo.resource.model.impl.runtime.Util.handlePrintConversionException(this, e, context);
051            }
052            context.endAttribute();
053        }
054        super.serializeAttributes(context);
055    }
056
057    public void serializeURIs(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
058        throws org.xml.sax.SAXException
059    {
060        if (_ImplementationName!= null) {
061            context.getNamespaceContext().declareNamespace("http://jdtaus.org/core/model/container", null, true);
062        }
063        super.serializeURIs(context);
064    }
065
066    public java.lang.Class getPrimaryInterface() {
067        return (org.jdtaus.mojo.resource.model.ImplementationReference.class);
068    }
069
070    public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
071        if (schemaFragment == null) {
072            schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
073 "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
074+"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
075+"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
076+"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
077+"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv."
078+"grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsq\u0000~\u0000\tsr\u0000\u0011java.lang.Bool"
079+"ean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun.msv.grammar.trex.Eleme"
080+"ntPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/Name"
081+"Class;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignore"
082+"UndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\rp\u0000sq\u0000~\u0000\tp"
083+"psr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun."
084+"msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\rpsr\u0000 co"
085+"m.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameC"
086+"lassq\u0000~\u0000\u000fxq\u0000~\u0000\u0003q\u0000~\u0000\rpsr\u00002com.sun.msv.grammar.Expression$AnyS"
087+"tringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\f\u0001q\u0000~\u0000\u0019sr\u0000 com.sun.msv."
088+"grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameC"
089+"lass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonE"
090+"xpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u001aq\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar."
091+"SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L"
092+"\u0000\fnamespaceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u00003org.jdtaus.mojo.resource.model.D"
093+"ocumentationElementt\u0000+http://java.sun.com/jaxb/xjc/dummy-ele"
094+"mentssq\u0000~\u0000\u000eq\u0000~\u0000\rp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000epp\u0000sq\u0000~\u0000\tppsq\u0000~\u0000\u0013q\u0000~\u0000\rpsq\u0000~\u0000"
095+"\u0016q\u0000~\u0000\rpq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000$org.jdtaus.mojo.resource.mode"
096+"l.Textsq\u0000~\u0000$sq\u0000~\u0000\tppsq\u0000~\u0000\u0016q\u0000~\u0000\rpsr\u0000\u001bcom.sun.msv.grammar.Data"
097+"Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exce"
098+"ptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"co"
099+"m.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.d"
100+"atatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.data"
101+"type.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd"
102+".XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000~"
103+"\u0000!L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProces"
104+"sor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun"
105+".msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000"
106+",com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr"
107+"\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
108+"\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalN"
109+"ameq\u0000~\u0000!L\u0000\fnamespaceURIq\u0000~\u0000!xpq\u0000~\u0000:q\u0000~\u00009sq\u0000~\u0000 t\u0000\u0004typet\u0000)http"
110+"://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\rdocumenta"
111+"tiont\u0000&http://jdtaus.org/core/model/containerq\u0000~\u0000\u001fsq\u0000~\u0000\tppsq"
112+"\u0000~\u0000\u0016q\u0000~\u0000\rpsq\u0000~\u0000/ppsr\u0000\'com.sun.msv.datatype.xsd.MaxLengthFace"
113+"t\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\tmaxLengthxr\u00009com.sun.msv.datatype.xsd.DataTyp"
114+"eWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype"
115+".xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValue"
116+"CheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd/XSDatatypeI"
117+"mpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType"
118+";L\u0000\tfacetNameq\u0000~\u0000!xq\u0000~\u00006q\u0000~\u0000Gt\u0000\u0007Versionsr\u00005com.sun.msv.datat"
119+"ype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000<\u0000\u0000sr\u0000#c"
120+"om.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVali"
121+"dxq\u0000~\u00004q\u0000~\u00009t\u0000\u0006stringq\u0000~\u0000S\u0001q\u0000~\u0000Ut\u0000\tmaxLength\u0000\u0000\u0000dq\u0000~\u0000?sq\u0000~\u0000@q"
122+"\u0000~\u0000Qq\u0000~\u0000Gsq\u0000~\u0000 t\u0000\fmodelVersionq\u0000~\u0000Gq\u0000~\u0000\u001fsq\u0000~\u0000\u0016ppsq\u0000~\u0000/ppsr\u0000%"
123+"com.sun.msv.datatype.xsd.PatternFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001[\u0000\bpatternst"
124+"\u0000\u0013[Ljava/lang/String;xr\u0000;com.sun.msv.datatype.xsd.DataTypeWi"
125+"thLexicalConstraintFacetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000Mq\u0000~\u0000Gt\u0000\nIdentifierq"
126+"\u0000~\u0000=\u0000\u0000sr\u0000(com.sun.msv.datatype.xsd.WhiteSpaceFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
127+"\u0000xq\u0000~\u0000Mq\u0000~\u0000Gq\u0000~\u0000aq\u0000~\u0000=\u0000\u0000q\u0000~\u0000Uq\u0000~\u0000Ut\u0000\nwhiteSpaceq\u0000~\u0000Ut\u0000\u0007patte"
128+"rnur\u0000\u0013[Ljava.lang.String;\u00ad\u00d2V\u00e7\u00e9\u001d{G\u0002\u0000\u0000xp\u0000\u0000\u0000\u0001t\u0000\u0007\\p{L}.*q\u0000~\u0000?sq\u0000"
129+"~\u0000@q\u0000~\u0000aq\u0000~\u0000Gsq\u0000~\u0000 t\u0000\nidentifierq\u0000~\u0000Gsq\u0000~\u0000\tppsq\u0000~\u0000\u0016q\u0000~\u0000\rpq\u0000~"
130+"\u0000Jsq\u0000~\u0000 t\u0000\u0007versionq\u0000~\u0000Gq\u0000~\u0000\u001fsq\u0000~\u0000\tppsq\u0000~\u0000\u0016q\u0000~\u0000\rpq\u0000~\u0000\\sq\u0000~\u0000 t"
131+"\u0000\u0012implementationNameq\u0000~\u0000Gq\u0000~\u0000\u001fsr\u0000\"com.sun.msv.grammar.Expres"
132+"sionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Expres"
133+"sionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool"
134+"$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lc"
135+"om/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u000f\u0001pq\u0000~\u0000\u0012q\u0000~\u0000(q\u0000~\u0000-q\u0000~"
136+"\u0000\u000bq\u0000~\u0000\bq\u0000~\u0000lq\u0000~\u0000\u0015q\u0000~\u0000)q\u0000~\u0000Hq\u0000~\u0000\u0007q\u0000~\u0000\nq\u0000~\u0000&q\u0000~\u0000\u0006q\u0000~\u0000\u0005q\u0000~\u0000px"));
137        }
138        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
139    }
140
141    public class Unmarshaller
142        extends org.jdtaus.mojo.resource.model.impl.runtime.AbstractUnmarshallingEventHandlerImpl
143    {
144
145
146        public Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
147            super(context, "-----");
148        }
149
150        protected Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context, int startState) {
151            this(context);
152            state = startState;
153        }
154
155        public java.lang.Object owner() {
156            return org.jdtaus.mojo.resource.model.impl.ImplementationReferenceImpl.this;
157        }
158
159        public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
160            throws org.xml.sax.SAXException
161        {
162            int attIdx;
163            outer:
164            while (true) {
165                switch (state) {
166                    case  3 :
167                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
168                        if (attIdx >= 0) {
169                            context.consumeAttribute(attIdx);
170                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
171                            return ;
172                        }
173                        break;
174                    case  4 :
175                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
176                        return ;
177                    case  0 :
178                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
179                        if (attIdx >= 0) {
180                            final java.lang.String v = context.eatAttribute(attIdx);
181                            state = 3;
182                            eatText1(v);
183                            continue outer;
184                        }
185                        state = 3;
186                        continue outer;
187                }
188                super.enterElement(___uri, ___local, ___qname, __atts);
189                break;
190            }
191        }
192
193        private void eatText1(final java.lang.String value)
194            throws org.xml.sax.SAXException
195        {
196            try {
197                _ImplementationName = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value);
198            } catch (java.lang.Exception e) {
199                handleParseConversionException(e);
200            }
201        }
202
203        public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
204            throws org.xml.sax.SAXException
205        {
206            int attIdx;
207            outer:
208            while (true) {
209                switch (state) {
210                    case  3 :
211                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
212                        if (attIdx >= 0) {
213                            context.consumeAttribute(attIdx);
214                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
215                            return ;
216                        }
217                        break;
218                    case  4 :
219                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
220                        return ;
221                    case  0 :
222                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
223                        if (attIdx >= 0) {
224                            final java.lang.String v = context.eatAttribute(attIdx);
225                            state = 3;
226                            eatText1(v);
227                            continue outer;
228                        }
229                        state = 3;
230                        continue outer;
231                }
232                super.leaveElement(___uri, ___local, ___qname);
233                break;
234            }
235        }
236
237        public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
238            throws org.xml.sax.SAXException
239        {
240            int attIdx;
241            outer:
242            while (true) {
243                switch (state) {
244                    case  3 :
245                        if (("identifier" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
246                            spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.SpecificationReferenceImpl)org.jdtaus.mojo.resource.model.impl.ImplementationReferenceImpl.this).new Unmarshaller(context)), 4, ___uri, ___local, ___qname);
247                            return ;
248                        }
249                        break;
250                    case  4 :
251                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
252                        return ;
253                    case  0 :
254                        if (("implementationName" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
255                            state = 1;
256                            return ;
257                        }
258                        state = 3;
259                        continue outer;
260                }
261                super.enterAttribute(___uri, ___local, ___qname);
262                break;
263            }
264        }
265
266        public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
267            throws org.xml.sax.SAXException
268        {
269            int attIdx;
270            outer:
271            while (true) {
272                switch (state) {
273                    case  3 :
274                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
275                        if (attIdx >= 0) {
276                            context.consumeAttribute(attIdx);
277                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
278                            return ;
279                        }
280                        break;
281                    case  4 :
282                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
283                        return ;
284                    case  2 :
285                        if (("implementationName" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
286                            state = 3;
287                            return ;
288                        }
289                        break;
290                    case  0 :
291                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
292                        if (attIdx >= 0) {
293                            final java.lang.String v = context.eatAttribute(attIdx);
294                            state = 3;
295                            eatText1(v);
296                            continue outer;
297                        }
298                        state = 3;
299                        continue outer;
300                }
301                super.leaveAttribute(___uri, ___local, ___qname);
302                break;
303            }
304        }
305
306        public void handleText(final java.lang.String value)
307            throws org.xml.sax.SAXException
308        {
309            int attIdx;
310            outer:
311            while (true) {
312                try {
313                    switch (state) {
314                        case  3 :
315                            attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
316                            if (attIdx >= 0) {
317                                context.consumeAttribute(attIdx);
318                                context.getCurrentHandler().text(value);
319                                return ;
320                            }
321                            break;
322                        case  1 :
323                            state = 2;
324                            eatText1(value);
325                            return ;
326                        case  4 :
327                            revertToParentFromText(value);
328                            return ;
329                        case  0 :
330                            attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
331                            if (attIdx >= 0) {
332                                final java.lang.String v = context.eatAttribute(attIdx);
333                                state = 3;
334                                eatText1(v);
335                                continue outer;
336                            }
337                            state = 3;
338                            continue outer;
339                    }
340                } catch (java.lang.RuntimeException e) {
341                    handleUnexpectedTextException(value, e);
342                }
343                break;
344            }
345        }
346
347    }
348
349}