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 DependencyImpl
12      extends org.jdtaus.mojo.resource.model.impl.ImplementationReferenceImpl
13      implements org.jdtaus.mojo.resource.model.Dependency, 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 java.lang.String _Name;
17      protected org.jdtaus.mojo.resource.model.Properties _Properties;
18      protected boolean has_Bound;
19      protected boolean _Bound;
20      public final static java.lang.Class version = (org.jdtaus.mojo.resource.model.impl.JAXBVersion.class);
21      private static com.sun.msv.grammar.Grammar schemaFragment;
22  
23      private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
24          return (org.jdtaus.mojo.resource.model.Dependency.class);
25      }
26  
27      public java.lang.String getName() {
28          return _Name;
29      }
30  
31      public void setName(java.lang.String value) {
32          _Name = value;
33      }
34  
35      public org.jdtaus.mojo.resource.model.Properties getProperties() {
36          return _Properties;
37      }
38  
39      public void setProperties(org.jdtaus.mojo.resource.model.Properties value) {
40          _Properties = value;
41      }
42  
43      public boolean isBound() {
44          return _Bound;
45      }
46  
47      public void setBound(boolean value) {
48          _Bound = value;
49          has_Bound = true;
50      }
51  
52      public org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
53          return new org.jdtaus.mojo.resource.model.impl.DependencyImpl.Unmarshaller(context);
54      }
55  
56      public void serializeBody(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
57          throws org.xml.sax.SAXException
58      {
59          if (!has_Bound) {
60              context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "Bound"));
61          }
62          super.serializeBody(context);
63          if (_Properties!= null) {
64              if (_Properties instanceof javax.xml.bind.Element) {
65                  context.childAsBody(((com.sun.xml.bind.JAXBObject) _Properties), "Properties");
66              } else {
67                  context.startElement("http://jdtaus.org/core/model/container", "properties");
68                  context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Properties), "Properties");
69                  context.endNamespaceDecls();
70                  context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Properties), "Properties");
71                  context.endAttributes();
72                  context.childAsBody(((com.sun.xml.bind.JAXBObject) _Properties), "Properties");
73                  context.endElement();
74              }
75          }
76      }
77  
78      public void serializeAttributes(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
79          throws org.xml.sax.SAXException
80      {
81          if (!has_Bound) {
82              context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "Bound"));
83          }
84          context.startAttribute("http://jdtaus.org/core/model/container", "bound");
85          try {
86              context.text(javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _Bound)), "Bound");
87          } catch (java.lang.Exception e) {
88              org.jdtaus.mojo.resource.model.impl.runtime.Util.handlePrintConversionException(this, e, context);
89          }
90          context.endAttribute();
91          context.startAttribute("http://jdtaus.org/core/model/container", "name");
92          try {
93              context.text(((java.lang.String) _Name), "Name");
94          } catch (java.lang.Exception e) {
95              org.jdtaus.mojo.resource.model.impl.runtime.Util.handlePrintConversionException(this, e, context);
96          }
97          context.endAttribute();
98          super.serializeAttributes(context);
99          if (_Properties!= null) {
100             if (_Properties instanceof javax.xml.bind.Element) {
101                 context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Properties), "Properties");
102             }
103         }
104     }
105 
106     public void serializeURIs(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
107         throws org.xml.sax.SAXException
108     {
109         if (!has_Bound) {
110             context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "Bound"));
111         }
112         context.getNamespaceContext().declareNamespace("http://jdtaus.org/core/model/container", null, true);
113         context.getNamespaceContext().declareNamespace("http://jdtaus.org/core/model/container", null, true);
114         super.serializeURIs(context);
115         if (_Properties!= null) {
116             if (_Properties instanceof javax.xml.bind.Element) {
117                 context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Properties), "Properties");
118             }
119         }
120     }
121 
122     public java.lang.Class getPrimaryInterface() {
123         return (org.jdtaus.mojo.resource.model.Dependency.class);
124     }
125 
126     public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
127         if (schemaFragment == null) {
128             schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
129  "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
130 +"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
131 +"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
132 +"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
133 +"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000pp"
134 +"sq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001pp"
135 +"sq\u0000~\u0000\fsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.su"
136 +"n.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fL"
137 +"com/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Elemen"
138 +"tExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq"
139 +"\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\fppsr\u0000 com.sun.msv.grammar.OneOrMoreEx"
140 +"p\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003ex"
141 +"pq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u0010psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000"
142 +"\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0012xq\u0000~\u0000\u0003q\u0000~\u0000\u0010psr\u00002com.sun.msv"
143 +".grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~"
144 +"\u0000\u000f\u0001q\u0000~\u0000\u001csr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dc"
145 +"om.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gra"
146 +"mmar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u001dq\u0000~\u0000\""
147 +"sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNa"
148 +"met\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000$xq\u0000~\u0000\u001ft\u00003org.jdta"
149 +"us.mojo.resource.model.DocumentationElementt\u0000+http://java.su"
150 +"n.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0011q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0011pp\u0000s"
151 +"q\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010psq\u0000~\u0000\u0019q\u0000~\u0000\u0010pq\u0000~\u0000\u001cq\u0000~\u0000 q\u0000~\u0000\"sq\u0000~\u0000#t\u0000$org.j"
152 +"dtaus.mojo.resource.model.Textsq\u0000~\u0000\'sq\u0000~\u0000\fppsq\u0000~\u0000\u0019q\u0000~\u0000\u0010psr\u0000\u001b"
153 +"com.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/d"
154 +"atatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/S"
155 +"tringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000"
156 +"\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
157 +"\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'"
158 +"com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespa"
159 +"ceUriq\u0000~\u0000$L\u0000\btypeNameq\u0000~\u0000$L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datat"
160 +"ype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLS"
161 +"chemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcesso"
162 +"r$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpace"
163 +"Processor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$Nul"
164 +"lSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.String"
165 +"Pair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000$L\u0000\fnamespaceURIq\u0000~\u0000$xpq\u0000~\u0000=q"
166 +"\u0000~\u0000<sq\u0000~\u0000#t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanc"
167 +"eq\u0000~\u0000\"sq\u0000~\u0000#t\u0000\rdocumentationt\u0000&http://jdtaus.org/core/model/"
168 +"containerq\u0000~\u0000\"sq\u0000~\u0000\fppsq\u0000~\u0000\fq\u0000~\u0000\u0010psq\u0000~\u0000\u0011q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\fppsq\u0000~\u0000"
169 +"\u0016q\u0000~\u0000\u0010psq\u0000~\u0000\u0019q\u0000~\u0000\u0010pq\u0000~\u0000\u001cq\u0000~\u0000 q\u0000~\u0000\"sq\u0000~\u0000#t\u00000org.jdtaus.mojo.r"
170 +"esource.model.PropertiesElementq\u0000~\u0000\'sq\u0000~\u0000\u0011q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\u0000ppsq\u0000"
171 +"~\u0000\u0011pp\u0000sq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010psq\u0000~\u0000\u0019q\u0000~\u0000\u0010pq\u0000~\u0000\u001cq\u0000~\u0000 q\u0000~\u0000\"sq\u0000~\u0000#t"
172 +"\u0000)org.jdtaus.mojo.resource.model.Propertiesq\u0000~\u0000\'sq\u0000~\u0000\fppsq\u0000~"
173 +"\u0000\u0019q\u0000~\u0000\u0010pq\u0000~\u00005q\u0000~\u0000Eq\u0000~\u0000\"sq\u0000~\u0000#t\u0000\npropertiesq\u0000~\u0000Jq\u0000~\u0000\"sq\u0000~\u0000\fpp"
174 +"sq\u0000~\u0000\u0019q\u0000~\u0000\u0010psq\u0000~\u00002ppsr\u0000\'com.sun.msv.datatype.xsd.MaxLengthFa"
175 +"cet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\tmaxLengthxr\u00009com.sun.msv.datatype.xsd.DataT"
176 +"ypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.dataty"
177 +"pe.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needVal"
178 +"ueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd/XSDatatyp"
179 +"eImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteTy"
180 +"pe;L\u0000\tfacetNameq\u0000~\u0000$xq\u0000~\u00009q\u0000~\u0000Jt\u0000\u0007Versionsr\u00005com.sun.msv.dat"
181 +"atype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000?\u0000\u0000sr\u0000"
182 +"#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVa"
183 +"lidxq\u0000~\u00007q\u0000~\u0000<t\u0000\u0006stringq\u0000~\u0000j\u0001q\u0000~\u0000lt\u0000\tmaxLength\u0000\u0000\u0000dq\u0000~\u0000Bsq\u0000~\u0000"
184 +"Cq\u0000~\u0000hq\u0000~\u0000Jsq\u0000~\u0000#t\u0000\fmodelVersionq\u0000~\u0000Jq\u0000~\u0000\"sq\u0000~\u0000\u0019ppsq\u0000~\u00002ppsr"
185 +"\u0000%com.sun.msv.datatype.xsd.PatternFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001[\u0000\bpattern"
186 +"st\u0000\u0013[Ljava/lang/String;xr\u0000;com.sun.msv.datatype.xsd.DataType"
187 +"WithLexicalConstraintFacetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000dq\u0000~\u0000Jt\u0000\nIdentifie"
188 +"rq\u0000~\u0000@\u0000\u0000sr\u0000(com.sun.msv.datatype.xsd.WhiteSpaceFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
189 +"\u0002\u0000\u0000xq\u0000~\u0000dq\u0000~\u0000Jq\u0000~\u0000xq\u0000~\u0000@\u0000\u0000q\u0000~\u0000lq\u0000~\u0000lt\u0000\nwhiteSpaceq\u0000~\u0000lt\u0000\u0007pat"
190 +"ternur\u0000\u0013[Ljava.lang.String;\u00ad\u00d2V\u00e7\u00e9\u001d{G\u0002\u0000\u0000xp\u0000\u0000\u0000\u0001t\u0000\u0007\\p{L}.*q\u0000~\u0000Bs"
191 +"q\u0000~\u0000Cq\u0000~\u0000xq\u0000~\u0000Jsq\u0000~\u0000#t\u0000\nidentifierq\u0000~\u0000Jsq\u0000~\u0000\fppsq\u0000~\u0000\u0019q\u0000~\u0000\u0010pq"
192 +"\u0000~\u0000asq\u0000~\u0000#t\u0000\u0007versionq\u0000~\u0000Jq\u0000~\u0000\"sq\u0000~\u0000\fppsq\u0000~\u0000\u0019q\u0000~\u0000\u0010pq\u0000~\u0000ssq\u0000~\u0000"
193 +"#t\u0000\u0012implementationNameq\u0000~\u0000Jq\u0000~\u0000\"sq\u0000~\u0000\u0019ppsq\u0000~\u00002ppsr\u0000$com.sun."
194 +"msv.datatype.xsd.BooleanType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00007q\u0000~\u0000<t\u0000\u0007boolean"
195 +"q\u0000~\u0000@q\u0000~\u0000Bsq\u0000~\u0000Cq\u0000~\u0000\u008fq\u0000~\u0000<sq\u0000~\u0000#t\u0000\u0005boundq\u0000~\u0000Jsq\u0000~\u0000\u0019ppq\u0000~\u0000ssq"
196 +"\u0000~\u0000#t\u0000\u0004nameq\u0000~\u0000Jsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000"
197 +"\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Close"
198 +"dHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0"
199 +"N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/gra"
200 +"mmar/ExpressionPool;xp\u0000\u0000\u0000\u001a\u0001pq\u0000~\u0000\u0015q\u0000~\u0000+q\u0000~\u0000Nq\u0000~\u0000Vq\u0000~\u0000\u0006q\u0000~\u00000q\u0000"
201 +"~\u0000[q\u0000~\u0000\bq\u0000~\u0000_q\u0000~\u0000\u000eq\u0000~\u0000Lq\u0000~\u0000\u0083q\u0000~\u0000\u0007q\u0000~\u0000\u0087q\u0000~\u0000\u0018q\u0000~\u0000,q\u0000~\u0000Oq\u0000~\u0000Wq\u0000"
202 +"~\u0000\u000bq\u0000~\u0000\u0005q\u0000~\u0000\rq\u0000~\u0000Kq\u0000~\u0000\tq\u0000~\u0000)q\u0000~\u0000Tq\u0000~\u0000\nx"));
203         }
204         return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
205     }
206 
207     public class Unmarshaller
208         extends org.jdtaus.mojo.resource.model.impl.runtime.AbstractUnmarshallingEventHandlerImpl
209     {
210 
211 
212         public Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
213             super(context, "-----------");
214         }
215 
216         protected Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context, int startState) {
217             this(context);
218             state = startState;
219         }
220 
221         public java.lang.Object owner() {
222             return org.jdtaus.mojo.resource.model.impl.DependencyImpl.this;
223         }
224 
225         public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
226             throws org.xml.sax.SAXException
227         {
228             int attIdx;
229             outer:
230             while (true) {
231                 switch (state) {
232                     case  0 :
233                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "bound");
234                         if (attIdx >= 0) {
235                             final java.lang.String v = context.eatAttribute(attIdx);
236                             state = 3;
237                             eatText1(v);
238                             continue outer;
239                         }
240                         break;
241                     case  7 :
242                         if (("properties" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
243                             _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.class), 8, ___uri, ___local, ___qname, __atts));
244                             return ;
245                         }
246                         if (("properties" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
247                             context.pushAttributes(__atts, false);
248                             state = 9;
249                             return ;
250                         }
251                         state = 8;
252                         continue outer;
253                     case  6 :
254                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
255                         if (attIdx >= 0) {
256                             context.consumeAttribute(attIdx);
257                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
258                             return ;
259                         }
260                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
261                         if (attIdx >= 0) {
262                             context.consumeAttribute(attIdx);
263                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
264                             return ;
265                         }
266                         break;
267                     case  3 :
268                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
269                         if (attIdx >= 0) {
270                             final java.lang.String v = context.eatAttribute(attIdx);
271                             state = 6;
272                             eatText2(v);
273                             continue outer;
274                         }
275                         break;
276                     case  9 :
277                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
278                         if (attIdx >= 0) {
279                             context.consumeAttribute(attIdx);
280                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
281                             return ;
282                         }
283                         if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
284                             _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname, __atts));
285                             return ;
286                         }
287                         if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
288                             _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname, __atts));
289                             return ;
290                         }
291                         if (("property" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
292                             _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname, __atts));
293                             return ;
294                         }
295                         if (("property" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
296                             _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname, __atts));
297                             return ;
298                         }
299                         _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromEnterElement((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname, __atts));
300                         return ;
301                     case  8 :
302                         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
303                         return ;
304                 }
305                 super.enterElement(___uri, ___local, ___qname, __atts);
306                 break;
307             }
308         }
309 
310         private void eatText1(final java.lang.String value)
311             throws org.xml.sax.SAXException
312         {
313             try {
314                 _Bound = javax.xml.bind.DatatypeConverter.parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
315                 has_Bound = true;
316             } catch (java.lang.Exception e) {
317                 handleParseConversionException(e);
318             }
319         }
320 
321         private void eatText2(final java.lang.String value)
322             throws org.xml.sax.SAXException
323         {
324             try {
325                 _Name = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value);
326             } catch (java.lang.Exception e) {
327                 handleParseConversionException(e);
328             }
329         }
330 
331         public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
332             throws org.xml.sax.SAXException
333         {
334             int attIdx;
335             outer:
336             while (true) {
337                 switch (state) {
338                     case  0 :
339                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "bound");
340                         if (attIdx >= 0) {
341                             final java.lang.String v = context.eatAttribute(attIdx);
342                             state = 3;
343                             eatText1(v);
344                             continue outer;
345                         }
346                         break;
347                     case  7 :
348                         state = 8;
349                         continue outer;
350                     case  6 :
351                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
352                         if (attIdx >= 0) {
353                             context.consumeAttribute(attIdx);
354                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
355                             return ;
356                         }
357                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
358                         if (attIdx >= 0) {
359                             context.consumeAttribute(attIdx);
360                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
361                             return ;
362                         }
363                         break;
364                     case  3 :
365                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
366                         if (attIdx >= 0) {
367                             final java.lang.String v = context.eatAttribute(attIdx);
368                             state = 6;
369                             eatText2(v);
370                             continue outer;
371                         }
372                         break;
373                     case  9 :
374                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
375                         if (attIdx >= 0) {
376                             context.consumeAttribute(attIdx);
377                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
378                             return ;
379                         }
380                         _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromLeaveElement((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname));
381                         return ;
382                     case  10 :
383                         if (("properties" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
384                             context.popAttributes();
385                             state = 8;
386                             return ;
387                         }
388                         break;
389                     case  8 :
390                         revertToParentFromLeaveElement(___uri, ___local, ___qname);
391                         return ;
392                 }
393                 super.leaveElement(___uri, ___local, ___qname);
394                 break;
395             }
396         }
397 
398         public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
399             throws org.xml.sax.SAXException
400         {
401             int attIdx;
402             outer:
403             while (true) {
404                 switch (state) {
405                     case  0 :
406                         if (("bound" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
407                             state = 1;
408                             return ;
409                         }
410                         break;
411                     case  7 :
412                         state = 8;
413                         continue outer;
414                     case  6 :
415                         if (("implementationName" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
416                             spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.ImplementationReferenceImpl)org.jdtaus.mojo.resource.model.impl.DependencyImpl.this).new Unmarshaller(context)), 7, ___uri, ___local, ___qname);
417                             return ;
418                         }
419                         if (("identifier" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
420                             spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.ImplementationReferenceImpl)org.jdtaus.mojo.resource.model.impl.DependencyImpl.this).new Unmarshaller(context)), 7, ___uri, ___local, ___qname);
421                             return ;
422                         }
423                         break;
424                     case  3 :
425                         if (("name" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
426                             state = 4;
427                             return ;
428                         }
429                         break;
430                     case  9 :
431                         if (("modelVersion" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
432                             _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromEnterAttribute((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname));
433                             return ;
434                         }
435                         _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromEnterAttribute((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname));
436                         return ;
437                     case  8 :
438                         revertToParentFromEnterAttribute(___uri, ___local, ___qname);
439                         return ;
440                 }
441                 super.enterAttribute(___uri, ___local, ___qname);
442                 break;
443             }
444         }
445 
446         public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
447             throws org.xml.sax.SAXException
448         {
449             int attIdx;
450             outer:
451             while (true) {
452                 switch (state) {
453                     case  2 :
454                         if (("bound" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
455                             state = 3;
456                             return ;
457                         }
458                         break;
459                     case  0 :
460                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "bound");
461                         if (attIdx >= 0) {
462                             final java.lang.String v = context.eatAttribute(attIdx);
463                             state = 3;
464                             eatText1(v);
465                             continue outer;
466                         }
467                         break;
468                     case  7 :
469                         state = 8;
470                         continue outer;
471                     case  6 :
472                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
473                         if (attIdx >= 0) {
474                             context.consumeAttribute(attIdx);
475                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
476                             return ;
477                         }
478                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
479                         if (attIdx >= 0) {
480                             context.consumeAttribute(attIdx);
481                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
482                             return ;
483                         }
484                         break;
485                     case  3 :
486                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
487                         if (attIdx >= 0) {
488                             final java.lang.String v = context.eatAttribute(attIdx);
489                             state = 6;
490                             eatText2(v);
491                             continue outer;
492                         }
493                         break;
494                     case  9 :
495                         attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
496                         if (attIdx >= 0) {
497                             context.consumeAttribute(attIdx);
498                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
499                             return ;
500                         }
501                         _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromLeaveAttribute((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, ___uri, ___local, ___qname));
502                         return ;
503                     case  5 :
504                         if (("name" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
505                             state = 6;
506                             return ;
507                         }
508                         break;
509                     case  8 :
510                         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
511                         return ;
512                 }
513                 super.leaveAttribute(___uri, ___local, ___qname);
514                 break;
515             }
516         }
517 
518         public void handleText(final java.lang.String value)
519             throws org.xml.sax.SAXException
520         {
521             int attIdx;
522             outer:
523             while (true) {
524                 try {
525                     switch (state) {
526                         case  0 :
527                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "bound");
528                             if (attIdx >= 0) {
529                                 final java.lang.String v = context.eatAttribute(attIdx);
530                                 state = 3;
531                                 eatText1(v);
532                                 continue outer;
533                             }
534                             break;
535                         case  1 :
536                             state = 2;
537                             eatText1(value);
538                             return ;
539                         case  7 :
540                             state = 8;
541                             continue outer;
542                         case  6 :
543                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "implementationName");
544                             if (attIdx >= 0) {
545                                 context.consumeAttribute(attIdx);
546                                 context.getCurrentHandler().text(value);
547                                 return ;
548                             }
549                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "identifier");
550                             if (attIdx >= 0) {
551                                 context.consumeAttribute(attIdx);
552                                 context.getCurrentHandler().text(value);
553                                 return ;
554                             }
555                             break;
556                         case  3 :
557                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "name");
558                             if (attIdx >= 0) {
559                                 final java.lang.String v = context.eatAttribute(attIdx);
560                                 state = 6;
561                                 eatText2(v);
562                                 continue outer;
563                             }
564                             break;
565                         case  9 :
566                             attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
567                             if (attIdx >= 0) {
568                                 context.consumeAttribute(attIdx);
569                                 context.getCurrentHandler().text(value);
570                                 return ;
571                             }
572                             _Properties = ((org.jdtaus.mojo.resource.model.impl.PropertiesImpl) spawnChildFromText((org.jdtaus.mojo.resource.model.impl.PropertiesImpl.class), 10, value));
573                             return ;
574                         case  8 :
575                             revertToParentFromText(value);
576                             return ;
577                         case  4 :
578                             state = 5;
579                             eatText2(value);
580                             return ;
581                     }
582                 } catch (java.lang.RuntimeException e) {
583                     handleUnexpectedTextException(value, e);
584                 }
585                 break;
586             }
587         }
588 
589     }
590 
591 }