001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
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: 2006.10.05 at 10:03:40 CEST
006: //
007:
008: package net.sf.dozer.util.mapping.vo.jaxb.employee.impl;
009:
010: public class EmployeeWithInnerClassImpl
011: extends
012: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassTypeImpl
013: implements
014: net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClass,
015: com.sun.xml.bind.RIElement,
016: com.sun.xml.bind.JAXBObject,
017: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.UnmarshallableObject,
018: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.XMLSerializable,
019: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.ValidatableObject {
020:
021: public final static java.lang.Class version = (net.sf.dozer.util.mapping.vo.jaxb.employee.impl.JAXBVersion.class);
022: private static com.sun.msv.grammar.Grammar schemaFragment;
023:
024: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
025: return (net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClass.class);
026: }
027:
028: public java.lang.String ____jaxb_ri____getNamespaceURI() {
029: return "http://jaxb.vo.mapping.util.dozer.sf.net/Employee";
030: }
031:
032: public java.lang.String ____jaxb_ri____getLocalName() {
033: return "EmployeeWithInnerClass";
034: }
035:
036: public net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
037: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.UnmarshallingContext context) {
038: return new net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassImpl.Unmarshaller(
039: context);
040: }
041:
042: public void serializeBody(
043: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.XMLSerializer context)
044: throws org.xml.sax.SAXException {
045: context.startElement(
046: "http://jaxb.vo.mapping.util.dozer.sf.net/Employee",
047: "EmployeeWithInnerClass");
048: super .serializeURIs(context);
049: context.endNamespaceDecls();
050: super .serializeAttributes(context);
051: context.endAttributes();
052: super .serializeBody(context);
053: context.endElement();
054: }
055:
056: public void serializeAttributes(
057: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.XMLSerializer context)
058: throws org.xml.sax.SAXException {
059: }
060:
061: public void serializeURIs(
062: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.XMLSerializer context)
063: throws org.xml.sax.SAXException {
064: }
065:
066: public java.lang.Class getPrimaryInterface() {
067: return (net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClass.class);
068: }
069:
070: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
071: if (schemaFragment == null) {
072: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
073: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
074: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
075: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
076: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
077: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
078: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
079: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
080: + "\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"
081: + "q\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000"
082: + "\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L"
083: + "\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000#com.sun.ms"
084: + "v.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com."
085: + "sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun"
086: + ".msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.dat"
087: + "atype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/l"
088: + "ang/String;L\u0000\btypeNameq\u0000~\u0000\u0017L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/data"
089: + "type/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XML"
090: + "Schemat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProces"
091: + "sor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpa"
092: + "ceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$"
093: + "NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.util.Str"
094: + "ingPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xpq\u0000~"
095: + "\u0000\u001bq\u0000~\u0000\u001asr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bpps"
096: + "r\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\t"
097: + "nameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005value"
098: + "xp\u0000psq\u0000~\u0000\u000fppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
099: + "\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceP"
100: + "rocessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001dq\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000,q\u0000~\u0000\u001asr\u0000#c"
101: + "om.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~"
102: + "\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000"
103: + "\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instances"
104: + "r\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
105: + "\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\'\u0001psq\u0000~\u00000t\u0000\tFirstNamet\u0000\u0000sq\u0000~\u0000#ppsq\u0000~\u0000\u0000q\u0000~\u0000(p\u0000sq"
106: + "\u0000~\u0000\u0007ppsq\u0000~\u0000\u000fppsr\u0000!com.sun.msv.datatype.xsd.DateType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
107: + "\u0000\u0000xr\u0000)com.sun.msv.datatype.xsd.DateTimeBaseType\u0014W\u001a@3\u00a5\u00b4\u00e5\u0002\u0000\u0000xq"
108: + "\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0004dateq\u0000~\u0000.q\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u0000Bq\u0000~\u0000\u001asq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000"
109: + "(pq\u0000~\u0000)q\u0000~\u00002q\u0000~\u00006sq\u0000~\u00000t\u0000\tBirthDateq\u0000~\u0000:q\u0000~\u00006sq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007"
110: + "ppq\u0000~\u0000\u0012sq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000(pq\u0000~\u0000)q\u0000~\u00002q\u0000~\u00006sq\u0000~\u00000t\u0000\bLastNameq"
111: + "\u0000~\u0000:sq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000#ppsr\u0000 com.sun.msv.gramma"
112: + "r.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000"
113: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004q\u0000~\u0000(psq\u0000~\u0000%q\u0000~\u0000(psr\u00002com.sun.msv.g"
114: + "rammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u00007p"
115: + "sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00001q\u0000~\u00006sq"
116: + "\u0000~\u00000t\u0000Qnet.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWi"
117: + "thInnerClassType.AddressTypet\u0000+http://java.sun.com/jaxb/xjc/"
118: + "dummy-elementssq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000(pq\u0000~\u0000)q\u0000~\u00002q\u0000~\u00006sq\u0000~\u00000t\u0000\u0007Ad"
119: + "dressq\u0000~\u0000:sq\u0000~\u0000#ppsq\u0000~\u0000%q\u0000~\u0000(pq\u0000~\u0000)q\u0000~\u00002q\u0000~\u00006sq\u0000~\u00000t\u0000\u0016Employ"
120: + "eeWithInnerClasst\u00001http://jaxb.vo.mapping.util.dozer.sf.net/"
121: + "Employeesr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\b"
122: + "expTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xp"
123: + "sr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003"
124: + "I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Exp"
125: + "ressionPool;xp\u0000\u0000\u0000\u0010\u0001pq\u0000~\u0000=q\u0000~\u0000\u000bq\u0000~\u0000Qq\u0000~\u0000\tq\u0000~\u0000Oq\u0000~\u0000Tq\u0000~\u0000\nq\u0000~\u0000;"
126: + "q\u0000~\u0000$q\u0000~\u0000Dq\u0000~\u0000Jq\u0000~\u0000]q\u0000~\u0000\u000eq\u0000~\u0000Iq\u0000~\u0000aq\u0000~\u0000\fx"));
127: }
128: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
129: schemaFragment);
130: }
131:
132: public class Unmarshaller
133: extends
134: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
135:
136: public Unmarshaller(
137: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.UnmarshallingContext context) {
138: super (context, "----");
139: }
140:
141: protected Unmarshaller(
142: net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.UnmarshallingContext context,
143: int startState) {
144: this (context);
145: state = startState;
146: }
147:
148: public java.lang.Object owner() {
149: return net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassImpl.this ;
150: }
151:
152: public void enterElement(java.lang.String ___uri,
153: java.lang.String ___local, java.lang.String ___qname,
154: org.xml.sax.Attributes __atts)
155: throws org.xml.sax.SAXException {
156: int attIdx;
157: outer: while (true) {
158: switch (state) {
159: case 1:
160: if (("FirstName" == ___local) && ("" == ___uri)) {
161: spawnHandlerFromEnterElement(
162: (((net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassTypeImpl) net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassImpl.this ).new Unmarshaller(
163: context)), 2, ___uri, ___local,
164: ___qname, __atts);
165: return;
166: }
167: break;
168: case 3:
169: revertToParentFromEnterElement(___uri, ___local,
170: ___qname, __atts);
171: return;
172: case 0:
173: if (("EmployeeWithInnerClass" == ___local)
174: && ("http://jaxb.vo.mapping.util.dozer.sf.net/Employee" == ___uri)) {
175: context.pushAttributes(__atts, false);
176: state = 1;
177: return;
178: }
179: break;
180: }
181: super .enterElement(___uri, ___local, ___qname, __atts);
182: break;
183: }
184: }
185:
186: public void leaveElement(java.lang.String ___uri,
187: java.lang.String ___local, java.lang.String ___qname)
188: throws org.xml.sax.SAXException {
189: int attIdx;
190: outer: while (true) {
191: switch (state) {
192: case 2:
193: if (("EmployeeWithInnerClass" == ___local)
194: && ("http://jaxb.vo.mapping.util.dozer.sf.net/Employee" == ___uri)) {
195: context.popAttributes();
196: state = 3;
197: return;
198: }
199: break;
200: case 3:
201: revertToParentFromLeaveElement(___uri, ___local,
202: ___qname);
203: return;
204: }
205: super .leaveElement(___uri, ___local, ___qname);
206: break;
207: }
208: }
209:
210: public void enterAttribute(java.lang.String ___uri,
211: java.lang.String ___local, java.lang.String ___qname)
212: throws org.xml.sax.SAXException {
213: int attIdx;
214: outer: while (true) {
215: switch (state) {
216: case 3:
217: revertToParentFromEnterAttribute(___uri, ___local,
218: ___qname);
219: return;
220: }
221: super .enterAttribute(___uri, ___local, ___qname);
222: break;
223: }
224: }
225:
226: public void leaveAttribute(java.lang.String ___uri,
227: java.lang.String ___local, java.lang.String ___qname)
228: throws org.xml.sax.SAXException {
229: int attIdx;
230: outer: while (true) {
231: switch (state) {
232: case 3:
233: revertToParentFromLeaveAttribute(___uri, ___local,
234: ___qname);
235: return;
236: }
237: super .leaveAttribute(___uri, ___local, ___qname);
238: break;
239: }
240: }
241:
242: public void handleText(final java.lang.String value)
243: throws org.xml.sax.SAXException {
244: int attIdx;
245: outer: while (true) {
246: try {
247: switch (state) {
248: case 3:
249: revertToParentFromText(value);
250: return;
251: }
252: } catch (java.lang.RuntimeException e) {
253: handleUnexpectedTextException(value, e);
254: }
255: break;
256: }
257: }
258:
259: }
260:
261: }
|