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.09.05 at 11:10:40 PDT
006: //
007:
008: package org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.impl;
009:
010: public class ParamImpl
011: implements
012: org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.Param,
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 _Value;
018: protected java.lang.String _Name;
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\u0001\u00eaNqppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xq\u0000~\u0000\u0003\u0000\u00b8\u0002\u00fdppsr\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\u0000w\u00ef\u0093ppsr\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\u0011L\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\u0011L\u0000\fnamespaceURIq\u0000~\u0000\u0011xpq\u0000~\u0000\u0015q\u0000~\u0000\u0014sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0011L\u0000\fnamespaceURIq\u0000~\u0000\u0011xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0005valuet\u0000\u0000sq\u0000~\u0000\u0006\u00012Koppq\u0000~\u0000\fsq\u0000~\u0000\u001dt\u0000\u0004nameq\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\u00bfpppppppppppppppppppppppppppq\u0000~\u0000\u0005ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
021:
022: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
023: return org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.Param.class;
024: }
025:
026: public java.lang.String getValue() {
027: return _Value;
028: }
029:
030: public void setValue(java.lang.String value) {
031: _Value = value;
032: }
033:
034: public java.lang.String getName() {
035: return _Name;
036: }
037:
038: public void setName(java.lang.String value) {
039: _Name = 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.persistence.engines.jdbcengine.configservice.initdomain.impl.ParamImpl.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: }
056:
057: public void serializeAttributes(
058: com.sun.xml.bind.serializer.XMLSerializer context)
059: throws org.xml.sax.SAXException {
060: context.startAttribute("", "value");
061: try {
062: context.text(((java.lang.String) _Value));
063: } catch (java.lang.Exception e) {
064: com.sun.xml.bind.marshaller.Util
065: .handlePrintConversionException(this , e, context);
066: }
067: context.endAttribute();
068: context.startAttribute("", "name");
069: try {
070: context.text(((java.lang.String) _Name));
071: } catch (java.lang.Exception e) {
072: com.sun.xml.bind.marshaller.Util
073: .handlePrintConversionException(this , e, context);
074: }
075: context.endAttribute();
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.persistence.engines.jdbcengine.configservice.initdomain.Param.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.persistence.engines.jdbcengine.configservice.initdomain.impl.ParamImpl.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 0:
109: revertToParentFromEnterElement(___uri, ___local, __atts);
110: return;
111: }
112: super .enterElement(___uri, ___local, __atts);
113: }
114:
115: public void leaveElement(java.lang.String ___uri,
116: java.lang.String ___local)
117: throws com.sun.xml.bind.unmarshaller.UnreportedException {
118: switch (state) {
119: case 0:
120: revertToParentFromLeaveElement(___uri, ___local);
121: return;
122: }
123: super .leaveElement(___uri, ___local);
124: }
125:
126: public void enterAttribute(java.lang.String ___uri,
127: java.lang.String ___local)
128: throws com.sun.xml.bind.unmarshaller.UnreportedException {
129: switch (state) {
130: case 0:
131: if (("" == ___uri) && ("value" == ___local)) {
132: state = 3;
133: return;
134: }
135: if (("" == ___uri) && ("name" == ___local)) {
136: state = 1;
137: return;
138: }
139: revertToParentFromEnterAttribute(___uri, ___local);
140: return;
141: }
142: super .enterAttribute(___uri, ___local);
143: }
144:
145: public void leaveAttribute(java.lang.String ___uri,
146: java.lang.String ___local)
147: throws com.sun.xml.bind.unmarshaller.UnreportedException {
148: switch (state) {
149: case 0:
150: revertToParentFromLeaveAttribute(___uri, ___local);
151: return;
152: case 2:
153: if (("" == ___uri) && ("name" == ___local)) {
154: goto0();
155: return;
156: }
157: break;
158: case 4:
159: if (("" == ___uri) && ("value" == ___local)) {
160: goto0();
161: return;
162: }
163: break;
164: }
165: super .leaveAttribute(___uri, ___local);
166: }
167:
168: public void text(java.lang.String value)
169: throws com.sun.xml.bind.unmarshaller.UnreportedException {
170: try {
171: switch (state) {
172: case 0:
173: revertToParentFromText(value);
174: return;
175: case 3:
176: try {
177: _Value = value;
178: } catch (java.lang.Exception e) {
179: handleParseConversionException(e);
180: }
181: state = 4;
182: return;
183: case 1:
184: try {
185: _Name = value;
186: } catch (java.lang.Exception e) {
187: handleParseConversionException(e);
188: }
189: state = 2;
190: return;
191: }
192: } catch (java.lang.RuntimeException e) {
193: handleUnexpectedTextException(value, e);
194: }
195: }
196:
197: private void goto0()
198: throws com.sun.xml.bind.unmarshaller.UnreportedException {
199: int idx;
200: state = 0;
201: idx = context.getAttribute("", "value");
202: if (idx >= 0) {
203: context.consumeAttribute(idx);
204: return;
205: }
206: idx = context.getAttribute("", "name");
207: if (idx >= 0) {
208: context.consumeAttribute(idx);
209: return;
210: }
211: }
212:
213: }
214:
215: }
|