View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.3-b18-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: 2004.12.16 at 07:09:44 EST 
6   //
7   
8   
9   package net.sf.jour.rt.view.config.impl;
10  
11  public class AccumulationImpl
12      extends net.sf.jour.rt.view.config.impl.AccumulationTypeImpl
13      implements net.sf.jour.rt.view.config.Accumulation, 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.Accumulation.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 "accumulation";
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.AccumulationImpl.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("", "accumulation");
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.Accumulation.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\u0004ppsr\u0000 com.sun.msv.g"
72  +"rammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq"
73  +"\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg"
74  +"/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/"
75  +"msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000!com.sun.msv.datatype.xsd.Lon"
76  +"gType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.sun.msv.datatype.xsd.IntegerDerivedT"
77  +"ype\u0099\u00f1]\u0090&6k\u00be\u0002\u0000\u0001L\u0000\nbaseFacetst\u0000)Lcom/sun/msv/datatype/xsd/XSDa"
78  +"tatypeImpl;xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000"
79  +"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
80  +"xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnam"
81  +"espaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0016L\u0000\nwhiteSpacet"
82  +"\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://"
83  +"www.w3.org/2001/XMLSchemat\u0000\u0004longsr\u00005com.sun.msv.datatype.xsd"
84  +".WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.data"
85  +"type.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000*com.sun.msv.dat"
86  +"atype.xsd.MaxInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.dataty"
87  +"pe.xsd.RangeFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\nlimitValuet\u0000\u0012Ljava/lang/Objec"
88  +"t;xr\u00009com.sun.msv.datatype.xsd.DataTypeWithValueConstraintFa"
89  +"cet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWithFacet"
90  +"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypeq\u0000"
91  +"~\u0000\u0012L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType;"
92  +"L\u0000\tfacetNameq\u0000~\u0000\u0016xq\u0000~\u0000\u0015ppq\u0000~\u0000\u001d\u0000\u0001sr\u0000*com.sun.msv.datatype.xsd"
93  +".MinInclusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001fppq\u0000~\u0000\u001d\u0000\u0000sr\u0000$com.sun.msv."
94  +"datatype.xsd.IntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0011q\u0000~\u0000\u0019t\u0000\u0007integerq\u0000~\u0000"
95  +"\u001dsr\u0000,com.sun.msv.datatype.xsd.FractionDigitsFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001"
96  +"I\u0000\u0005scalexr\u0000;com.sun.msv.datatype.xsd.DataTypeWithLexicalCons"
97  +"traintFacetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000\"ppq\u0000~\u0000\u001d\u0001\u0000sr\u0000#com.sun.msv.datatyp"
98  +"e.xsd.NumberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0013q\u0000~\u0000\u0019t\u0000\u0007decimalq\u0000~\u0000\u001dq\u0000~\u0000.t\u0000"
99  +"\u000efractionDigits\u0000\u0000\u0000\u0000q\u0000~\u0000(t\u0000\fminInclusivesr\u0000\u000ejava.lang.Long;\u008b\u00e4"
100 +"\u0090\u00cc\u008f#\u00df\u0002\u0000\u0001J\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~"
101 +"\u0000(t\u0000\fmaxInclusivesq\u0000~\u00002\u007f\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ffsr\u00000com.sun.msv.grammar.Expre"
102 +"ssion$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.ut"
103 +"il.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0016L\u0000\fnamespaceURIq\u0000~\u0000"
104 +"\u0016xpq\u0000~\u0000\u001aq\u0000~\u0000\u0019sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
105 +"\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0016L\u0000\fnamespaceURIq\u0000~\u0000\u0016xr\u0000\u001dcom.sun.msv.gram"
106 +"mar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\ttimeFramet\u0000\u0000sr\u0000\u001dcom.sun.msv.gra"
107 +"mmar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\nsr\u0000\u0011java.lang.Boolean"
108 +"\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\fppsr\u0000\"com.sun.msv.datatype.xsd."
109 +"QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0013q\u0000~\u0000\u0019t\u0000\u0005QNameq\u0000~\u0000\u001dq\u0000~\u00008sq\u0000~\u00009q\u0000~\u0000H"
110 +"q\u0000~\u0000\u0019sq\u0000~\u0000;t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instan"
111 +"cesr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000"
112 +"\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000C\u0001psq\u0000~\u0000;t\u0000\faccumulationq\u0000~\u0000?sr\u0000\"com.sun.msv"
113 +".grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv"
114 +"/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar"
115 +".ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersio"
116 +"nL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0002\u0001pq\u0000~"
117 +"\u0000\tq\u0000~\u0000Ax"));
118         }
119         return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
120     }
121 
122     public class Unmarshaller
123         extends net.sf.jour.rt.view.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl
124     {
125 
126 
127         public Unmarshaller(net.sf.jour.rt.view.config.impl.runtime.UnmarshallingContext context) {
128             super(context, "----");
129         }
130 
131         protected Unmarshaller(net.sf.jour.rt.view.config.impl.runtime.UnmarshallingContext context, int startState) {
132             this(context);
133             state = startState;
134         }
135 
136         public java.lang.Object owner() {
137             return net.sf.jour.rt.view.config.impl.AccumulationImpl.this;
138         }
139 
140         public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
141             throws org.xml.sax.SAXException
142         {
143             int attIdx;
144             outer:
145             while (true) {
146                 switch (state) {
147                     case  1 :
148                         attIdx = context.getAttribute("", "timeFrame");
149                         if (attIdx >= 0) {
150                             context.consumeAttribute(attIdx);
151                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
152                             return ;
153                         }
154                         break;
155                     case  3 :
156                         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
157                         return ;
158                     case  0 :
159                         if (("accumulation" == ___local)&&("" == ___uri)) {
160                             context.pushAttributes(__atts, false);
161                             state = 1;
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  1 :
179                         attIdx = context.getAttribute("", "timeFrame");
180                         if (attIdx >= 0) {
181                             context.consumeAttribute(attIdx);
182                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
183                             return ;
184                         }
185                         break;
186                     case  3 :
187                         revertToParentFromLeaveElement(___uri, ___local, ___qname);
188                         return ;
189                     case  2 :
190                         if (("accumulation" == ___local)&&("" == ___uri)) {
191                             context.popAttributes();
192                             state = 3;
193                             return ;
194                         }
195                         break;
196                 }
197                 super.leaveElement(___uri, ___local, ___qname);
198                 break;
199             }
200         }
201 
202         public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
203             throws org.xml.sax.SAXException
204         {
205             int attIdx;
206             outer:
207             while (true) {
208                 switch (state) {
209                     case  1 :
210                         if (("timeFrame" == ___local)&&("" == ___uri)) {
211                             spawnHandlerFromEnterAttribute((((net.sf.jour.rt.view.config.impl.AccumulationTypeImpl)net.sf.jour.rt.view.config.impl.AccumulationImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
212                             return ;
213                         }
214                         break;
215                     case  3 :
216                         revertToParentFromEnterAttribute(___uri, ___local, ___qname);
217                         return ;
218                 }
219                 super.enterAttribute(___uri, ___local, ___qname);
220                 break;
221             }
222         }
223 
224         public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
225             throws org.xml.sax.SAXException
226         {
227             int attIdx;
228             outer:
229             while (true) {
230                 switch (state) {
231                     case  1 :
232                         attIdx = context.getAttribute("", "timeFrame");
233                         if (attIdx >= 0) {
234                             context.consumeAttribute(attIdx);
235                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
236                             return ;
237                         }
238                         break;
239                     case  3 :
240                         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
241                         return ;
242                 }
243                 super.leaveAttribute(___uri, ___local, ___qname);
244                 break;
245             }
246         }
247 
248         public void handleText(final java.lang.String value)
249             throws org.xml.sax.SAXException
250         {
251             int attIdx;
252             outer:
253             while (true) {
254                 try {
255                     switch (state) {
256                         case  1 :
257                             attIdx = context.getAttribute("", "timeFrame");
258                             if (attIdx >= 0) {
259                                 context.consumeAttribute(attIdx);
260                                 context.getCurrentHandler().text(value);
261                                 return ;
262                             }
263                             break;
264                         case  3 :
265                             revertToParentFromText(value);
266                             return ;
267                     }
268                 } catch (java.lang.RuntimeException e) {
269                     handleUnexpectedTextException(value, e);
270                 }
271                 break;
272             }
273         }
274 
275     }
276 
277 }