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 LoadTestingImpl extends
011: org.jaffa.tools.loadtest.domain.impl.LoadTestingTypeImpl
012: implements org.jaffa.tools.loadtest.domain.LoadTesting,
013: com.sun.xml.bind.RIElement,
014: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
015: com.sun.xml.bind.serializer.XMLSerializable,
016: com.sun.xml.bind.validator.ValidatableObject {
017:
018: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
019: .deserialize("\u00ac\u00ed\u0000\u0005sr\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\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\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\u0003xp\u0000)\u00e3\u0092pp\u0000sr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004\u0000)\u00e3\u0087ppsq\u0000~\u0000\u0000\u0000)\u00e3\u0084pp\u0000sq\u0000~\u0000\u0000\u0000)\u00e3ypp\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\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\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004\u0000)\u00e3nppsq\u0000~\u0000\u0007\u0000)\u00e3csr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004\u0000)\u00e3`q\u0000~\u0000\u0011psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004\u0000\u0000\u0000\bsq\u0000~\u0000\u0010\u0001q\u0000~\u0000\u0015sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004\u0000\u0000\u0000\tq\u0000~\u0000\u0016psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001dxq\u0000~\u0000\u0018t\u0000\'org.jaffa.tools.loadtest.domain.TestSett\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u001ct\u0000\btest-sett\u0000\u0000sq\u0000~\u0000\u001ct\u0000\fload-testingq\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\u0003\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u000fppppppppppq\u0000~\u0000\u000eppppppppppppppppppppppppq\u0000~\u0000\tppppppppppppppppppp");
020:
021: public java.lang.String ____jaxb_ri____getNamespaceURI() {
022: return "";
023: }
024:
025: public java.lang.String ____jaxb_ri____getLocalName() {
026: return "load-testing";
027: }
028:
029: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
030: return org.jaffa.tools.loadtest.domain.LoadTesting.class;
031: }
032:
033: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
034: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
035: return new org.jaffa.tools.loadtest.domain.impl.LoadTestingImpl.Unmarshaller(
036: context);
037: }
038:
039: public java.lang.Class getPrimaryInterfaceClass() {
040: return PRIMARY_INTERFACE_CLASS();
041: }
042:
043: public void serializeElements(
044: com.sun.xml.bind.serializer.XMLSerializer context)
045: throws org.xml.sax.SAXException {
046: context.startElement("", "load-testing");
047: super .serializeAttributes(context);
048: context.endAttributes();
049: super .serializeElements(context);
050: context.endElement();
051: }
052:
053: public void serializeAttributes(
054: com.sun.xml.bind.serializer.XMLSerializer context)
055: throws org.xml.sax.SAXException {
056: }
057:
058: public void serializeAttributeBodies(
059: com.sun.xml.bind.serializer.XMLSerializer context)
060: throws org.xml.sax.SAXException {
061: }
062:
063: public java.lang.Class getPrimaryInterface() {
064: return (org.jaffa.tools.loadtest.domain.LoadTesting.class);
065: }
066:
067: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
068: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
069: schemaFragment);
070: }
071:
072: public class Unmarshaller extends
073: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
074:
075: public Unmarshaller(
076: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
077: super (context, "----");
078: }
079:
080: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
081: return org.jaffa.tools.loadtest.domain.impl.LoadTestingImpl.this ;
082: }
083:
084: public void enterElement(java.lang.String ___uri,
085: java.lang.String ___local, org.xml.sax.Attributes __atts)
086: throws com.sun.xml.bind.unmarshaller.UnreportedException {
087: switch (state) {
088: case 1:
089: if (("" == ___uri) && ("test-set" == ___local)) {
090: spawnSuperClassFromEnterElement(
091: (((org.jaffa.tools.loadtest.domain.impl.LoadTestingTypeImpl) org.jaffa.tools.loadtest.domain.impl.LoadTestingImpl.this ).new Unmarshaller(
092: context)), 2, ___uri, ___local,
093: __atts);
094: return;
095: }
096: break;
097: case 0:
098: if (("" == ___uri) && ("load-testing" == ___local)) {
099: context.pushAttributes(__atts);
100: state = 1;
101: return;
102: }
103: break;
104: case 3:
105: revertToParentFromEnterElement(___uri, ___local, __atts);
106: return;
107: }
108: super .enterElement(___uri, ___local, __atts);
109: }
110:
111: public void leaveElement(java.lang.String ___uri,
112: java.lang.String ___local)
113: throws com.sun.xml.bind.unmarshaller.UnreportedException {
114: switch (state) {
115: case 2:
116: if (("" == ___uri) && ("load-testing" == ___local)) {
117: context.popAttributes();
118: state = 3;
119: return;
120: }
121: break;
122: case 3:
123: revertToParentFromLeaveElement(___uri, ___local);
124: return;
125: }
126: super .leaveElement(___uri, ___local);
127: }
128:
129: public void enterAttribute(java.lang.String ___uri,
130: java.lang.String ___local)
131: throws com.sun.xml.bind.unmarshaller.UnreportedException {
132: switch (state) {
133: case 3:
134: revertToParentFromEnterAttribute(___uri, ___local);
135: return;
136: }
137: super .enterAttribute(___uri, ___local);
138: }
139:
140: public void leaveAttribute(java.lang.String ___uri,
141: java.lang.String ___local)
142: throws com.sun.xml.bind.unmarshaller.UnreportedException {
143: switch (state) {
144: case 3:
145: revertToParentFromLeaveAttribute(___uri, ___local);
146: return;
147: }
148: super .leaveAttribute(___uri, ___local);
149: }
150:
151: public void text(java.lang.String value)
152: throws com.sun.xml.bind.unmarshaller.UnreportedException {
153: try {
154: switch (state) {
155: case 3:
156: revertToParentFromText(value);
157: return;
158: }
159: } catch (java.lang.RuntimeException e) {
160: handleUnexpectedTextException(value, e);
161: }
162: }
163:
164: public void leaveChild(int nextState)
165: throws com.sun.xml.bind.unmarshaller.UnreportedException {
166: switch (nextState) {
167: case 2:
168: state = 2;
169: return;
170: }
171: super.leaveChild(nextState);
172: }
173:
174: }
175:
176: }
|