001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2003.04.17 at 03:04:48 PDT
006: //
007:
008: package org.jaffa.tools.loadtest.domain.impl;
009:
010: public class UnitTestImpl implements
011: org.jaffa.tools.loadtest.domain.UnitTest,
012: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
013: com.sun.xml.bind.serializer.XMLSerializable,
014: com.sun.xml.bind.validator.ValidatableObject {
015:
016: protected java.lang.String _MethodName;
017: protected java.lang.String _ClassName;
018: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
019: .deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0003\u00c6Q\u00fbppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0001\u00e3(\u00fbpp\u0000sr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0001\u00e3(\u00f0ppsr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\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\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0012L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$1\u0013JMoI\u00db\u00a4G\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0012L\u0000\fnamespaceURIq\u0000~\u0000\u0012xpq\u0000~\u0000\u0016q\u0000~\u0000\u0015sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0012L\u0000\fnamespaceURIq\u0000~\u0000\u0012xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\nclass-namet\u0000\u0000sq\u0000~\u0000\u0006\u0001\u00e3(\u00fbpp\u0000q\u0000~\u0000\rsq\u0000~\u0000\u001et\u0000\u000bmethod-nameq\u0000~\u0000\"sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000\'[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0001\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
020:
021: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
022: return org.jaffa.tools.loadtest.domain.UnitTest.class;
023: }
024:
025: public java.lang.String getMethodName() {
026: return _MethodName;
027: }
028:
029: public void setMethodName(java.lang.String value) {
030: _MethodName = value;
031: }
032:
033: public java.lang.String getClassName() {
034: return _ClassName;
035: }
036:
037: public void setClassName(java.lang.String value) {
038: _ClassName = value;
039: }
040:
041: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
042: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
043: return new org.jaffa.tools.loadtest.domain.impl.UnitTestImpl.Unmarshaller(
044: context);
045: }
046:
047: public java.lang.Class getPrimaryInterfaceClass() {
048: return PRIMARY_INTERFACE_CLASS();
049: }
050:
051: public void serializeElements(
052: com.sun.xml.bind.serializer.XMLSerializer context)
053: throws org.xml.sax.SAXException {
054: context.startElement("", "class-name");
055: context.endAttributes();
056: try {
057: context.text(((java.lang.String) _ClassName));
058: } catch (java.lang.Exception e) {
059: com.sun.xml.bind.marshaller.Util
060: .handlePrintConversionException(this , e, context);
061: }
062: context.endElement();
063: context.startElement("", "method-name");
064: context.endAttributes();
065: try {
066: context.text(((java.lang.String) _MethodName));
067: } catch (java.lang.Exception e) {
068: com.sun.xml.bind.marshaller.Util
069: .handlePrintConversionException(this , e, context);
070: }
071: context.endElement();
072: }
073:
074: public void serializeAttributes(
075: com.sun.xml.bind.serializer.XMLSerializer context)
076: throws org.xml.sax.SAXException {
077: }
078:
079: public void serializeAttributeBodies(
080: com.sun.xml.bind.serializer.XMLSerializer context)
081: throws org.xml.sax.SAXException {
082: }
083:
084: public java.lang.Class getPrimaryInterface() {
085: return (org.jaffa.tools.loadtest.domain.UnitTest.class);
086: }
087:
088: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
089: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
090: schemaFragment);
091: }
092:
093: public class Unmarshaller extends
094: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
095:
096: public Unmarshaller(
097: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
098: super (context, "-------");
099: }
100:
101: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
102: return org.jaffa.tools.loadtest.domain.impl.UnitTestImpl.this ;
103: }
104:
105: public void enterElement(java.lang.String ___uri,
106: java.lang.String ___local, org.xml.sax.Attributes __atts)
107: throws com.sun.xml.bind.unmarshaller.UnreportedException {
108: switch (state) {
109: case 3:
110: if (("" == ___uri) && ("method-name" == ___local)) {
111: context.pushAttributes(__atts);
112: state = 4;
113: return;
114: }
115: break;
116: case 6:
117: revertToParentFromEnterElement(___uri, ___local, __atts);
118: return;
119: case 0:
120: if (("" == ___uri) && ("class-name" == ___local)) {
121: context.pushAttributes(__atts);
122: state = 1;
123: return;
124: }
125: break;
126: }
127: super .enterElement(___uri, ___local, __atts);
128: }
129:
130: public void leaveElement(java.lang.String ___uri,
131: java.lang.String ___local)
132: throws com.sun.xml.bind.unmarshaller.UnreportedException {
133: switch (state) {
134: case 2:
135: if (("" == ___uri) && ("class-name" == ___local)) {
136: context.popAttributes();
137: state = 3;
138: return;
139: }
140: break;
141: case 6:
142: revertToParentFromLeaveElement(___uri, ___local);
143: return;
144: case 5:
145: if (("" == ___uri) && ("method-name" == ___local)) {
146: context.popAttributes();
147: state = 6;
148: return;
149: }
150: break;
151: }
152: super .leaveElement(___uri, ___local);
153: }
154:
155: public void enterAttribute(java.lang.String ___uri,
156: java.lang.String ___local)
157: throws com.sun.xml.bind.unmarshaller.UnreportedException {
158: switch (state) {
159: case 6:
160: revertToParentFromEnterAttribute(___uri, ___local);
161: return;
162: }
163: super .enterAttribute(___uri, ___local);
164: }
165:
166: public void leaveAttribute(java.lang.String ___uri,
167: java.lang.String ___local)
168: throws com.sun.xml.bind.unmarshaller.UnreportedException {
169: switch (state) {
170: case 6:
171: revertToParentFromLeaveAttribute(___uri, ___local);
172: return;
173: }
174: super .leaveAttribute(___uri, ___local);
175: }
176:
177: public void text(java.lang.String value)
178: throws com.sun.xml.bind.unmarshaller.UnreportedException {
179: try {
180: switch (state) {
181: case 1:
182: try {
183: _ClassName = value;
184: } catch (java.lang.Exception e) {
185: handleParseConversionException(e);
186: }
187: state = 2;
188: return;
189: case 6:
190: revertToParentFromText(value);
191: return;
192: case 4:
193: try {
194: _MethodName = value;
195: } catch (java.lang.Exception e) {
196: handleParseConversionException(e);
197: }
198: state = 5;
199: return;
200: }
201: } catch (java.lang.RuntimeException e) {
202: handleUnexpectedTextException(value, e);
203: }
204: }
205:
206: }
207:
208: }
|