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 ModulesImpl
012    extends org.jdtaus.mojo.resource.model.impl.ModelObjectImpl
013    implements org.jdtaus.mojo.resource.model.Modules, 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 com.sun.xml.bind.util.ListImpl _Module;
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.Modules.class);
022    }
023
024    protected com.sun.xml.bind.util.ListImpl _getModule() {
025        if (_Module == null) {
026            _Module = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
027        }
028        return _Module;
029    }
030
031    public java.util.List getModule() {
032        return _getModule();
033    }
034
035    public org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
036        return new org.jdtaus.mojo.resource.model.impl.ModulesImpl.Unmarshaller(context);
037    }
038
039    public void serializeBody(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
040        throws org.xml.sax.SAXException
041    {
042        int idx1 = 0;
043        final int len1 = ((_Module == null)? 0 :_Module.size());
044        super.serializeBody(context);
045        while (idx1 != len1) {
046            if (_Module.get(idx1) instanceof javax.xml.bind.Element) {
047                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Module.get(idx1 ++)), "Module");
048            } else {
049                context.startElement("http://jdtaus.org/core/model/container", "module");
050                int idx_0 = idx1;
051                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Module.get(idx_0 ++)), "Module");
052                context.endNamespaceDecls();
053                int idx_1 = idx1;
054                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Module.get(idx_1 ++)), "Module");
055                context.endAttributes();
056                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Module.get(idx1 ++)), "Module");
057                context.endElement();
058            }
059        }
060    }
061
062    public void serializeAttributes(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
063        throws org.xml.sax.SAXException
064    {
065        int idx1 = 0;
066        final int len1 = ((_Module == null)? 0 :_Module.size());
067        super.serializeAttributes(context);
068        while (idx1 != len1) {
069            if (_Module.get(idx1) instanceof javax.xml.bind.Element) {
070                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Module.get(idx1 ++)), "Module");
071            } else {
072                idx1 += 1;
073            }
074        }
075    }
076
077    public void serializeURIs(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
078        throws org.xml.sax.SAXException
079    {
080        int idx1 = 0;
081        final int len1 = ((_Module == null)? 0 :_Module.size());
082        super.serializeURIs(context);
083        while (idx1 != len1) {
084            if (_Module.get(idx1) instanceof javax.xml.bind.Element) {
085                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Module.get(idx1 ++)), "Module");
086            } else {
087                idx1 += 1;
088            }
089        }
090    }
091
092    public java.lang.Class getPrimaryInterface() {
093        return (org.jdtaus.mojo.resource.model.Modules.class);
094    }
095
096    public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
097        if (schemaFragment == null) {
098            schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
099 "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
100+"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
101+"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
102+"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
103+"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceEx"
104+"p\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsq\u0000~\u0000\u0007sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000"
105+"\u0005valuexp\u0000psr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
106+"\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.su"
107+"n.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttrib"
108+"utesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u000bp\u0000sq\u0000~\u0000\u0007ppsr\u0000 com.sun.msv"
109+".grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.Unar"
110+"yExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u000bpsr\u0000 com.sun.msv.gramma"
111+"r.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\rxq\u0000~\u0000\u0003q"
112+"\u0000~\u0000\u000bpsr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000"
113+"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\n\u0001q\u0000~\u0000\u0017sr\u0000 com.sun.msv.grammar.AnyNameC"
114+"lass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
115+"psr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
116+"\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0018q\u0000~\u0000\u001dsr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000"
117+"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000"
118+"~\u0000\u001fxq\u0000~\u0000\u001at\u00003org.jdtaus.mojo.resource.model.DocumentationElem"
119+"entt\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\fq\u0000~\u0000\u000b"
120+"p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\fpp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0011q\u0000~\u0000\u000bpsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpq\u0000~\u0000\u0017q\u0000~\u0000"
121+"\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000$org.jdtaus.mojo.resource.model.Textsq\u0000~\u0000\"sq\u0000~"
122+"\u0000\u0007ppsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000"
123+"\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000"
124+"\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.dataty"
125+"pe.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Buil"
126+"tinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concret"
127+"eType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000"
128+"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001fL\u0000\btypeNameq\u0000~\u0000\u001fL\u0000\nwhiteSpacet"
129+"\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://"
130+"www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xs"
131+"d.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.dat"
132+"atype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gr"
133+"ammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom"
134+".sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001fL\u0000\fnames"
135+"paceURIq\u0000~\u0000\u001fxpq\u0000~\u00008q\u0000~\u00007sq\u0000~\u0000\u001et\u0000\u0004typet\u0000)http://www.w3.org/20"
136+"01/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\rdocumentationt\u0000&http://jd"
137+"taus.org/core/model/containerq\u0000~\u0000\u001dsq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0011q\u0000~\u0000\u000bpsq\u0000~\u0000\u0007"
138+"q\u0000~\u0000\u000bpsq\u0000~\u0000\fq\u0000~\u0000\u000bp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0011q\u0000~\u0000\u000bpsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpq\u0000~\u0000\u0017q\u0000~\u0000"
139+"\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000,org.jdtaus.mojo.resource.model.ModuleElementq"
140+"\u0000~\u0000\"sq\u0000~\u0000\fq\u0000~\u0000\u000bp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\fpp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0011q\u0000~\u0000\u000bpsq\u0000~\u0000\u0014"
141+"q\u0000~\u0000\u000bpq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000%org.jdtaus.mojo.resource.model"
142+".Moduleq\u0000~\u0000\"sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpq\u0000~\u00000q\u0000~\u0000@q\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\u0006modu"
143+"leq\u0000~\u0000Eq\u0000~\u0000\u001dsq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpsq\u0000~\u0000-ppsr\u0000\'com.sun.msv.data"
144+"type.xsd.MaxLengthFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\tmaxLengthxr\u00009com.sun.ms"
145+"v.datatype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr"
146+"\u0000*com.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fis"
147+"FacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/da"
148+"tatype/xsd/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/dat"
149+"atype/xsd/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u001fxq\u0000~\u00004q\u0000~\u0000Et\u0000\u0007Versio"
150+"nsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000"
151+"\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000:\u0000\u0000sr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000"
152+"\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u00002q\u0000~\u00007t\u0000\u0006stringq\u0000~\u0000f\u0001q\u0000~\u0000ht\u0000\tmax"
153+"Length\u0000\u0000\u0000dq\u0000~\u0000=sq\u0000~\u0000>q\u0000~\u0000dq\u0000~\u0000Esq\u0000~\u0000\u001et\u0000\fmodelVersionq\u0000~\u0000Eq\u0000~"
154+"\u0000\u001dsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTab"
155+"let\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-co"
156+"m.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005cou"
157+"ntB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Expressio"
158+"nPool;xp\u0000\u0000\u0000\u0014\u0001pq\u0000~\u0000\u0010q\u0000~\u0000&q\u0000~\u0000Jq\u0000~\u0000Rq\u0000~\u0000+q\u0000~\u0000Wq\u0000~\u0000\tq\u0000~\u0000Hq\u0000~\u0000\u0013q"
159+"\u0000~\u0000\'q\u0000~\u0000Kq\u0000~\u0000Sq\u0000~\u0000\bq\u0000~\u0000\u0005q\u0000~\u0000$q\u0000~\u0000Pq\u0000~\u0000Fq\u0000~\u0000[q\u0000~\u0000\u0006q\u0000~\u0000Gx"));
160        }
161        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
162    }
163
164    public class Unmarshaller
165        extends org.jdtaus.mojo.resource.model.impl.runtime.AbstractUnmarshallingEventHandlerImpl
166    {
167
168
169        public Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
170            super(context, "-----");
171        }
172
173        protected Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context, int startState) {
174            this(context);
175            state = startState;
176        }
177
178        public java.lang.Object owner() {
179            return org.jdtaus.mojo.resource.model.impl.ModulesImpl.this;
180        }
181
182        public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
183            throws org.xml.sax.SAXException
184        {
185            int attIdx;
186            outer:
187            while (true) {
188                switch (state) {
189                    case  2 :
190                        if (("module" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
191                            _getModule().add(((org.jdtaus.mojo.resource.model.impl.ModuleElementImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.ModuleElementImpl.class), 2, ___uri, ___local, ___qname, __atts)));
192                            return ;
193                        }
194                        if (("module" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
195                            context.pushAttributes(__atts, false);
196                            state = 3;
197                            return ;
198                        }
199                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
200                        return ;
201                    case  0 :
202                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
203                        if (attIdx >= 0) {
204                            context.consumeAttribute(attIdx);
205                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
206                            return ;
207                        }
208                        if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
209                            spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname, __atts);
210                            return ;
211                        }
212                        if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
213                            spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname, __atts);
214                            return ;
215                        }
216                        spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname, __atts);
217                        return ;
218                    case  1 :
219                        if (("module" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
220                            _getModule().add(((org.jdtaus.mojo.resource.model.impl.ModuleElementImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.ModuleElementImpl.class), 2, ___uri, ___local, ___qname, __atts)));
221                            return ;
222                        }
223                        if (("module" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
224                            context.pushAttributes(__atts, false);
225                            state = 3;
226                            return ;
227                        }
228                        state = 2;
229                        continue outer;
230                    case  3 :
231                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
232                        if (attIdx >= 0) {
233                            context.consumeAttribute(attIdx);
234                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
235                            return ;
236                        }
237                        break;
238                }
239                super.enterElement(___uri, ___local, ___qname, __atts);
240                break;
241            }
242        }
243
244        public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
245            throws org.xml.sax.SAXException
246        {
247            int attIdx;
248            outer:
249            while (true) {
250                switch (state) {
251                    case  2 :
252                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
253                        return ;
254                    case  0 :
255                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
256                        if (attIdx >= 0) {
257                            context.consumeAttribute(attIdx);
258                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
259                            return ;
260                        }
261                        spawnHandlerFromLeaveElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
262                        return ;
263                    case  4 :
264                        if (("module" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
265                            context.popAttributes();
266                            state = 2;
267                            return ;
268                        }
269                        break;
270                    case  1 :
271                        state = 2;
272                        continue outer;
273                    case  3 :
274                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
275                        if (attIdx >= 0) {
276                            context.consumeAttribute(attIdx);
277                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
278                            return ;
279                        }
280                        break;
281                }
282                super.leaveElement(___uri, ___local, ___qname);
283                break;
284            }
285        }
286
287        public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
288            throws org.xml.sax.SAXException
289        {
290            int attIdx;
291            outer:
292            while (true) {
293                switch (state) {
294                    case  2 :
295                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
296                        return ;
297                    case  0 :
298                        if (("modelVersion" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
299                            spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
300                            return ;
301                        }
302                        spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
303                        return ;
304                    case  1 :
305                        state = 2;
306                        continue outer;
307                    case  3 :
308                        if (("name" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
309                            _getModule().add(((org.jdtaus.mojo.resource.model.impl.ModuleImpl) spawnChildFromEnterAttribute((org.jdtaus.mojo.resource.model.impl.ModuleImpl.class), 4, ___uri, ___local, ___qname)));
310                            return ;
311                        }
312                        break;
313                }
314                super.enterAttribute(___uri, ___local, ___qname);
315                break;
316            }
317        }
318
319        public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
320            throws org.xml.sax.SAXException
321        {
322            int attIdx;
323            outer:
324            while (true) {
325                switch (state) {
326                    case  2 :
327                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
328                        return ;
329                    case  0 :
330                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
331                        if (attIdx >= 0) {
332                            context.consumeAttribute(attIdx);
333                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
334                            return ;
335                        }
336                        spawnHandlerFromLeaveAttribute((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
337                        return ;
338                    case  1 :
339                        state = 2;
340                        continue outer;
341                    case  3 :
342                        attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
343                        if (attIdx >= 0) {
344                            context.consumeAttribute(attIdx);
345                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
346                            return ;
347                        }
348                        break;
349                }
350                super.leaveAttribute(___uri, ___local, ___qname);
351                break;
352            }
353        }
354
355        public void handleText(final java.lang.String value)
356            throws org.xml.sax.SAXException
357        {
358            int attIdx;
359            outer:
360            while (true) {
361                try {
362                    switch (state) {
363                        case  2 :
364                            revertToParentFromText(value);
365                            return ;
366                        case  0 :
367                            attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
368                            if (attIdx >= 0) {
369                                context.consumeAttribute(attIdx);
370                                context.getCurrentHandler().text(value);
371                                return ;
372                            }
373                            spawnHandlerFromText((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.ModulesImpl.this).new Unmarshaller(context)), 1, value);
374                            return ;
375                        case  1 :
376                            state = 2;
377                            continue outer;
378                        case  3 :
379                            attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
380                            if (attIdx >= 0) {
381                                context.consumeAttribute(attIdx);
382                                context.getCurrentHandler().text(value);
383                                return ;
384                            }
385                            break;
386                    }
387                } catch (java.lang.RuntimeException e) {
388                    handleUnexpectedTextException(value, e);
389                }
390                break;
391            }
392        }
393
394    }
395
396}