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 ClassnamesImpl
12      extends net.sf.jour.rt.view.config.impl.ClassnamesTypeImpl
13      implements net.sf.jour.rt.view.config.Classnames, 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.Classnames.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 "classnames";
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.ClassnamesImpl.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("", "classnames");
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.Classnames.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.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryE"
73  +"xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001dcom.sun.msv.grammar.Choi"
74  +"ceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nsr\u0000\u0011java.lang"
75  +".Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.Attri"
76  +"buteExp\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\u0013psr"
77  +"\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
78  +"\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0012\u0001psr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
79  +"\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.su"
80  +"n.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q"
81  +"\u0000~\u0000\u0018psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlo"
82  +"calNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001fxq\u0000~\u0000\u001at\u0000\u001fnet"
83  +".sf.jour.rt.view.config.Trimt\u0000+http://java.sun.com/jaxb/xjc/"
84  +"dummy-elementssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nq\u0000~\u0000\u0013p"
85  +"sq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000#net.sf.jour.rt.view.conf"
86  +"ig.TrimTypeq\u0000~\u0000\"sq\u0000~\u0000\rppsq\u0000~\u0000\u0014q\u0000~\u0000\u0013psr\u0000\u001bcom.sun.msv.grammar."
87  +"DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006"
88  +"exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr"
89  +"\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.m"
90  +"sv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv."
91  +"datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype"
92  +".xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001fL\u0000\btypeNam"
93  +"eq\u0000~\u0000\u001fL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpacePr"
94  +"ocessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com"
95  +".sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
96  +"\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
97  +"xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000"
98  +"\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlo"
99  +"calNameq\u0000~\u0000\u001fL\u0000\fnamespaceURIq\u0000~\u0000\u001fxpq\u0000~\u00008q\u0000~\u00007sq\u0000~\u0000\u001et\u0000\u0004typet\u0000)"
100 +"http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\u0004trimt"
101 +"\u0000\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u00000q\u0000~\u0000@q\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\nclassnamesq\u0000~\u0000"
102 +"Esr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTabl"
103 +"et\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com"
104 +".sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005coun"
105 +"tB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Expression"
106 +"Pool;xp\u0000\u0000\u0000\n\u0001pq\u0000~\u0000\u0011q\u0000~\u0000\'q\u0000~\u0000\tq\u0000~\u0000\u0010q\u0000~\u0000&q\u0000~\u0000\fq\u0000~\u0000$q\u0000~\u0000\u000eq\u0000~\u0000+q\u0000"
107 +"~\u0000Fx"));
108         }
109         return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
110     }
111 
112     public class Unmarshaller
113         extends net.sf.jour.rt.view.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl
114     {
115 
116 
117         public Unmarshaller(net.sf.jour.rt.view.config.impl.runtime.UnmarshallingContext context) {
118             super(context, "----");
119         }
120 
121         protected Unmarshaller(net.sf.jour.rt.view.config.impl.runtime.UnmarshallingContext context, int startState) {
122             this(context);
123             state = startState;
124         }
125 
126         public java.lang.Object owner() {
127             return net.sf.jour.rt.view.config.impl.ClassnamesImpl.this;
128         }
129 
130         public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
131             throws org.xml.sax.SAXException
132         {
133             int attIdx;
134             outer:
135             while (true) {
136                 switch (state) {
137                     case  0 :
138                         if (("classnames" == ___local)&&("" == ___uri)) {
139                             context.pushAttributes(__atts, false);
140                             state = 1;
141                             return ;
142                         }
143                         break;
144                     case  1 :
145                         if (("trim" == ___local)&&("" == ___uri)) {
146                             spawnHandlerFromEnterElement((((net.sf.jour.rt.view.config.impl.ClassnamesTypeImpl)net.sf.jour.rt.view.config.impl.ClassnamesImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname, __atts);
147                             return ;
148                         }
149                         if (("trim" == ___local)&&("" == ___uri)) {
150                             spawnHandlerFromEnterElement((((net.sf.jour.rt.view.config.impl.ClassnamesTypeImpl)net.sf.jour.rt.view.config.impl.ClassnamesImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname, __atts);
151                             return ;
152                         }
153                         break;
154                     case  3 :
155                         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
156                         return ;
157                 }
158                 super.enterElement(___uri, ___local, ___qname, __atts);
159                 break;
160             }
161         }
162 
163         public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
164             throws org.xml.sax.SAXException
165         {
166             int attIdx;
167             outer:
168             while (true) {
169                 switch (state) {
170                     case  2 :
171                         if (("classnames" == ___local)&&("" == ___uri)) {
172                             context.popAttributes();
173                             state = 3;
174                             return ;
175                         }
176                         break;
177                     case  3 :
178                         revertToParentFromLeaveElement(___uri, ___local, ___qname);
179                         return ;
180                 }
181                 super.leaveElement(___uri, ___local, ___qname);
182                 break;
183             }
184         }
185 
186         public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
187             throws org.xml.sax.SAXException
188         {
189             int attIdx;
190             outer:
191             while (true) {
192                 switch (state) {
193                     case  3 :
194                         revertToParentFromEnterAttribute(___uri, ___local, ___qname);
195                         return ;
196                 }
197                 super.enterAttribute(___uri, ___local, ___qname);
198                 break;
199             }
200         }
201 
202         public void leaveAttribute(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  3 :
210                         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
211                         return ;
212                 }
213                 super.leaveAttribute(___uri, ___local, ___qname);
214                 break;
215             }
216         }
217 
218         public void handleText(final java.lang.String value)
219             throws org.xml.sax.SAXException
220         {
221             int attIdx;
222             outer:
223             while (true) {
224                 try {
225                     switch (state) {
226                         case  3 :
227                             revertToParentFromText(value);
228                             return ;
229                     }
230                 } catch (java.lang.RuntimeException e) {
231                     handleUnexpectedTextException(value, e);
232                 }
233                 break;
234             }
235         }
236 
237     }
238 
239 }