1
2
3
4
5
6
7
8
9 package net.sf.jour.rt.view.config.impl;
10
11 public class TimeImpl
12 extends net.sf.jour.rt.view.config.impl.TimeTypeImpl
13 implements net.sf.jour.rt.view.config.Time, com.sun.xml.bind.RIElement, com.sun.xml.bind.JAXBObject, net.sf.jour.rt.view.config.impl.runtime.UnmarshallableObject, net.sf.jour.rt.view.config.impl.runtime.XMLSerializable, net.sf.jour.rt.view.config.impl.runtime.ValidatableObject
14 {
15
16 public final static java.lang.Class version = (net.sf.jour.rt.view.config.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 (net.sf.jour.rt.view.config.Time.class);
21 }
22
23 public java.lang.String ____jaxb_ri____getNamespaceURI() {
24 return "";
25 }
26
27 public java.lang.String ____jaxb_ri____getLocalName() {
28 return "time";
29 }
30
31 public net.sf.jour.rt.view.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(net.sf.jour.rt.view.config.impl.runtime.UnmarshallingContext context) {
32 return new net.sf.jour.rt.view.config.impl.TimeImpl.Unmarshaller(context);
33 }
34
35 public void serializeBody(net.sf.jour.rt.view.config.impl.runtime.XMLSerializer context)
36 throws org.xml.sax.SAXException
37 {
38 context.startElement("", "time");
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(net.sf.jour.rt.view.config.impl.runtime.XMLSerializer context)
48 throws org.xml.sax.SAXException
49 {
50 }
51
52 public void serializeURIs(net.sf.jour.rt.view.config.impl.runtime.XMLSerializer context)
53 throws org.xml.sax.SAXException
54 {
55 }
56
57 public java.lang.Class getPrimaryInterface() {
58 return (net.sf.jour.rt.view.config.Time.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 +"q\u0000~\u0000\u0007ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLor"
73 +"g/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun"
74 +"/msv/util/StringPair;xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z"
75 +"\u0000\u0005valuexp\u0000psr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
76 +"\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicT"
77 +"ype\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000"
78 +"\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003"
79 +"L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0017L\u0000\nwhite"
80 +"Spacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 h"
81 +"ttp://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u00005com.sun.msv.data"
82 +"type.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun."
83 +"msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.su"
84 +"n.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004p"
85 +"psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017"
86 +"L\u0000\fnamespaceURIq\u0000~\u0000\u0017xpq\u0000~\u0000\u001bq\u0000~\u0000\u001asr\u0000\u001dcom.sun.msv.grammar.Choi"
87 +"ceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun.msv.grammar.AttributeExp"
88 +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0012psq\u0000~\u0000\rpps"
89 +"r\u0000$com.sun.msv.datatype.xsd.BooleanType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000"
90 +"\u001at\u0000\u0007booleansr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$"
91 +"Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001dq\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000*q\u0000~\u0000\u001asr\u0000#com.sun.ms"
92 +"v.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fname"
93 +"spaceURIq\u0000~\u0000\u0017xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt"
94 +"\u0000\u0007excludet\u0000\u0000sr\u00000com.sun.msv.grammar.Expression$EpsilonExpres"
95 +"sion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0011\u0001psq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000\u0012pq\u0000~\u0000\u0010sq\u0000~\u0000."
96 +"t\u0000\u0004fromq\u0000~\u00002q\u0000~\u00004sq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000\u0012pq\u0000~\u0000\u0010sq\u0000~\u0000.t\u0000\u0002toq\u0000~\u00002q\u0000"
97 +"~\u00004sq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000\u0012psq\u0000~\u0000\rppsr\u0000\"com.sun.msv.datatype.xsd."
98 +"QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0005QNameq\u0000~\u0000,q\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000C"
99 +"q\u0000~\u0000\u001asq\u0000~\u0000.t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instan"
100 +"ceq\u0000~\u00004sq\u0000~\u0000.t\u0000\u0004timeq\u0000~\u00002sr\u0000\"com.sun.msv.grammar.ExpressionP"
101 +"ool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionP"
102 +"ool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$Clos"
103 +"edHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/su"
104 +"n/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\b\u0001pq\u0000~\u0000\u000bq\u0000~\u0000$q\u0000~\u0000\nq\u0000~\u0000:q\u0000~"
105 +"\u0000>q\u0000~\u0000\tq\u0000~\u0000\fq\u0000~\u00006x"));
106 }
107 return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
108 }
109
110 public class Unmarshaller
111 extends net.sf.jour.rt.view.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl
112 {
113
114
115 public Unmarshaller(net.sf.jour.rt.view.config.impl.runtime.UnmarshallingContext context) {
116 super(context, "----");
117 }
118
119 protected Unmarshaller(net.sf.jour.rt.view.config.impl.runtime.UnmarshallingContext context, int startState) {
120 this(context);
121 state = startState;
122 }
123
124 public java.lang.Object owner() {
125 return net.sf.jour.rt.view.config.impl.TimeImpl.this;
126 }
127
128 public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
129 throws org.xml.sax.SAXException
130 {
131 int attIdx;
132 outer:
133 while (true) {
134 switch (state) {
135 case 0 :
136 if (("time" == ___local)&&("" == ___uri)) {
137 context.pushAttributes(__atts, true);
138 state = 1;
139 return ;
140 }
141 break;
142 case 3 :
143 revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
144 return ;
145 case 1 :
146 attIdx = context.getAttribute("", "exclude");
147 if (attIdx >= 0) {
148 context.consumeAttribute(attIdx);
149 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
150 return ;
151 }
152 attIdx = context.getAttribute("", "from");
153 if (attIdx >= 0) {
154 context.consumeAttribute(attIdx);
155 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
156 return ;
157 }
158 attIdx = context.getAttribute("", "to");
159 if (attIdx >= 0) {
160 context.consumeAttribute(attIdx);
161 context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
162 return ;
163 }
164 break;
165 }
166 super.enterElement(___uri, ___local, ___qname, __atts);
167 break;
168 }
169 }
170
171 public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
172 throws org.xml.sax.SAXException
173 {
174 int attIdx;
175 outer:
176 while (true) {
177 switch (state) {
178 case 2 :
179 if (("time" == ___local)&&("" == ___uri)) {
180 context.popAttributes();
181 state = 3;
182 return ;
183 }
184 break;
185 case 3 :
186 revertToParentFromLeaveElement(___uri, ___local, ___qname);
187 return ;
188 case 1 :
189 attIdx = context.getAttribute("", "exclude");
190 if (attIdx >= 0) {
191 context.consumeAttribute(attIdx);
192 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
193 return ;
194 }
195 attIdx = context.getAttribute("", "from");
196 if (attIdx >= 0) {
197 context.consumeAttribute(attIdx);
198 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
199 return ;
200 }
201 attIdx = context.getAttribute("", "to");
202 if (attIdx >= 0) {
203 context.consumeAttribute(attIdx);
204 context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
205 return ;
206 }
207 break;
208 }
209 super.leaveElement(___uri, ___local, ___qname);
210 break;
211 }
212 }
213
214 public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
215 throws org.xml.sax.SAXException
216 {
217 int attIdx;
218 outer:
219 while (true) {
220 switch (state) {
221 case 3 :
222 revertToParentFromEnterAttribute(___uri, ___local, ___qname);
223 return ;
224 case 1 :
225 if (("exclude" == ___local)&&("" == ___uri)) {
226 spawnHandlerFromEnterAttribute((((net.sf.jour.rt.view.config.impl.TimeTypeImpl)net.sf.jour.rt.view.config.impl.TimeImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
227 return ;
228 }
229 if (("from" == ___local)&&("" == ___uri)) {
230 spawnHandlerFromEnterAttribute((((net.sf.jour.rt.view.config.impl.TimeTypeImpl)net.sf.jour.rt.view.config.impl.TimeImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
231 return ;
232 }
233 if (("to" == ___local)&&("" == ___uri)) {
234 spawnHandlerFromEnterAttribute((((net.sf.jour.rt.view.config.impl.TimeTypeImpl)net.sf.jour.rt.view.config.impl.TimeImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
235 return ;
236 }
237 break;
238 }
239 super.enterAttribute(___uri, ___local, ___qname);
240 break;
241 }
242 }
243
244 public void leaveAttribute(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 3 :
252 revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
253 return ;
254 case 1 :
255 attIdx = context.getAttribute("", "exclude");
256 if (attIdx >= 0) {
257 context.consumeAttribute(attIdx);
258 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
259 return ;
260 }
261 attIdx = context.getAttribute("", "from");
262 if (attIdx >= 0) {
263 context.consumeAttribute(attIdx);
264 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
265 return ;
266 }
267 attIdx = context.getAttribute("", "to");
268 if (attIdx >= 0) {
269 context.consumeAttribute(attIdx);
270 context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
271 return ;
272 }
273 break;
274 }
275 super.leaveAttribute(___uri, ___local, ___qname);
276 break;
277 }
278 }
279
280 public void handleText(final java.lang.String value)
281 throws org.xml.sax.SAXException
282 {
283 int attIdx;
284 outer:
285 while (true) {
286 try {
287 switch (state) {
288 case 3 :
289 revertToParentFromText(value);
290 return ;
291 case 1 :
292 attIdx = context.getAttribute("", "exclude");
293 if (attIdx >= 0) {
294 context.consumeAttribute(attIdx);
295 context.getCurrentHandler().text(value);
296 return ;
297 }
298 attIdx = context.getAttribute("", "from");
299 if (attIdx >= 0) {
300 context.consumeAttribute(attIdx);
301 context.getCurrentHandler().text(value);
302 return ;
303 }
304 attIdx = context.getAttribute("", "to");
305 if (attIdx >= 0) {
306 context.consumeAttribute(attIdx);
307 context.getCurrentHandler().text(value);
308 return ;
309 }
310 spawnHandlerFromText((((net.sf.jour.rt.view.config.impl.TimeTypeImpl)net.sf.jour.rt.view.config.impl.TimeImpl.this).new Unmarshaller(context)), 2, value);
311 return ;
312 }
313 } catch (java.lang.RuntimeException e) {
314 handleUnexpectedTextException(value, e);
315 }
316 break;
317 }
318 }
319
320 }
321
322 }