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 UserImpl implements org.jaffa.tools.loadtest.domain.User,
011: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
012: com.sun.xml.bind.serializer.XMLSerializable,
013: com.sun.xml.bind.validator.ValidatableObject {
014:
015: protected java.lang.String _Password;
016: protected java.lang.String _Name;
017: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
018: .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\u0004namet\u0000\u0000sq\u0000~\u0000\u0006\u0001\u00e3(\u00fbpp\u0000q\u0000~\u0000\rsq\u0000~\u0000\u001et\u0000\bpasswordq\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");
019:
020: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
021: return org.jaffa.tools.loadtest.domain.User.class;
022: }
023:
024: public java.lang.String getPassword() {
025: return _Password;
026: }
027:
028: public void setPassword(java.lang.String value) {
029: _Password = value;
030: }
031:
032: public java.lang.String getName() {
033: return _Name;
034: }
035:
036: public void setName(java.lang.String value) {
037: _Name = value;
038: }
039:
040: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
041: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
042: return new org.jaffa.tools.loadtest.domain.impl.UserImpl.Unmarshaller(
043: context);
044: }
045:
046: public java.lang.Class getPrimaryInterfaceClass() {
047: return PRIMARY_INTERFACE_CLASS();
048: }
049:
050: public void serializeElements(
051: com.sun.xml.bind.serializer.XMLSerializer context)
052: throws org.xml.sax.SAXException {
053: context.startElement("", "name");
054: context.endAttributes();
055: try {
056: context.text(((java.lang.String) _Name));
057: } catch (java.lang.Exception e) {
058: com.sun.xml.bind.marshaller.Util
059: .handlePrintConversionException(this , e, context);
060: }
061: context.endElement();
062: context.startElement("", "password");
063: context.endAttributes();
064: try {
065: context.text(((java.lang.String) _Password));
066: } catch (java.lang.Exception e) {
067: com.sun.xml.bind.marshaller.Util
068: .handlePrintConversionException(this , e, context);
069: }
070: context.endElement();
071: }
072:
073: public void serializeAttributes(
074: com.sun.xml.bind.serializer.XMLSerializer context)
075: throws org.xml.sax.SAXException {
076: }
077:
078: public void serializeAttributeBodies(
079: com.sun.xml.bind.serializer.XMLSerializer context)
080: throws org.xml.sax.SAXException {
081: }
082:
083: public java.lang.Class getPrimaryInterface() {
084: return (org.jaffa.tools.loadtest.domain.User.class);
085: }
086:
087: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
088: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
089: schemaFragment);
090: }
091:
092: public class Unmarshaller extends
093: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
094:
095: public Unmarshaller(
096: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
097: super (context, "-------");
098: }
099:
100: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
101: return org.jaffa.tools.loadtest.domain.impl.UserImpl.this ;
102: }
103:
104: public void enterElement(java.lang.String ___uri,
105: java.lang.String ___local, org.xml.sax.Attributes __atts)
106: throws com.sun.xml.bind.unmarshaller.UnreportedException {
107: switch (state) {
108: case 6:
109: revertToParentFromEnterElement(___uri, ___local, __atts);
110: return;
111: case 0:
112: if (("" == ___uri) && ("name" == ___local)) {
113: context.pushAttributes(__atts);
114: state = 1;
115: return;
116: }
117: break;
118: case 3:
119: if (("" == ___uri) && ("password" == ___local)) {
120: context.pushAttributes(__atts);
121: state = 4;
122: return;
123: }
124: break;
125: }
126: super .enterElement(___uri, ___local, __atts);
127: }
128:
129: public void leaveElement(java.lang.String ___uri,
130: java.lang.String ___local)
131: throws com.sun.xml.bind.unmarshaller.UnreportedException {
132: switch (state) {
133: case 5:
134: if (("" == ___uri) && ("password" == ___local)) {
135: context.popAttributes();
136: state = 6;
137: return;
138: }
139: break;
140: case 6:
141: revertToParentFromLeaveElement(___uri, ___local);
142: return;
143: case 2:
144: if (("" == ___uri) && ("name" == ___local)) {
145: context.popAttributes();
146: state = 3;
147: return;
148: }
149: break;
150: }
151: super .leaveElement(___uri, ___local);
152: }
153:
154: public void enterAttribute(java.lang.String ___uri,
155: java.lang.String ___local)
156: throws com.sun.xml.bind.unmarshaller.UnreportedException {
157: switch (state) {
158: case 6:
159: revertToParentFromEnterAttribute(___uri, ___local);
160: return;
161: }
162: super .enterAttribute(___uri, ___local);
163: }
164:
165: public void leaveAttribute(java.lang.String ___uri,
166: java.lang.String ___local)
167: throws com.sun.xml.bind.unmarshaller.UnreportedException {
168: switch (state) {
169: case 6:
170: revertToParentFromLeaveAttribute(___uri, ___local);
171: return;
172: }
173: super .leaveAttribute(___uri, ___local);
174: }
175:
176: public void text(java.lang.String value)
177: throws com.sun.xml.bind.unmarshaller.UnreportedException {
178: try {
179: switch (state) {
180: case 6:
181: revertToParentFromText(value);
182: return;
183: case 4:
184: try {
185: _Password = value;
186: } catch (java.lang.Exception e) {
187: handleParseConversionException(e);
188: }
189: state = 5;
190: return;
191: case 1:
192: try {
193: _Name = value;
194: } catch (java.lang.Exception e) {
195: handleParseConversionException(e);
196: }
197: state = 2;
198: return;
199: }
200: } catch (java.lang.RuntimeException e) {
201: handleUnexpectedTextException(value, e);
202: }
203: }
204:
205: }
206:
207: }
|