View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v@@BUILD_VERSION@@ 
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: 2005.06.30 um 05:21:08 CEST 
6   //
7   
8   package de.nierbeck.timeTrack.model.impl;
9   
10  public class EntryTypeImpl implements de.nierbeck.timeTrack.model.EntryType,
11  		com.sun.xml.bind.JAXBObject,
12  		de.nierbeck.timeTrack.model.impl.runtime.UnmarshallableObject,
13  		de.nierbeck.timeTrack.model.impl.runtime.XMLSerializable,
14  		de.nierbeck.timeTrack.model.impl.runtime.ValidatableObject {
15  
16  	protected java.lang.String _Task;
17  
18  	protected java.util.Calendar _StartTime;
19  
20  	protected java.lang.String _Comment;
21  
22  	protected boolean has_Duration;
23  
24  	protected long _Duration;
25  
26  	protected java.lang.String _Project;
27  
28  	public final static java.lang.Class version = (de.nierbeck.timeTrack.model.impl.JAXBVersion.class);
29  
30  	private static com.sun.msv.grammar.Grammar schemaFragment;
31  
32  	private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
33  		return (de.nierbeck.timeTrack.model.EntryType.class);
34  	}
35  
36  	public java.lang.String getTask() {
37  		return _Task;
38  	}
39  
40  	public void setTask(java.lang.String value) {
41  		_Task = value;
42  	}
43  
44  	public java.util.Calendar getStartTime() {
45  		return _StartTime;
46  	}
47  
48  	public void setStartTime(java.util.Calendar value) {
49  		_StartTime = value;
50  	}
51  
52  	public java.lang.String getComment() {
53  		return _Comment;
54  	}
55  
56  	public void setComment(java.lang.String value) {
57  		_Comment = value;
58  	}
59  
60  	public long getDuration() {
61  		return _Duration;
62  	}
63  
64  	public void setDuration(long value) {
65  		_Duration = value;
66  		has_Duration = true;
67  	}
68  
69  	public java.lang.String getProject() {
70  		return _Project;
71  	}
72  
73  	public void setProject(java.lang.String value) {
74  		_Project = value;
75  	}
76  
77  	public de.nierbeck.timeTrack.model.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
78  			de.nierbeck.timeTrack.model.impl.runtime.UnmarshallingContext context) {
79  		return new de.nierbeck.timeTrack.model.impl.EntryTypeImpl.Unmarshaller(
80  				context);
81  	}
82  
83  	public void serializeBody(
84  			de.nierbeck.timeTrack.model.impl.runtime.XMLSerializer context)
85  			throws org.xml.sax.SAXException {
86  		if (!has_Duration) {
87  			context.reportError(com.sun.xml.bind.serializer.Util
88  					.createMissingObjectError(this, "Duration"));
89  		}
90  		context.startElement("", "startTime");
91  		context.endNamespaceDecls();
92  		context.endAttributes();
93  		try {
94  			context.text(com.sun.msv.datatype.xsd.DateTimeType.theInstance
95  					.serializeJavaObject(((java.util.Calendar) _StartTime),
96  							null), "StartTime");
97  		} catch (java.lang.Exception e) {
98  			de.nierbeck.timeTrack.model.impl.runtime.Util
99  					.handlePrintConversionException(this, e, context);
100 		}
101 		context.endElement();
102 		context.startElement("", "duration");
103 		context.endNamespaceDecls();
104 		context.endAttributes();
105 		try {
106 			context.text(javax.xml.bind.DatatypeConverter
107 					.printLong(((long) _Duration)), "Duration");
108 		} catch (java.lang.Exception e) {
109 			de.nierbeck.timeTrack.model.impl.runtime.Util
110 					.handlePrintConversionException(this, e, context);
111 		}
112 		context.endElement();
113 		context.startElement("", "project");
114 		context.endNamespaceDecls();
115 		context.endAttributes();
116 		try {
117 			context.text(((java.lang.String) _Project), "Project");
118 		} catch (java.lang.Exception e) {
119 			de.nierbeck.timeTrack.model.impl.runtime.Util
120 					.handlePrintConversionException(this, e, context);
121 		}
122 		context.endElement();
123 		context.startElement("", "task");
124 		context.endNamespaceDecls();
125 		context.endAttributes();
126 		try {
127 			context.text(((java.lang.String) _Task), "Task");
128 		} catch (java.lang.Exception e) {
129 			de.nierbeck.timeTrack.model.impl.runtime.Util
130 					.handlePrintConversionException(this, e, context);
131 		}
132 		context.endElement();
133 		context.startElement("", "comment");
134 		context.endNamespaceDecls();
135 		context.endAttributes();
136 		try {
137 			context.text(((java.lang.String) _Comment), "Comment");
138 		} catch (java.lang.Exception e) {
139 			de.nierbeck.timeTrack.model.impl.runtime.Util
140 					.handlePrintConversionException(this, e, context);
141 		}
142 		context.endElement();
143 	}
144 
145 	public void serializeAttributes(
146 			de.nierbeck.timeTrack.model.impl.runtime.XMLSerializer context)
147 			throws org.xml.sax.SAXException {
148 		if (!has_Duration) {
149 			context.reportError(com.sun.xml.bind.serializer.Util
150 					.createMissingObjectError(this, "Duration"));
151 		}
152 	}
153 
154 	public void serializeURIs(
155 			de.nierbeck.timeTrack.model.impl.runtime.XMLSerializer context)
156 			throws org.xml.sax.SAXException {
157 		if (!has_Duration) {
158 			context.reportError(com.sun.xml.bind.serializer.Util
159 					.createMissingObjectError(this, "Duration"));
160 		}
161 	}
162 
163 	public java.lang.Class getPrimaryInterface() {
164 		return (de.nierbeck.timeTrack.model.EntryType.class);
165 	}
166 
167 	public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
168 		if (schemaFragment == null) {
169 			schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
170 					.deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
171 							+ "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
172 							+ "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
173 							+ "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
174 							+ "expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\'com.sun.msv."
175 							+ "grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/su"
176 							+ "n/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000"
177 							+ "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq"
178 							+ "\u0000~\u0000\u0003pp\u0000sq\u0000~\u0000\u0000ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002"
179 							+ "dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001d"
180 							+ "Lcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000%com.sun.msv.datatyp"
181 							+ "e.xsd.DateTimeType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000)com.sun.msv.datatype.xsd.Da"
182 							+ "teTimeBaseType\u0014W\u001a@3\u00a5\u00b4\u00e5\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Builti"
183 							+ "nAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteT"
184 							+ "ype\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000"
185 							+ "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0017"
186 							+ "L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcesso"
187 							+ "r;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\bdateTimesr\u00005com.su"
188 							+ "n.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr"
189 							+ "\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xps"
190 							+ "r\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
191 							+ "\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocal"
192 							+ "Nameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xpq\u0000~\u0000\u001bq\u0000~\u0000\u001asr\u0000\u001dcom.sun.msv.gra"
193 							+ "mmar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.Att"
194 							+ "ributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\nxq\u0000~\u0000\u0003sr\u0000\u0011ja"
195 							+ "va.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u000eppsr\u0000\"com.sun.ms"
196 							+ "v.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0005QNameq\u0000~\u0000\u001eq"
197 							+ "\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000,q\u0000~\u0000\u001asr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000"
198 							+ "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xr\u0000\u001dcom.sun.m"
199 							+ "sv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org"
200 							+ "/2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression$E"
201 							+ "psilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\'\u0001psq\u0000~\u0000.t\u0000\tstartTimet"
202 							+ "\u0000\u0000sq\u0000~\u0000\tpp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000eppsr\u0000!com.sun.msv.datatype.xsd.Long"
203 							+ "Type\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.sun.msv.datatype.xsd.IntegerDerivedTy"
204 							+ "pe\u0099\u00f1]\u0090&6k\u00be\u0002\u0000\u0001L\u0000\nbaseFacetst\u0000)Lcom/sun/msv/datatype/xsd/XSDat"
205 							+ "atypeImpl;xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0004longq\u0000~\u0000\u001esr\u0000*com.sun.msv.datatype.xs"
206 							+ "d.MaxInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.R"
207 							+ "angeFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\nlimitValuet\u0000\u0012Ljava/lang/Object;xr\u00009co"
208 							+ "m.sun.msv.datatype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca"
209 							+ "\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
210 							+ "\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypeq\u0000~\u0000>L\u0000\fco"
211 							+ "ncreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType;L\u0000\tfacet"
212 							+ "Nameq\u0000~\u0000\u0017xq\u0000~\u0000\u0016ppq\u0000~\u0000\u001e\u0000\u0001sr\u0000*com.sun.msv.datatype.xsd.MinIncl"
213 							+ "usiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000Bppq\u0000~\u0000\u001e\u0000\u0000sr\u0000$com.sun.msv.datatype"
214 							+ ".xsd.IntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000=q\u0000~\u0000\u001at\u0000\u0007integerq\u0000~\u0000\u001esr\u0000,com"
215 							+ ".sun.msv.datatype.xsd.FractionDigitsFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\u0005scale"
216 							+ "xr\u0000;com.sun.msv.datatype.xsd.DataTypeWithLexicalConstraintFa"
217 							+ "cetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000Eppq\u0000~\u0000\u001e\u0001\u0000sr\u0000#com.sun.msv.datatype.xsd.Nu"
218 							+ "mberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0007decimalq\u0000~\u0000\u001eq\u0000~\u0000Qt\u0000\u000efractio"
219 							+ "nDigits\u0000\u0000\u0000\u0000q\u0000~\u0000Kt\u0000\fminInclusivesr\u0000\u000ejava.lang.Long;\u008b\u00e4\u0090\u00cc\u008f#\u00df\u0002\u0000\u0001"
220 							+ "J\u0000\u0005valuexr\u0000\u0010java.lang.Number\u0086\u00ac\u0095\u001d\u000b\u0094\u00e0\u008b\u0002\u0000\u0000xp\u0080\u0000\u0000\u0000\u0000\u0000\u0000\u0000q\u0000~\u0000Kt\u0000\fmax"
221 							+ "Inclusivesq\u0000~\u0000U\u007f\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ffq\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000@q\u0000~\u0000\u001asq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000"
222 							+ "~\u0000(pq\u0000~\u0000)q\u0000~\u00000q\u0000~\u00004sq\u0000~\u0000.t\u0000\bdurationq\u0000~\u00008sq\u0000~\u0000\tpp\u0000sq\u0000~\u0000\u0000ppsq"
223 							+ "\u0000~\u0000\u000eppsr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\ri"
224 							+ "sAlwaysValidxq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd"
225 							+ ".WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001d\u0001q\u0000~\u0000 sq\u0000~\u0000!q\u0000"
226 							+ "~\u0000dq\u0000~\u0000\u001asq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000(pq\u0000~\u0000)q\u0000~\u00000q\u0000~\u00004sq\u0000~\u0000.t\u0000\u0007projectq"
227 							+ "\u0000~\u00008sq\u0000~\u0000\tpp\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000asq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000(pq\u0000~\u0000)q\u0000~\u00000q\u0000~\u0000"
228 							+ "4sq\u0000~\u0000.t\u0000\u0004taskq\u0000~\u00008sq\u0000~\u0000\tpp\u0000sq\u0000~\u0000\u0000ppq\u0000~\u0000asq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000("
229 							+ "pq\u0000~\u0000)q\u0000~\u00000q\u0000~\u00004sq\u0000~\u0000.t\u0000\u0007commentq\u0000~\u00008sr\u0000\"com.sun.msv.grammar"
230 							+ ".ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar"
231 							+ "/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Express"
232 							+ "ionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006pare"
233 							+ "ntt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u000e\u0001pq\u0000~\u0000\u0006q\u0000~\u0000:q"
234 							+ "\u0000~\u0000\u0007q\u0000~\u0000\rq\u0000~\u0000`q\u0000~\u0000mq\u0000~\u0000sq\u0000~\u0000$q\u0000~\u0000[q\u0000~\u0000hq\u0000~\u0000nq\u0000~\u0000tq\u0000~\u0000\u0005q\u0000~\u0000\bx"));
235 		}
236 		return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
237 				schemaFragment);
238 	}
239 
240 	public class Unmarshaller
241 			extends
242 			de.nierbeck.timeTrack.model.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
243 
244 		public Unmarshaller(
245 				de.nierbeck.timeTrack.model.impl.runtime.UnmarshallingContext context) {
246 			super(context, "----------------");
247 		}
248 
249 		protected Unmarshaller(
250 				de.nierbeck.timeTrack.model.impl.runtime.UnmarshallingContext context,
251 				int startState) {
252 			this(context);
253 			state = startState;
254 		}
255 
256 		public java.lang.Object owner() {
257 			return de.nierbeck.timeTrack.model.impl.EntryTypeImpl.this;
258 		}
259 
260 		public void enterElement(java.lang.String ___uri,
261 				java.lang.String ___local, java.lang.String ___qname,
262 				org.xml.sax.Attributes __atts) throws org.xml.sax.SAXException {
263 			int attIdx;
264 			outer: while (true) {
265 				switch (state) {
266 				case 3:
267 					if (("duration" == ___local) && ("" == ___uri)) {
268 						context.pushAttributes(__atts, true);
269 						state = 4;
270 						return;
271 					}
272 					break;
273 				case 6:
274 					if (("project" == ___local) && ("" == ___uri)) {
275 						context.pushAttributes(__atts, true);
276 						state = 7;
277 						return;
278 					}
279 					break;
280 				case 15:
281 					revertToParentFromEnterElement(___uri, ___local, ___qname,
282 							__atts);
283 					return;
284 				case 0:
285 					if (("startTime" == ___local) && ("" == ___uri)) {
286 						context.pushAttributes(__atts, true);
287 						state = 1;
288 						return;
289 					}
290 					break;
291 				case 12:
292 					if (("comment" == ___local) && ("" == ___uri)) {
293 						context.pushAttributes(__atts, true);
294 						state = 13;
295 						return;
296 					}
297 					break;
298 				case 9:
299 					if (("task" == ___local) && ("" == ___uri)) {
300 						context.pushAttributes(__atts, true);
301 						state = 10;
302 						return;
303 					}
304 					break;
305 				}
306 				super.enterElement(___uri, ___local, ___qname, __atts);
307 				break;
308 			}
309 		}
310 
311 		public void leaveElement(java.lang.String ___uri,
312 				java.lang.String ___local, java.lang.String ___qname)
313 				throws org.xml.sax.SAXException {
314 			int attIdx;
315 			outer: while (true) {
316 				switch (state) {
317 				case 11:
318 					if (("task" == ___local) && ("" == ___uri)) {
319 						context.popAttributes();
320 						state = 12;
321 						return;
322 					}
323 					break;
324 				case 2:
325 					if (("startTime" == ___local) && ("" == ___uri)) {
326 						context.popAttributes();
327 						state = 3;
328 						return;
329 					}
330 					break;
331 				case 14:
332 					if (("comment" == ___local) && ("" == ___uri)) {
333 						context.popAttributes();
334 						state = 15;
335 						return;
336 					}
337 					break;
338 				case 15:
339 					revertToParentFromLeaveElement(___uri, ___local, ___qname);
340 					return;
341 				case 8:
342 					if (("project" == ___local) && ("" == ___uri)) {
343 						context.popAttributes();
344 						state = 9;
345 						return;
346 					}
347 					break;
348 				case 5:
349 					if (("duration" == ___local) && ("" == ___uri)) {
350 						context.popAttributes();
351 						state = 6;
352 						return;
353 					}
354 					break;
355 				}
356 				super.leaveElement(___uri, ___local, ___qname);
357 				break;
358 			}
359 		}
360 
361 		public void enterAttribute(java.lang.String ___uri,
362 				java.lang.String ___local, java.lang.String ___qname)
363 				throws org.xml.sax.SAXException {
364 			int attIdx;
365 			outer: while (true) {
366 				switch (state) {
367 				case 15:
368 					revertToParentFromEnterAttribute(___uri, ___local, ___qname);
369 					return;
370 				}
371 				super.enterAttribute(___uri, ___local, ___qname);
372 				break;
373 			}
374 		}
375 
376 		public void leaveAttribute(java.lang.String ___uri,
377 				java.lang.String ___local, java.lang.String ___qname)
378 				throws org.xml.sax.SAXException {
379 			int attIdx;
380 			outer: while (true) {
381 				switch (state) {
382 				case 15:
383 					revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
384 					return;
385 				}
386 				super.leaveAttribute(___uri, ___local, ___qname);
387 				break;
388 			}
389 		}
390 
391 		public void handleText(final java.lang.String value)
392 				throws org.xml.sax.SAXException {
393 			int attIdx;
394 			outer: while (true) {
395 				try {
396 					switch (state) {
397 					case 13:
398 						eatText1(value);
399 						state = 14;
400 						return;
401 					case 1:
402 						eatText2(value);
403 						state = 2;
404 						return;
405 					case 7:
406 						eatText3(value);
407 						state = 8;
408 						return;
409 					case 15:
410 						revertToParentFromText(value);
411 						return;
412 					case 4:
413 						eatText4(value);
414 						state = 5;
415 						return;
416 					case 10:
417 						eatText5(value);
418 						state = 11;
419 						return;
420 					}
421 				} catch (java.lang.RuntimeException e) {
422 					handleUnexpectedTextException(value, e);
423 				}
424 				break;
425 			}
426 		}
427 
428 		private void eatText1(final java.lang.String value)
429 				throws org.xml.sax.SAXException {
430 			try {
431 				_Comment = value;
432 			} catch (java.lang.Exception e) {
433 				handleParseConversionException(e);
434 			}
435 		}
436 
437 		private void eatText2(final java.lang.String value)
438 				throws org.xml.sax.SAXException {
439 			try {
440 				_StartTime = ((java.util.Calendar) com.sun.msv.datatype.xsd.DateTimeType.theInstance
441 						.createJavaObject(com.sun.xml.bind.WhiteSpaceProcessor
442 								.collapse(value), null));
443 			} catch (java.lang.Exception e) {
444 				handleParseConversionException(e);
445 			}
446 		}
447 
448 		private void eatText3(final java.lang.String value)
449 				throws org.xml.sax.SAXException {
450 			try {
451 				_Project = value;
452 			} catch (java.lang.Exception e) {
453 				handleParseConversionException(e);
454 			}
455 		}
456 
457 		private void eatText4(final java.lang.String value)
458 				throws org.xml.sax.SAXException {
459 			try {
460 				_Duration = javax.xml.bind.DatatypeConverter
461 						.parseLong(com.sun.xml.bind.WhiteSpaceProcessor
462 								.collapse(value));
463 				has_Duration = true;
464 			} catch (java.lang.Exception e) {
465 				handleParseConversionException(e);
466 			}
467 		}
468 
469 		private void eatText5(final java.lang.String value)
470 				throws org.xml.sax.SAXException {
471 			try {
472 				_Task = value;
473 			} catch (java.lang.Exception e) {
474 				handleParseConversionException(e);
475 			}
476 		}
477 
478 	}
479 
480 }