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 LogOnImpl implements
011: org.jaffa.tools.loadtest.domain.LogOn,
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 _LoggedOnTitle;
017: protected java.lang.String _WebappRoot;
018: protected org.jaffa.tools.loadtest.domain.Users _Users;
019: protected java.lang.String _ClassName;
020: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
021: .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\u0005\u00d3^\u008fppsq\u0000~\u0000\u0000\u0005\u00a9{\u0006ppsq\u0000~\u0000\u0000\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\u0014L\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\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xpq\u0000~\u0000\u0018q\u0000~\u0000\u0017sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\nclass-namet\u0000\u0000sq\u0000~\u0000\b\u0001\u00e3(\u00fbpp\u0000q\u0000~\u0000\u000fsq\u0000~\u0000 t\u0000\u000bwebapp-rootq\u0000~\u0000$sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0001\u00e3)\u0006ppsq\u0000~\u0000\b\u0001\u00e3(\u00fbsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000q\u0000~\u0000\u000fsq\u0000~\u0000 t\u0000\u000flogged-on-titleq\u0000~\u0000$sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000+\u0001psq\u0000~\u0000\b\u0000)\u00e3\u0084pp\u0000sq\u0000~\u0000\b\u0000)\u00e3ypp\u0000sq\u0000~\u0000(\u0000)\u00e3nppsr\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\u0002xq\u0000~\u0000\u0003\u0000)\u00e3cq\u0000~\u0000,psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\txq\u0000~\u0000\u0003\u0000)\u00e3`q\u0000~\u0000,psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bq\u0000~\u00001q\u0000~\u0000;sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000!q\u0000~\u00000sq\u0000~\u0000 t\u0000%org.jaffa.tools.loadtest.domain.Userst\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000 t\u0000\u0005usersq\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~\u0000D[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0006\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppq\u0000~\u0000)ppppppppppq\u0000~\u0000\u0007ppppppppppppppq\u0000~\u0000\u0005pppppppppppppppppq\u0000~\u0000\u0006ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u00007ppppppppppq\u0000~\u00004pppppppppppppppppppppppppppppppppppppppppppp");
022:
023: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
024: return org.jaffa.tools.loadtest.domain.LogOn.class;
025: }
026:
027: public java.lang.String getLoggedOnTitle() {
028: return _LoggedOnTitle;
029: }
030:
031: public void setLoggedOnTitle(java.lang.String value) {
032: _LoggedOnTitle = value;
033: }
034:
035: public java.lang.String getWebappRoot() {
036: return _WebappRoot;
037: }
038:
039: public void setWebappRoot(java.lang.String value) {
040: _WebappRoot = value;
041: }
042:
043: public org.jaffa.tools.loadtest.domain.Users getUsers() {
044: return _Users;
045: }
046:
047: public void setUsers(org.jaffa.tools.loadtest.domain.Users value) {
048: _Users = value;
049: }
050:
051: public java.lang.String getClassName() {
052: return _ClassName;
053: }
054:
055: public void setClassName(java.lang.String value) {
056: _ClassName = value;
057: }
058:
059: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
060: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
061: return new org.jaffa.tools.loadtest.domain.impl.LogOnImpl.Unmarshaller(
062: context);
063: }
064:
065: public java.lang.Class getPrimaryInterfaceClass() {
066: return PRIMARY_INTERFACE_CLASS();
067: }
068:
069: public void serializeElements(
070: com.sun.xml.bind.serializer.XMLSerializer context)
071: throws org.xml.sax.SAXException {
072: context.startElement("", "class-name");
073: context.endAttributes();
074: try {
075: context.text(((java.lang.String) _ClassName));
076: } catch (java.lang.Exception e) {
077: com.sun.xml.bind.marshaller.Util
078: .handlePrintConversionException(this , e, context);
079: }
080: context.endElement();
081: context.startElement("", "webapp-root");
082: context.endAttributes();
083: try {
084: context.text(((java.lang.String) _WebappRoot));
085: } catch (java.lang.Exception e) {
086: com.sun.xml.bind.marshaller.Util
087: .handlePrintConversionException(this , e, context);
088: }
089: context.endElement();
090: if (_LoggedOnTitle != null) {
091: context.startElement("", "logged-on-title");
092: context.endAttributes();
093: try {
094: context.text(((java.lang.String) _LoggedOnTitle));
095: } catch (java.lang.Exception e) {
096: com.sun.xml.bind.marshaller.Util
097: .handlePrintConversionException(this , e,
098: context);
099: }
100: context.endElement();
101: }
102: if (_Users instanceof javax.xml.bind.Element) {
103: context
104: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _Users));
105: } else {
106: context.startElement("", "users");
107: context
108: .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _Users));
109: context.endAttributes();
110: context
111: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _Users));
112: context.endElement();
113: }
114: }
115:
116: public void serializeAttributes(
117: com.sun.xml.bind.serializer.XMLSerializer context)
118: throws org.xml.sax.SAXException {
119: }
120:
121: public void serializeAttributeBodies(
122: com.sun.xml.bind.serializer.XMLSerializer context)
123: throws org.xml.sax.SAXException {
124: }
125:
126: public java.lang.Class getPrimaryInterface() {
127: return (org.jaffa.tools.loadtest.domain.LogOn.class);
128: }
129:
130: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
131: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
132: schemaFragment);
133: }
134:
135: public class Unmarshaller extends
136: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
137:
138: public Unmarshaller(
139: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
140: super (context, "------------");
141: }
142:
143: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
144: return org.jaffa.tools.loadtest.domain.impl.LogOnImpl.this ;
145: }
146:
147: public void enterElement(java.lang.String ___uri,
148: java.lang.String ___local, org.xml.sax.Attributes __atts)
149: throws com.sun.xml.bind.unmarshaller.UnreportedException {
150: switch (state) {
151: case 9:
152: if (("" == ___uri) && ("user" == ___local)) {
153: _Users = ((org.jaffa.tools.loadtest.domain.impl.UsersImpl) spawnChildFromEnterElement(
154: (org.jaffa.tools.loadtest.domain.impl.UsersImpl.class),
155: 10, ___uri, ___local, __atts));
156: return;
157: }
158: break;
159: case 0:
160: if (("" == ___uri) && ("class-name" == ___local)) {
161: context.pushAttributes(__atts);
162: state = 1;
163: return;
164: }
165: break;
166: case 11:
167: revertToParentFromEnterElement(___uri, ___local, __atts);
168: return;
169: case 3:
170: if (("" == ___uri) && ("webapp-root" == ___local)) {
171: context.pushAttributes(__atts);
172: state = 4;
173: return;
174: }
175: break;
176: case 6:
177: if (("" == ___uri) && ("users" == ___local)) {
178: context.pushAttributes(__atts);
179: state = 9;
180: return;
181: }
182: if (("" == ___uri) && ("logged-on-title" == ___local)) {
183: context.pushAttributes(__atts);
184: state = 7;
185: return;
186: }
187: break;
188: }
189: super .enterElement(___uri, ___local, __atts);
190: }
191:
192: public void leaveElement(java.lang.String ___uri,
193: java.lang.String ___local)
194: throws com.sun.xml.bind.unmarshaller.UnreportedException {
195: switch (state) {
196: case 8:
197: if (("" == ___uri) && ("logged-on-title" == ___local)) {
198: context.popAttributes();
199: state = 6;
200: return;
201: }
202: break;
203: case 11:
204: revertToParentFromLeaveElement(___uri, ___local);
205: return;
206: case 5:
207: if (("" == ___uri) && ("webapp-root" == ___local)) {
208: context.popAttributes();
209: state = 6;
210: return;
211: }
212: break;
213: case 10:
214: if (("" == ___uri) && ("users" == ___local)) {
215: context.popAttributes();
216: state = 11;
217: return;
218: }
219: break;
220: case 2:
221: if (("" == ___uri) && ("class-name" == ___local)) {
222: context.popAttributes();
223: state = 3;
224: return;
225: }
226: break;
227: }
228: super .leaveElement(___uri, ___local);
229: }
230:
231: public void enterAttribute(java.lang.String ___uri,
232: java.lang.String ___local)
233: throws com.sun.xml.bind.unmarshaller.UnreportedException {
234: switch (state) {
235: case 11:
236: revertToParentFromEnterAttribute(___uri, ___local);
237: return;
238: }
239: super .enterAttribute(___uri, ___local);
240: }
241:
242: public void leaveAttribute(java.lang.String ___uri,
243: java.lang.String ___local)
244: throws com.sun.xml.bind.unmarshaller.UnreportedException {
245: switch (state) {
246: case 11:
247: revertToParentFromLeaveAttribute(___uri, ___local);
248: return;
249: }
250: super .leaveAttribute(___uri, ___local);
251: }
252:
253: public void text(java.lang.String value)
254: throws com.sun.xml.bind.unmarshaller.UnreportedException {
255: try {
256: switch (state) {
257: case 7:
258: try {
259: _LoggedOnTitle = value;
260: } catch (java.lang.Exception e) {
261: handleParseConversionException(e);
262: }
263: state = 8;
264: return;
265: case 4:
266: try {
267: _WebappRoot = value;
268: } catch (java.lang.Exception e) {
269: handleParseConversionException(e);
270: }
271: state = 5;
272: return;
273: case 11:
274: revertToParentFromText(value);
275: return;
276: case 1:
277: try {
278: _ClassName = value;
279: } catch (java.lang.Exception e) {
280: handleParseConversionException(e);
281: }
282: state = 2;
283: return;
284: }
285: } catch (java.lang.RuntimeException e) {
286: handleUnexpectedTextException(value, e);
287: }
288: }
289:
290: public void leaveChild(int nextState)
291: throws com.sun.xml.bind.unmarshaller.UnreportedException {
292: switch (nextState) {
293: case 10:
294: state = 10;
295: return;
296: }
297: super.leaveChild(nextState);
298: }
299:
300: }
301:
302: }
|