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