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 PreloadImpl
011: implements
012: org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.Preload,
013: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
014: com.sun.xml.bind.serializer.XMLSerializable,
015: com.sun.xml.bind.validator.ValidatableObject {
016:
017: protected com.sun.xml.bind.util.ListImpl _PreloadClass = new com.sun.xml.bind.util.ListImpl(
018: new java.util.ArrayList());
019: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
020: .deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\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\u0000\u00e9Z\u0091ppsr\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\u00e9Z\u0086sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\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\u0000\u00e9Z\u0083q\u0000~\u0000\np\u0000sq\u0000~\u0000\u000b\u0000\u00e9Zxpp\u0000sq\u0000~\u0000\u0000\u0000\u00e9Zmppsq\u0000~\u0000\u0006\u0000\u00e9Zbq\u0000~\u0000\npsr\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\fxq\u0000~\u0000\u0003\u0000\u00e9Z_q\u0000~\u0000\npsr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bsq\u0000~\u0000\t\u0001q\u0000~\u0000\u0015sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tq\u0000~\u0000\u0016psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001dxq\u0000~\u0000\u0018t\u0000Norg.jaffa.persistence.engines.jdbcengine.configservice.initdomain.PreloadClasst\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u001ct\u0000\u0005classt\u0000\u0000q\u0000~\u0000\u001bsr\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\u0004\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0011ppppppppppq\u0000~\u0000\u0010ppppppppppppppppppppppppq\u0000~\u0000\bppppppppppq\u0000~\u0000\u0005ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
021:
022: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
023: return org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.Preload.class;
024: }
025:
026: public java.util.List getPreloadClass() {
027: return _PreloadClass;
028: }
029:
030: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
031: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
032: return new org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.impl.PreloadImpl.Unmarshaller(
033: context);
034: }
035:
036: public java.lang.Class getPrimaryInterfaceClass() {
037: return PRIMARY_INTERFACE_CLASS();
038: }
039:
040: public void serializeElements(
041: com.sun.xml.bind.serializer.XMLSerializer context)
042: throws org.xml.sax.SAXException {
043: int idx1 = 0;
044: final int len1 = _PreloadClass.size();
045: while (idx1 != len1) {
046: if (_PreloadClass.get(idx1) instanceof javax.xml.bind.Element) {
047: context
048: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _PreloadClass
049: .get(idx1++)));
050: } else {
051: context.startElement("", "class");
052: int idx_0 = idx1;
053: context
054: .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _PreloadClass
055: .get(idx_0++)));
056: context.endAttributes();
057: context
058: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _PreloadClass
059: .get(idx1++)));
060: context.endElement();
061: }
062: }
063: }
064:
065: public void serializeAttributes(
066: com.sun.xml.bind.serializer.XMLSerializer context)
067: throws org.xml.sax.SAXException {
068: int idx1 = 0;
069: final int len1 = _PreloadClass.size();
070: }
071:
072: public void serializeAttributeBodies(
073: com.sun.xml.bind.serializer.XMLSerializer context)
074: throws org.xml.sax.SAXException {
075: int idx1 = 0;
076: final int len1 = _PreloadClass.size();
077: }
078:
079: public java.lang.Class getPrimaryInterface() {
080: return (org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.Preload.class);
081: }
082:
083: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
084: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
085: schemaFragment);
086: }
087:
088: public class Unmarshaller extends
089: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
090:
091: public Unmarshaller(
092: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
093: super (context, "---");
094: }
095:
096: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
097: return org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.impl.PreloadImpl.this ;
098: }
099:
100: public void enterElement(java.lang.String ___uri,
101: java.lang.String ___local, org.xml.sax.Attributes __atts)
102: throws com.sun.xml.bind.unmarshaller.UnreportedException {
103: switch (state) {
104: case 0:
105: if (("" == ___uri) && ("class" == ___local)) {
106: context.pushAttributes(__atts);
107: goto1();
108: return;
109: }
110: revertToParentFromEnterElement(___uri, ___local, __atts);
111: return;
112: }
113: super .enterElement(___uri, ___local, __atts);
114: }
115:
116: public void leaveElement(java.lang.String ___uri,
117: java.lang.String ___local)
118: throws com.sun.xml.bind.unmarshaller.UnreportedException {
119: switch (state) {
120: case 0:
121: revertToParentFromLeaveElement(___uri, ___local);
122: return;
123: case 2:
124: if (("" == ___uri) && ("class" == ___local)) {
125: context.popAttributes();
126: state = 0;
127: return;
128: }
129: break;
130: }
131: super .leaveElement(___uri, ___local);
132: }
133:
134: public void enterAttribute(java.lang.String ___uri,
135: java.lang.String ___local)
136: throws com.sun.xml.bind.unmarshaller.UnreportedException {
137: switch (state) {
138: case 1:
139: if (("" == ___uri) && ("name" == ___local)) {
140: _PreloadClass
141: .add(((org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.impl.PreloadClassImpl) spawnChildFromEnterAttribute(
142: (org.jaffa.persistence.engines.jdbcengine.configservice.initdomain.impl.PreloadClassImpl.class),
143: 2, ___uri, ___local)));
144: return;
145: }
146: break;
147: case 0:
148: revertToParentFromEnterAttribute(___uri, ___local);
149: return;
150: }
151: super .enterAttribute(___uri, ___local);
152: }
153:
154: public void leaveAttribute(java.lang.String ___uri,
155: java.lang.String ___local)
156: throws com.sun.xml.bind.unmarshaller.UnreportedException {
157: switch (state) {
158: case 0:
159: revertToParentFromLeaveAttribute(___uri, ___local);
160: return;
161: }
162: super .leaveAttribute(___uri, ___local);
163: }
164:
165: public void text(java.lang.String value)
166: throws com.sun.xml.bind.unmarshaller.UnreportedException {
167: try {
168: switch (state) {
169: case 0:
170: revertToParentFromText(value);
171: return;
172: }
173: } catch (java.lang.RuntimeException e) {
174: handleUnexpectedTextException(value, e);
175: }
176: }
177:
178: public void leaveChild(int nextState)
179: throws com.sun.xml.bind.unmarshaller.UnreportedException {
180: switch (nextState) {
181: case 2:
182: state = 2;
183: return;
184: }
185: super .leaveChild(nextState);
186: }
187:
188: private void goto1()
189: throws com.sun.xml.bind.unmarshaller.UnreportedException {
190: int idx;
191: state = 1;
192: idx = context.getAttribute("", "name");
193: if (idx >= 0) {
194: context.consumeAttribute(idx);
195: return;
196: }
197: }
198:
199: }
200:
201: }
|