KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > japex > testsuite > impl > TestSuiteImpl


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: 2005.06.14 at 12:02:17 PDT
6
//
7

8
9 package com.sun.japex.testsuite.impl;
10
11 public class TestSuiteImpl
12     extends com.sun.japex.testsuite.impl.TestSuiteTypeImpl
13     implements com.sun.japex.testsuite.TestSuite, com.sun.xml.bind.RIElement, com.sun.xml.bind.JAXBObject, com.sun.japex.testsuite.impl.runtime.UnmarshallableObject, com.sun.japex.testsuite.impl.runtime.XMLSerializable, com.sun.japex.testsuite.impl.runtime.ValidatableObject
14 {
15
16     public final static java.lang.Class JavaDoc version = (com.sun.japex.testsuite.impl.JAXBVersion.class);
17     private static com.sun.msv.grammar.Grammar schemaFragment;
18
19     private final static java.lang.Class JavaDoc PRIMARY_INTERFACE_CLASS() {
20         return (com.sun.japex.testsuite.TestSuite.class);
21     }
22
23     public java.lang.String JavaDoc ____jaxb_ri____getNamespaceURI() {
24         return "http://www.sun.com/japex/testSuite";
25     }
26
27     public java.lang.String JavaDoc ____jaxb_ri____getLocalName() {
28         return "testSuite";
29     }
30
31     public com.sun.japex.testsuite.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.sun.japex.testsuite.impl.runtime.UnmarshallingContext context) {
32         return new com.sun.japex.testsuite.impl.TestSuiteImpl.Unmarshaller(context);
33     }
34
35     public void serializeBody(com.sun.japex.testsuite.impl.runtime.XMLSerializer context)
36         throws org.xml.sax.SAXException JavaDoc
37     {
38         context.startElement("http://www.sun.com/japex/testSuite", "testSuite");
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(com.sun.japex.testsuite.impl.runtime.XMLSerializer context)
48         throws org.xml.sax.SAXException JavaDoc
49     {
50     }
51
52     public void serializeURIs(com.sun.japex.testsuite.impl.runtime.XMLSerializer context)
53         throws org.xml.sax.SAXException JavaDoc
54     {
55     }
56
57     public java.lang.Class JavaDoc getPrimaryInterface() {
58         return (com.sun.japex.testsuite.TestSuite.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\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bpps"
73 +"r\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.ms"
74 +"v.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004sr\u0000\u0011java.lang."
75 +"Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000"
76 +"sq\u0000~\u0000\rppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000"
77 +"\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0013psr\u00002com.sun.m"
78 +"sv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq"
79 +"\u0000~\u0000\u0012\u0001psr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom"
80 +".sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gramm"
81 +"ar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001dpsr\u0000#co"
82 +"m.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012L"
83 +"java/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000$xq\u0000~\u0000\u001ft\u0000!com.sun.japex."
84 +"testsuite.ParamTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-ele"
85 +"mentssq\u0000~\u0000\rppsq\u0000~\u0000\u0019q\u0000~\u0000\u0013psr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000"
86 +"\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003"
87 +"L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.m"
88 +"sv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype"
89 +".xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xs"
90 +"d.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSData"
91 +"typeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000$L\u0000\btypeNameq\u0000~\u0000$L\u0000\nwh"
92 +"iteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt"
93 +"\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.da"
94 +"tatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.su"
95 +"n.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.s"
96 +"un.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004"
97 +"ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000"
98 +"$L\u0000\fnamespaceURIq\u0000~\u0000$xpq\u0000~\u00005q\u0000~\u00004sq\u0000~\u0000#t\u0000\u0004typet\u0000)http://www."
99 +"w3.org/2001/XMLSchema-instanceq\u0000~\u0000\"sq\u0000~\u0000#t\u0000\u0005paramt\u0000\"http://w"
100 +"ww.sun.com/japex/testSuiteq\u0000~\u0000\"sq\u0000~\u0000\u000fppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~"
101 +"\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u0000\u0019q\u0000~\u0000\u0013pq\u0000~\u0000\u001cq\u0000~\u0000 q\u0000~\u0000\"sq\u0000~\u0000#t\u0000"
102 +"0com.sun.japex.testsuite.TestSuiteType.DriverTypeq\u0000~\u0000\'sq\u0000~\u0000\r"
103 +"ppsq\u0000~\u0000\u0019q\u0000~\u0000\u0013pq\u0000~\u0000-q\u0000~\u0000=q\u0000~\u0000\"sq\u0000~\u0000#t\u0000\u0006driverq\u0000~\u0000Bsq\u0000~\u0000\u000fppsq\u0000"
104 +"~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u0000\u0019q\u0000~\u0000\u0013pq\u0000~\u0000\u001c"
105 +"q\u0000~\u0000 q\u0000~\u0000\"sq\u0000~\u0000#t\u00002com.sun.japex.testsuite.TestSuiteType.Tes"
106 +"tCaseTypeq\u0000~\u0000\'sq\u0000~\u0000\rppsq\u0000~\u0000\u0019q\u0000~\u0000\u0013pq\u0000~\u0000-q\u0000~\u0000=q\u0000~\u0000\"sq\u0000~\u0000#t\u0000\bte"
107 +"stCaseq\u0000~\u0000Bsq\u0000~\u0000\u0019ppsq\u0000~\u0000*ppsr\u0000#com.sun.msv.datatype.xsd.Stri"
108 +"ngType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u0000/q\u0000~\u00004t\u0000\u0006stringsr\u00005com"
109 +".sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
110 +"\u0000xq\u0000~\u00007\u0001q\u0000~\u0000:sq\u0000~\u0000;q\u0000~\u0000aq\u0000~\u00004sq\u0000~\u0000#t\u0000\u0004namet\u0000\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0019q"
111 +"\u0000~\u0000\u0013pq\u0000~\u0000-q\u0000~\u0000=q\u0000~\u0000\"sq\u0000~\u0000#t\u0000\ttestSuiteq\u0000~\u0000Bsr\u0000\"com.sun.msv.g"
112 +"rammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/g"
113 +"rammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.E"
114 +"xpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL"
115 +"\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0015\u0001pq\u0000~\u0000\n"
116 +"q\u0000~\u0000\u0015q\u0000~\u0000Eq\u0000~\u0000Rq\u0000~\u0000\u0018q\u0000~\u0000Hq\u0000~\u0000Uq\u0000~\u0000\u0011q\u0000~\u0000Cq\u0000~\u0000Pq\u0000~\u0000(q\u0000~\u0000Lq\u0000~\u0000Y"
117 +"q\u0000~\u0000hq\u0000~\u0000\fq\u0000~\u0000\tq\u0000~\u0000\u000bq\u0000~\u0000\u0017q\u0000~\u0000Gq\u0000~\u0000Tq\u0000~\u0000\u000ex"));
118         }
119         return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
120     }
121
122     public class Unmarshaller
123         extends com.sun.japex.testsuite.impl.runtime.AbstractUnmarshallingEventHandlerImpl
124     {
125
126
127         public Unmarshaller(com.sun.japex.testsuite.impl.runtime.UnmarshallingContext context) {
128             super(context, "----");
129         }
130
131         protected Unmarshaller(com.sun.japex.testsuite.impl.runtime.UnmarshallingContext context, int startState) {
132             this(context);
133             state = startState;
134         }
135
136         public java.lang.Object JavaDoc owner() {
137             return com.sun.japex.testsuite.impl.TestSuiteImpl.this;
138         }
139
140         public void enterElement(java.lang.String JavaDoc ___uri, java.lang.String JavaDoc ___local, java.lang.String JavaDoc ___qname, org.xml.sax.Attributes JavaDoc __atts)
141             throws org.xml.sax.SAXException JavaDoc
142         {
143             int attIdx;
144             outer:
145             while (true) {
146                 switch (state) {
147                     case 3 :
148                         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
149                         return ;
150                     case 1 :
151                         attIdx = context.getAttribute("", "name");
152                         if (attIdx >= 0) {
153                             context.consumeAttribute(attIdx);
154                             context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
155                             return ;
156                         }
157                         break;
158                     case 0 :
159                         if (("testSuite" == ___local)&&("http://www.sun.com/japex/testSuite" == ___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 JavaDoc ___uri, java.lang.String JavaDoc ___local, java.lang.String JavaDoc ___qname)
172             throws org.xml.sax.SAXException JavaDoc
173         {
174             int attIdx;
175             outer:
176             while (true) {
177                 switch (state) {
178                     case 3 :
179                         revertToParentFromLeaveElement(___uri, ___local, ___qname);
180                         return ;
181                     case 2 :
182                         if (("testSuite" == ___local)&&("http://www.sun.com/japex/testSuite" == ___uri)) {
183                             context.popAttributes();
184                             state = 3;
185                             return ;
186                         }
187                         break;
188                     case 1 :
189                         attIdx = context.getAttribute("", "name");
190                         if (attIdx >= 0) {
191                             context.consumeAttribute(attIdx);
192                             context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
193                             return ;
194                         }
195                         break;
196                 }
197                 super.leaveElement(___uri, ___local, ___qname);
198                 break;
199             }
200         }
201
202         public void enterAttribute(java.lang.String JavaDoc ___uri, java.lang.String JavaDoc ___local, java.lang.String JavaDoc ___qname)
203             throws org.xml.sax.SAXException JavaDoc
204         {
205             int attIdx;
206             outer:
207             while (true) {
208                 switch (state) {
209                     case 3 :
210                         revertToParentFromEnterAttribute(___uri, ___local, ___qname);
211                         return ;
212                     case 1 :
213                         if (("name" == ___local)&&("" == ___uri)) {
214                             spawnHandlerFromEnterAttribute((((com.sun.japex.testsuite.impl.TestSuiteTypeImpl)com.sun.japex.testsuite.impl.TestSuiteImpl.this).new Unmarshaller(context)), 2, ___uri, ___local, ___qname);
215                             return ;
216                         }
217                         break;
218                 }
219                 super.enterAttribute(___uri, ___local, ___qname);
220                 break;
221             }
222         }
223
224         public void leaveAttribute(java.lang.String JavaDoc ___uri, java.lang.String JavaDoc ___local, java.lang.String JavaDoc ___qname)
225             throws org.xml.sax.SAXException JavaDoc
226         {
227             int attIdx;
228             outer:
229             while (true) {
230                 switch (state) {
231                     case 3 :
232                         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
233                         return ;
234                     case 1 :
235                         attIdx = context.getAttribute("", "name");
236                         if (attIdx >= 0) {
237                             context.consumeAttribute(attIdx);
238                             context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
239                             return ;
240                         }
241                         break;
242                 }
243                 super.leaveAttribute(___uri, ___local, ___qname);
244                 break;
245             }
246         }
247
248         public void handleText(final java.lang.String JavaDoc value)
249             throws org.xml.sax.SAXException JavaDoc
250         {
251             int attIdx;
252             outer:
253             while (true) {
254                 try {
255                     switch (state) {
256                         case 3 :
257                             revertToParentFromText(value);
258                             return ;
259                         case 1 :
260                             attIdx = context.getAttribute("", "name");
261                             if (attIdx >= 0) {
262                                 context.consumeAttribute(attIdx);
263                                 context.getCurrentHandler().text(value);
264                                 return ;
265                             }
266                             break;
267                     }
268                 } catch (java.lang.RuntimeException JavaDoc e) {
269                     handleUnexpectedTextException(value, e);
270                 }
271                 break;
272             }
273         }
274
275     }
276
277 }
278
Popular Tags