View Javadoc

1   //
2   // 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 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2012.10.03 at 04:27:47 AM CEST 
6   //
7   
8   
9   package org.jdtaus.mojo.resource.model.impl;
10  
11  public class MessagesImpl
12      extends org.jdtaus.mojo.resource.model.impl.ModelObjectImpl
13      implements org.jdtaus.mojo.resource.model.Messages, 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
14  {
15  
16      protected com.sun.xml.bind.util.ListImpl _Message;
17      protected com.sun.xml.bind.util.ListImpl _Reference;
18      public final static java.lang.Class version = (org.jdtaus.mojo.resource.model.impl.JAXBVersion.class);
19      private static com.sun.msv.grammar.Grammar schemaFragment;
20  
21      private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
22          return (org.jdtaus.mojo.resource.model.Messages.class);
23      }
24  
25      protected com.sun.xml.bind.util.ListImpl _getMessage() {
26          if (_Message == null) {
27              _Message = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
28          }
29          return _Message;
30      }
31  
32      public java.util.List getMessage() {
33          return _getMessage();
34      }
35  
36      protected com.sun.xml.bind.util.ListImpl _getReference() {
37          if (_Reference == null) {
38              _Reference = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
39          }
40          return _Reference;
41      }
42  
43      public java.util.List getReference() {
44          return _getReference();
45      }
46  
47      public org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
48          return new org.jdtaus.mojo.resource.model.impl.MessagesImpl.Unmarshaller(context);
49      }
50  
51      public void serializeBody(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
52          throws org.xml.sax.SAXException
53      {
54          int idx1 = 0;
55          final int len1 = ((_Message == null)? 0 :_Message.size());
56          int idx2 = 0;
57          final int len2 = ((_Reference == null)? 0 :_Reference.size());
58          super.serializeBody(context);
59          if ((((_Reference == null)? 0 :_Reference.size()) == 0)&&(((_Message == null)? 0 :_Message.size())>= 1)) {
60              while (idx1 != len1) {
61                  if (_Message.get(idx1) instanceof javax.xml.bind.Element) {
62                      context.childAsBody(((com.sun.xml.bind.JAXBObject) _Message.get(idx1 ++)), "Message");
63                  } else {
64                      context.startElement("http://jdtaus.org/core/model/container", "message");
65                      int idx_0 = idx1;
66                      context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Message.get(idx_0 ++)), "Message");
67                      context.endNamespaceDecls();
68                      int idx_1 = idx1;
69                      context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Message.get(idx_1 ++)), "Message");
70                      context.endAttributes();
71                      context.childAsBody(((com.sun.xml.bind.JAXBObject) _Message.get(idx1 ++)), "Message");
72                      context.endElement();
73                  }
74              }
75          } else {
76              if ((((_Reference == null)? 0 :_Reference.size())>= 1)&&(((_Message == null)? 0 :_Message.size()) == 0)) {
77                  while (idx2 != len2) {
78                      context.startElement("http://jdtaus.org/core/model/container", "reference");
79                      int idx_2 = idx2;
80                      context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Reference.get(idx_2 ++)), "Reference");
81                      context.endNamespaceDecls();
82                      int idx_3 = idx2;
83                      context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Reference.get(idx_3 ++)), "Reference");
84                      context.endAttributes();
85                      context.childAsBody(((com.sun.xml.bind.JAXBObject) _Reference.get(idx2 ++)), "Reference");
86                      context.endElement();
87                  }
88              }
89          }
90      }
91  
92      public void serializeAttributes(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
93          throws org.xml.sax.SAXException
94      {
95          int idx1 = 0;
96          final int len1 = ((_Message == null)? 0 :_Message.size());
97          int idx2 = 0;
98          final int len2 = ((_Reference == null)? 0 :_Reference.size());
99          super.serializeAttributes(context);
100         if ((((_Reference == null)? 0 :_Reference.size()) == 0)&&(((_Message == null)? 0 :_Message.size())>= 1)) {
101             while (idx1 != len1) {
102                 if (_Message.get(idx1) instanceof javax.xml.bind.Element) {
103                     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Message.get(idx1 ++)), "Message");
104                 } else {
105                     idx1 += 1;
106                 }
107             }
108         } else {
109             if ((((_Reference == null)? 0 :_Reference.size())>= 1)&&(((_Message == null)? 0 :_Message.size()) == 0)) {
110                 while (idx2 != len2) {
111                     idx2 += 1;
112                 }
113             }
114         }
115     }
116 
117     public void serializeURIs(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
118         throws org.xml.sax.SAXException
119     {
120         int idx1 = 0;
121         final int len1 = ((_Message == null)? 0 :_Message.size());
122         int idx2 = 0;
123         final int len2 = ((_Reference == null)? 0 :_Reference.size());
124         super.serializeURIs(context);
125         if ((((_Reference == null)? 0 :_Reference.size()) == 0)&&(((_Message == null)? 0 :_Message.size())>= 1)) {
126             while (idx1 != len1) {
127                 if (_Message.get(idx1) instanceof javax.xml.bind.Element) {
128                     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Message.get(idx1 ++)), "Message");
129                 } else {
130                     idx1 += 1;
131                 }
132             }
133         } else {
134             if ((((_Reference == null)? 0 :_Reference.size())>= 1)&&(((_Message == null)? 0 :_Message.size()) == 0)) {
135                 while (idx2 != len2) {
136                     idx2 += 1;
137                 }
138             }
139         }
140     }
141 
142     public java.lang.Class getPrimaryInterface() {
143         return (org.jdtaus.mojo.resource.model.Messages.class);
144     }
145 
146     public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
147         if (schemaFragment == null) {
148             schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
149  "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
150 +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
151 +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
152 +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
153 +"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceEx"
154 +"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"
155 +"\u0005valuexp\u0000psr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
156 +"\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.su"
157 +"n.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttrib"
158 +"utesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u000bp\u0000sq\u0000~\u0000\u0007ppsr\u0000 com.sun.msv"
159 +".grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.Unar"
160 +"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"
161 +"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"
162 +"\u0000~\u0000\u000bpsr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000"
163 +"\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"
164 +"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"
165 +"psr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
166 +"\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0018q\u0000~\u0000\u001dsr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000"
167 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000"
168 +"~\u0000\u001fxq\u0000~\u0000\u001at\u00003org.jdtaus.mojo.resource.model.DocumentationElem"
169 +"entt\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\fq\u0000~\u0000\u000b"
170 +"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"
171 +"\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000$org.jdtaus.mojo.resource.model.Textsq\u0000~\u0000\"sq\u0000~"
172 +"\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"
173 +"\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000"
174 +"\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.dataty"
175 +"pe.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Buil"
176 +"tinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concret"
177 +"eType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000"
178 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001fL\u0000\btypeNameq\u0000~\u0000\u001fL\u0000\nwhiteSpacet"
179 +"\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://"
180 +"www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xs"
181 +"d.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.dat"
182 +"atype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gr"
183 +"ammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom"
184 +".sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001fL\u0000\fnames"
185 +"paceURIq\u0000~\u0000\u001fxpq\u0000~\u00008q\u0000~\u00007sq\u0000~\u0000\u001et\u0000\u0004typet\u0000)http://www.w3.org/20"
186 +"01/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\rdocumentationt\u0000&http://jd"
187 +"taus.org/core/model/containerq\u0000~\u0000\u001dsq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0011q\u0000~\u0000"
188 +"\u000bpsq\u0000~\u0000\u0007q\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"
189 +"\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000-org.jdtaus.mojo.resource.model.Messag"
190 +"eElementq\u0000~\u0000\"sq\u0000~\u0000\fq\u0000~\u0000\u000bp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\fpp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0011q\u0000~"
191 +"\u0000\u000bpsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000&org.jdtaus.mojo.resou"
192 +"rce.model.Messageq\u0000~\u0000\"sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpq\u0000~\u00000q\u0000~\u0000@q\u0000~\u0000\u001dsq\u0000"
193 +"~\u0000\u001et\u0000\u0007messageq\u0000~\u0000Eq\u0000~\u0000\u001dsq\u0000~\u0000\u0011ppsq\u0000~\u0000\fpp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\fpp\u0000sq\u0000"
194 +"~\u0000\u0007ppsq\u0000~\u0000\u0011q\u0000~\u0000\u000bpsq\u0000~\u0000\u0014q\u0000~\u0000\u000bpq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000/org.jdt"
195 +"aus.mojo.resource.model.MessageReferenceq\u0000~\u0000\"sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0014q"
196 +"\u0000~\u0000\u000bpq\u0000~\u00000q\u0000~\u0000@q\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\treferenceq\u0000~\u0000Esq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0014q\u0000~"
197 +"\u0000\u000bpsq\u0000~\u0000-ppsr\u0000\'com.sun.msv.datatype.xsd.MaxLengthFacet\u0000\u0000\u0000\u0000\u0000\u0000"
198 +"\u0000\u0001\u0002\u0000\u0001I\u0000\tmaxLengthxr\u00009com.sun.msv.datatype.xsd.DataTypeWithVa"
199 +"lueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Da"
200 +"taTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFl"
201 +"agL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd/XSDatatypeImpl;L\u0000\f"
202 +"concreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType;L\u0000\tfac"
203 +"etNameq\u0000~\u0000\u001fxq\u0000~\u00004q\u0000~\u0000Et\u0000\u0007Versionsr\u00005com.sun.msv.datatype.xsd"
204 +".WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000:\u0000\u0000sr\u0000#com.sun."
205 +"msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u00002"
206 +"q\u0000~\u00007t\u0000\u0006stringq\u0000~\u0000t\u0001q\u0000~\u0000vt\u0000\tmaxLength\u0000\u0000\u0000dq\u0000~\u0000=sq\u0000~\u0000>q\u0000~\u0000rq\u0000~"
207 +"\u0000Esq\u0000~\u0000\u001et\u0000\fmodelVersionq\u0000~\u0000Eq\u0000~\u0000\u001dsr\u0000\"com.sun.msv.grammar.Exp"
208 +"ressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Exp"
209 +"ressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionP"
210 +"ool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000"
211 +"$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u001a\u0001pq\u0000~\u0000\u0010q\u0000~\u0000&q\u0000~\u0000K"
212 +"q\u0000~\u0000Sq\u0000~\u0000`q\u0000~\u0000\u0006q\u0000~\u0000+q\u0000~\u0000Xq\u0000~\u0000eq\u0000~\u0000\tq\u0000~\u0000Iq\u0000~\u0000\u0005q\u0000~\u0000\u0013q\u0000~\u0000\'q\u0000~\u0000L"
213 +"q\u0000~\u0000Tq\u0000~\u0000aq\u0000~\u0000iq\u0000~\u0000\bq\u0000~\u0000Fq\u0000~\u0000$q\u0000~\u0000Qq\u0000~\u0000^q\u0000~\u0000Gq\u0000~\u0000\\q\u0000~\u0000Hx"));
214         }
215         return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
216     }
217 
218     public class Unmarshaller
219         extends org.jdtaus.mojo.resource.model.impl.runtime.AbstractUnmarshallingEventHandlerImpl
220     {
221 
222 
223         public Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
224             super(context, "-------");
225         }
226 
227         protected Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context, int startState) {
228             this(context);
229             state = startState;
230         }
231 
232         public java.lang.Object owner() {
233             return org.jdtaus.mojo.resource.model.impl.MessagesImpl.this;
234         }
235 
236         public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
237             throws org.xml.sax.SAXException
238         {
239             int attIdx;
240             outer:
241             while (true) {
242                 switch (state) {
243                     case  1 :
244                         if (("message" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
245                             _getMessage().add(((org.jdtaus.mojo.resource.model.impl.MessageElementImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.MessageElementImpl.class), 4, ___uri, ___local, ___qname, __atts)));
246                             return ;
247                         }
248                         if (("message" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
249                             context.pushAttributes(__atts, false);
250                             state = 5;
251                             return ;
252                         }
253                         if (("reference" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
254                             context.pushAttributes(__atts, false);
255                             state = 2;
256                             return ;
257                         }
258                         state = 4;
259                         continue outer;
260                     case  2 :
261                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
262                         if (attIdx >= 0) {
263                             context.consumeAttribute(attIdx);
264                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
265                             return ;
266                         }
267                         break;
268                     case  0 :
269                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
270                         if (attIdx >= 0) {
271                             context.consumeAttribute(attIdx);
272                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
273                             return ;
274                         }
275                         if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
276                             spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname, __atts);
277                             return ;
278                         }
279                         if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
280                             spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname, __atts);
281                             return ;
282                         }
283                         spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname, __atts);
284                         return ;
285                     case  5 :
286                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
287                         if (attIdx >= 0) {
288                             context.consumeAttribute(attIdx);
289                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
290                             return ;
291                         }
292                         break;
293                     case  4 :
294                         if (("message" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
295                             _getMessage().add(((org.jdtaus.mojo.resource.model.impl.MessageElementImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.MessageElementImpl.class), 4, ___uri, ___local, ___qname, __atts)));
296                             return ;
297                         }
298                         if (("message" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
299                             context.pushAttributes(__atts, false);
300                             state = 5;
301                             return ;
302                         }
303                         if (("reference" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
304                             context.pushAttributes(__atts, false);
305                             state = 2;
306                             return ;
307                         }
308                         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
309                         return ;
310                 }
311                 super.enterElement(___uri, ___local, ___qname, __atts);
312                 break;
313             }
314         }
315 
316         public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
317             throws org.xml.sax.SAXException
318         {
319             int attIdx;
320             outer:
321             while (true) {
322                 switch (state) {
323                     case  6 :
324                         if (("message" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
325                             context.popAttributes();
326                             state = 4;
327                             return ;
328                         }
329                         break;
330                     case  1 :
331                         state = 4;
332                         continue outer;
333                     case  2 :
334                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
335                         if (attIdx >= 0) {
336                             context.consumeAttribute(attIdx);
337                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
338                             return ;
339                         }
340                         break;
341                     case  0 :
342                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
343                         if (attIdx >= 0) {
344                             context.consumeAttribute(attIdx);
345                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
346                             return ;
347                         }
348                         spawnHandlerFromLeaveElement((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
349                         return ;
350                     case  3 :
351                         if (("reference" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
352                             context.popAttributes();
353                             state = 4;
354                             return ;
355                         }
356                         break;
357                     case  5 :
358                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
359                         if (attIdx >= 0) {
360                             context.consumeAttribute(attIdx);
361                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
362                             return ;
363                         }
364                         break;
365                     case  4 :
366                         revertToParentFromLeaveElement(___uri, ___local, ___qname);
367                         return ;
368                 }
369                 super.leaveElement(___uri, ___local, ___qname);
370                 break;
371             }
372         }
373 
374         public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
375             throws org.xml.sax.SAXException
376         {
377             int attIdx;
378             outer:
379             while (true) {
380                 switch (state) {
381                     case  1 :
382                         state = 4;
383                         continue outer;
384                     case  2 :
385                         if (("name" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
386                             _getReference().add(((org.jdtaus.mojo.resource.model.impl.MessageReferenceImpl) spawnChildFromEnterAttribute((org.jdtaus.mojo.resource.model.impl.MessageReferenceImpl.class), 3, ___uri, ___local, ___qname)));
387                             return ;
388                         }
389                         break;
390                     case  0 :
391                         if (("modelVersion" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
392                             spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
393                             return ;
394                         }
395                         spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
396                         return ;
397                     case  5 :
398                         if (("name" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
399                             _getMessage().add(((org.jdtaus.mojo.resource.model.impl.MessageImpl) spawnChildFromEnterAttribute((org.jdtaus.mojo.resource.model.impl.MessageImpl.class), 6, ___uri, ___local, ___qname)));
400                             return ;
401                         }
402                         break;
403                     case  4 :
404                         revertToParentFromEnterAttribute(___uri, ___local, ___qname);
405                         return ;
406                 }
407                 super.enterAttribute(___uri, ___local, ___qname);
408                 break;
409             }
410         }
411 
412         public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
413             throws org.xml.sax.SAXException
414         {
415             int attIdx;
416             outer:
417             while (true) {
418                 switch (state) {
419                     case  1 :
420                         state = 4;
421                         continue outer;
422                     case  2 :
423                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
424                         if (attIdx >= 0) {
425                             context.consumeAttribute(attIdx);
426                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
427                             return ;
428                         }
429                         break;
430                     case  0 :
431                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
432                         if (attIdx >= 0) {
433                             context.consumeAttribute(attIdx);
434                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
435                             return ;
436                         }
437                         spawnHandlerFromLeaveAttribute((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, ___uri, ___local, ___qname);
438                         return ;
439                     case  5 :
440                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
441                         if (attIdx >= 0) {
442                             context.consumeAttribute(attIdx);
443                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
444                             return ;
445                         }
446                         break;
447                     case  4 :
448                         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
449                         return ;
450                 }
451                 super.leaveAttribute(___uri, ___local, ___qname);
452                 break;
453             }
454         }
455 
456         public void handleText(final java.lang.String value)
457             throws org.xml.sax.SAXException
458         {
459             int attIdx;
460             outer:
461             while (true) {
462                 try {
463                     switch (state) {
464                         case  1 :
465                             state = 4;
466                             continue outer;
467                         case  2 :
468                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
469                             if (attIdx >= 0) {
470                                 context.consumeAttribute(attIdx);
471                                 context.getCurrentHandler().text(value);
472                                 return ;
473                             }
474                             break;
475                         case  0 :
476                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
477                             if (attIdx >= 0) {
478                                 context.consumeAttribute(attIdx);
479                                 context.getCurrentHandler().text(value);
480                                 return ;
481                             }
482                             spawnHandlerFromText((((org.jdtaus.mojo.resource.model.impl.ModelObjectImpl)org.jdtaus.mojo.resource.model.impl.MessagesImpl.this).new Unmarshaller(context)), 1, value);
483                             return ;
484                         case  5 :
485                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
486                             if (attIdx >= 0) {
487                                 context.consumeAttribute(attIdx);
488                                 context.getCurrentHandler().text(value);
489                                 return ;
490                             }
491                             break;
492                         case  4 :
493                             revertToParentFromText(value);
494                             return ;
495                     }
496                 } catch (java.lang.RuntimeException e) {
497                     handleUnexpectedTextException(value, e);
498                 }
499                 break;
500             }
501         }
502 
503     }
504 
505 }