1
2
3
4
5
6
7
8
9 package org.jdtaus.mojo.resource.model.impl;
10
11 public class PropertiesElementImpl
12 extends org.jdtaus.mojo.resource.model.impl.PropertiesImpl
13 implements org.jdtaus.mojo.resource.model.PropertiesElement, com.sun.xml.bind.RIElement, 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 public final static java.lang.Class version = (org.jdtaus.mojo.resource.model.impl.JAXBVersion.class);
17 private static com.sun.msv.grammar.Grammar schemaFragment;
18
19 private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
20 return (org.jdtaus.mojo.resource.model.PropertiesElement.class);
21 }
22
23 public java.lang.String ____jaxb_ri____getNamespaceURI() {
24 return "http://jdtaus.org/core/model/container";
25 }
26
27 public java.lang.String ____jaxb_ri____getLocalName() {
28 return "properties";
29 }
30
31 public org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
32 return new org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.Unmarshaller(context);
33 }
34
35 public void serializeBody(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
36 throws org.xml.sax.SAXException
37 {
38 context.startElement("http://jdtaus.org/core/model/container", "properties");
39 super.serializeURIs(context);
40 context.endNamespaceDecls();
41 super.serializeAttributes(context);
42 context.endAttributes();
43 super.serializeBody(context);
44 context.endElement();
45 }
46
47 public void serializeAttributes(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
48 throws org.xml.sax.SAXException
49 {
50 }
51
52 public void serializeURIs(org.jdtaus.mojo.resource.model.impl.runtime.XMLSerializer context)
53 throws org.xml.sax.SAXException
54 {
55 }
56
57 public java.lang.Class getPrimaryInterface() {
58 return (org.jdtaus.mojo.resource.model.PropertiesElement.class);
59 }
60
61 public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
62 if (schemaFragment == null) {
63 schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
64 "\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
65 +"\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
66 +"grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
67 +"\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
68 +"msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
69 +"ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
70 +"mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
71 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0007pps"
72 +"r\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\fsr\u0000"
73 +"\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\f"
74 +"ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun"
75 +".msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u0000 c"
76 +"om.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tname"
77 +"Classq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u00002com.sun.msv.grammar.Expression$Any"
78 +"StringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u000f\u0001q\u0000~\u0000\u0019sr\u0000 com.sun.msv"
79 +".grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.Name"
80 +"Class\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$Epsilon"
81 +"Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001aq\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar"
82 +".SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;"
83 +"L\u0000\fnamespaceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u00003org.jdtaus.mojo.resource.model."
84 +"DocumentationElementt\u0000+http://java.sun.com/jaxb/xjc/dummy-el"
85 +"ementssq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\fppsq\u0000~\u0000\u0013q\u0000~\u0000\u0010psq\u0000~"
86 +"\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000$org.jdtaus.mojo.resource.mod"
87 +"el.Textsq\u0000~\u0000$sq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010psr\u0000\u001bcom.sun.msv.grammar.Dat"
88 +"aExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exc"
89 +"eptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"c"
90 +"om.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv."
91 +"datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.dat"
92 +"atype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xs"
93 +"d.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000"
94 +"~\u0000!L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProce"
95 +"ssor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.su"
96 +"n.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr"
97 +"\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xps"
98 +"r\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
99 +"\u0000\u0000xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocal"
100 +"Nameq\u0000~\u0000!L\u0000\fnamespaceURIq\u0000~\u0000!xpq\u0000~\u0000:q\u0000~\u00009sq\u0000~\u0000 t\u0000\u0004typet\u0000)htt"
101 +"p://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\rdocument"
102 +"ationt\u0000&http://jdtaus.org/core/model/containerq\u0000~\u0000\u001fsq\u0000~\u0000\fpps"
103 +"q\u0000~\u0000\u0013q\u0000~\u0000\u0010psq\u0000~\u0000\fq\u0000~\u0000\u0010psq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\fppsq\u0000~\u0000\u0013q\u0000~\u0000\u0010psq\u0000~"
104 +"\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000.org.jdtaus.mojo.resource.mod"
105 +"el.PropertyElementq\u0000~\u0000$sq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\fp"
106 +"psq\u0000~\u0000\u0013q\u0000~\u0000\u0010psq\u0000~\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\'org.jdtaus."
107 +"mojo.resource.model.Propertyq\u0000~\u0000$sq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u00002q\u0000"
108 +"~\u0000Bq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\bpropertyq\u0000~\u0000Gq\u0000~\u0000\u001fsq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010psq\u0000~\u0000"
109 +"/ppsr\u0000\'com.sun.msv.datatype.xsd.MaxLengthFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\t"
110 +"maxLengthxr\u00009com.sun.msv.datatype.xsd.DataTypeWithValueConst"
111 +"raintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWi"
112 +"thFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbas"
113 +"eTypet\u0000)Lcom/sun/msv/datatype/xsd/XSDatatypeImpl;L\u0000\fconcrete"
114 +"Typet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType;L\u0000\tfacetNameq\u0000"
115 +"~\u0000!xq\u0000~\u00006q\u0000~\u0000Gt\u0000\u0007Versionsr\u00005com.sun.msv.datatype.xsd.WhiteSp"
116 +"aceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000<\u0000\u0000sr\u0000#com.sun.msv.data"
117 +"type.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u00004q\u0000~\u00009t\u0000\u0006"
118 +"stringq\u0000~\u0000h\u0001q\u0000~\u0000jt\u0000\tmaxLength\u0000\u0000\u0000dq\u0000~\u0000?sq\u0000~\u0000@q\u0000~\u0000fq\u0000~\u0000Gsq\u0000~\u0000 "
119 +"t\u0000\fmodelVersionq\u0000~\u0000Gq\u0000~\u0000\u001fsq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000\u001f"
120 +"sq\u0000~\u0000 t\u0000\npropertiesq\u0000~\u0000Gsr\u0000\"com.sun.msv.grammar.ExpressionPo"
121 +"ol\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPo"
122 +"ol$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$Close"
123 +"dHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun"
124 +"/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0016\u0001pq\u0000~\u0000\u0012q\u0000~\u0000(q\u0000~\u0000Lq\u0000~\u0000Tq\u0000~\u0000"
125 +"\tq\u0000~\u0000-q\u0000~\u0000Yq\u0000~\u0000pq\u0000~\u0000\u000eq\u0000~\u0000Jq\u0000~\u0000\u0015q\u0000~\u0000)q\u0000~\u0000Mq\u0000~\u0000Uq\u0000~\u0000\rq\u0000~\u0000&q\u0000~\u0000"
126 +"Rq\u0000~\u0000Hq\u0000~\u0000]q\u0000~\u0000\nq\u0000~\u0000\u000bq\u0000~\u0000Ix"));
127 }
128 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
129 }
130
131 public class Unmarshaller
132 extends org.jdtaus.mojo.resource.model.impl.runtime.AbstractUnmarshallingEventHandlerImpl
133 {
134
135
136 public Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context) {
137 super(context, "----");
138 }
139
140 protected Unmarshaller(org.jdtaus.mojo.resource.model.impl.runtime.UnmarshallingContext context, int startState) {
141 this(context);
142 state = startState;
143 }
144
145 public java.lang.Object owner() {
146 return org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this;
147 }
148
149 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
150 throws org.xml.sax.SAXException
151 {
152 int attIdx;
153 outer:
154 while (true) {
155 switch (state) {
156 case 1 :
157 attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
158 if (attIdx >= 0) {
159 context.consumeAttribute(attIdx);
160 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
161 return ;
162 }
163 if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
164 spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname, __atts);
165 return ;
166 }
167 if (("documentation" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
168 spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname, __atts);
169 return ;
170 }
171 if (("property" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
172 spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname, __atts);
173 return ;
174 }
175 if (("property" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
176 spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname, __atts);
177 return ;
178 }
179 spawnHandlerFromEnterElement((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname, __atts);
180 return ;
181 case 3 :
182 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
183 return ;
184 case 0 :
185 if (("properties" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
186 context.pushAttributes(__atts, false);
187 state = 1;
188 return ;
189 }
190 break;
191 }
192 super.enterElement(___uri, ___local, ___qname, __atts);
193 break;
194 }
195 }
196
197 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
198 throws org.xml.sax.SAXException
199 {
200 int attIdx;
201 outer:
202 while (true) {
203 switch (state) {
204 case 1 :
205 attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
206 if (attIdx >= 0) {
207 context.consumeAttribute(attIdx);
208 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
209 return ;
210 }
211 spawnHandlerFromLeaveElement((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
212 return ;
213 case 2 :
214 if (("properties" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
215 context.popAttributes();
216 state = 3;
217 return ;
218 }
219 break;
220 case 3 :
221 revertToParentFromLeaveElement(___uri, ___local, ___qname);
222 return ;
223 }
224 super.leaveElement(___uri, ___local, ___qname);
225 break;
226 }
227 }
228
229 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
230 throws org.xml.sax.SAXException
231 {
232 int attIdx;
233 outer:
234 while (true) {
235 switch (state) {
236 case 1 :
237 if (("modelVersion" == ___local)&&("http://jdtaus.org/core/model/container" == ___uri)) {
238 spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
239 return ;
240 }
241 spawnHandlerFromEnterAttribute((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
242 return ;
243 case 3 :
244 revertToParentFromEnterAttribute(___uri, ___local, ___qname);
245 return ;
246 }
247 super.enterAttribute(___uri, ___local, ___qname);
248 break;
249 }
250 }
251
252 public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
253 throws org.xml.sax.SAXException
254 {
255 int attIdx;
256 outer:
257 while (true) {
258 switch (state) {
259 case 1 :
260 attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
261 if (attIdx >= 0) {
262 context.consumeAttribute(attIdx);
263 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
264 return ;
265 }
266 spawnHandlerFromLeaveAttribute((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
267 return ;
268 case 3 :
269 revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
270 return ;
271 }
272 super.leaveAttribute(___uri, ___local, ___qname);
273 break;
274 }
275 }
276
277 public void handleText(final java.lang.String value)
278 throws org.xml.sax.SAXException
279 {
280 int attIdx;
281 outer:
282 while (true) {
283 try {
284 switch (state) {
285 case 1 :
286 attIdx = context.getAttribute("http://jdtaus.org/core/model/container", "modelVersion");
287 if (attIdx >= 0) {
288 context.consumeAttribute(attIdx);
289 context.getCurrentHandler().text(value);
290 return ;
291 }
292 spawnHandlerFromText((((org.jdtaus.mojo.resource.model.impl.PropertiesImpl)org.jdtaus.mojo.resource.model.impl.PropertiesElementImpl.this).new Unmarshaller(context)), 2, value);
293 return ;
294 case 3 :
295 revertToParentFromText(value);
296 return ;
297 }
298 } catch (java.lang.RuntimeException e) {
299 handleUnexpectedTextException(value, e);
300 }
301 break;
302 }
303 }
304
305 }
306
307 }