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.05.02 at 02:28:48 PDT
006: //
007:
008: package org.huihoo.jfox.xmlet.jaxb.impl;
009:
010: public class XMLETSImpl extends
011: org.huihoo.jfox.xmlet.jaxb.impl.XMLetsTypeImpl implements
012: org.huihoo.jfox.xmlet.jaxb.XMLETS, com.sun.xml.bind.RIElement,
013: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
014: com.sun.xml.bind.serializer.XMLSerializable,
015: com.sun.xml.bind.validator.ValidatableObject {
016:
017: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
018: .deserialize("\u00ac\u00ed\u0000\u0005sr\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\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\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\u0003xp\u0000\u0006p\u00aapp\u0000sr\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\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004\u0000\u0006p\u009fppsr\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\u0003xq\u0000~\u0000\u0004\u0000\u0006p\u0094sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000\u0000\u0006p\u0091q\u0000~\u0000\u000ep\u0000sq\u0000~\u0000\u0000\u0000\u0006p\u0086pp\u0000sq\u0000~\u0000\u0007\u0000\u0006p{ppsq\u0000~\u0000\n\u0000\u0006ppq\u0000~\u0000\u000epsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004\u0000\u0006pmq\u0000~\u0000\u000epsr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004\u0000\u0000\u0000\bsq\u0000~\u0000\r\u0001psr\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\u0004\u0000\u0000\u0000\tq\u0000~\u0000\u0017psr\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\u001exq\u0000~\u0000\u0019t\u0000$org.huihoo.jfox.xmlet.jaxb.XMLetTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u001dt\u0000\u0005XMLETt\u0000\u0000q\u0000~\u0000\u001csq\u0000~\u0000\u001dt\u0000\u0006XMLETSq\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\u0004\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0012ppppppppppq\u0000~\u0000\u0011ppppppppppppppppppppppppq\u0000~\u0000\fppppppppppq\u0000~\u0000\tpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");
019:
020: public java.lang.String ____jaxb_ri____getNamespaceURI() {
021: return "";
022: }
023:
024: public java.lang.String ____jaxb_ri____getLocalName() {
025: return "XMLETS";
026: }
027:
028: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
029: return org.huihoo.jfox.xmlet.jaxb.XMLETS.class;
030: }
031:
032: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
033: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
034: return new org.huihoo.jfox.xmlet.jaxb.impl.XMLETSImpl.Unmarshaller(
035: context);
036: }
037:
038: public java.lang.Class getPrimaryInterfaceClass() {
039: return PRIMARY_INTERFACE_CLASS();
040: }
041:
042: public void serializeElements(
043: com.sun.xml.bind.serializer.XMLSerializer context)
044: throws org.xml.sax.SAXException {
045: context.startElement("", "XMLETS");
046: super .serializeAttributes(context);
047: context.endAttributes();
048: super .serializeElements(context);
049: context.endElement();
050: }
051:
052: public void serializeAttributes(
053: com.sun.xml.bind.serializer.XMLSerializer context)
054: throws org.xml.sax.SAXException {
055: }
056:
057: public void serializeAttributeBodies(
058: com.sun.xml.bind.serializer.XMLSerializer context)
059: throws org.xml.sax.SAXException {
060: }
061:
062: public java.lang.Class getPrimaryInterface() {
063: return (org.huihoo.jfox.xmlet.jaxb.XMLETS.class);
064: }
065:
066: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
067: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
068: schemaFragment);
069: }
070:
071: public class Unmarshaller extends
072: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
073:
074: public Unmarshaller(
075: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
076: super (context, "----");
077: }
078:
079: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
080: return org.huihoo.jfox.xmlet.jaxb.impl.XMLETSImpl.this ;
081: }
082:
083: public void enterElement(java.lang.String ___uri,
084: java.lang.String ___local, org.xml.sax.Attributes __atts)
085: throws com.sun.xml.bind.unmarshaller.UnreportedException {
086: switch (state) {
087: case 3:
088: revertToParentFromEnterElement(___uri, ___local, __atts);
089: return;
090: case 0:
091: if (("" == ___uri) && ("XMLETS" == ___local)) {
092: context.pushAttributes(__atts);
093: state = 1;
094: return;
095: }
096: break;
097: case 1:
098: if (("" == ___uri) && ("XMLET" == ___local)) {
099: spawnSuperClassFromEnterElement(
100: (((org.huihoo.jfox.xmlet.jaxb.impl.XMLetsTypeImpl) org.huihoo.jfox.xmlet.jaxb.impl.XMLETSImpl.this ).new Unmarshaller(
101: context)), 2, ___uri, ___local,
102: __atts);
103: return;
104: }
105: break;
106: }
107: super .enterElement(___uri, ___local, __atts);
108: }
109:
110: public void leaveElement(java.lang.String ___uri,
111: java.lang.String ___local)
112: throws com.sun.xml.bind.unmarshaller.UnreportedException {
113: switch (state) {
114: case 2:
115: if (("" == ___uri) && ("XMLETS" == ___local)) {
116: context.popAttributes();
117: state = 3;
118: return;
119: }
120: break;
121: case 3:
122: revertToParentFromLeaveElement(___uri, ___local);
123: return;
124: case 1:
125: if (("" == ___uri) && ("XMLETS" == ___local)) {
126: spawnSuperClassFromLeaveElement(
127: (((org.huihoo.jfox.xmlet.jaxb.impl.XMLetsTypeImpl) org.huihoo.jfox.xmlet.jaxb.impl.XMLETSImpl.this ).new Unmarshaller(
128: context)), 2, ___uri, ___local);
129: return;
130: }
131: break;
132: }
133: super .leaveElement(___uri, ___local);
134: }
135:
136: public void enterAttribute(java.lang.String ___uri,
137: java.lang.String ___local)
138: throws com.sun.xml.bind.unmarshaller.UnreportedException {
139: switch (state) {
140: case 3:
141: revertToParentFromEnterAttribute(___uri, ___local);
142: return;
143: }
144: super .enterAttribute(___uri, ___local);
145: }
146:
147: public void leaveAttribute(java.lang.String ___uri,
148: java.lang.String ___local)
149: throws com.sun.xml.bind.unmarshaller.UnreportedException {
150: switch (state) {
151: case 3:
152: revertToParentFromLeaveAttribute(___uri, ___local);
153: return;
154: }
155: super .leaveAttribute(___uri, ___local);
156: }
157:
158: public void text(java.lang.String value)
159: throws com.sun.xml.bind.unmarshaller.UnreportedException {
160: try {
161: switch (state) {
162: case 3:
163: revertToParentFromText(value);
164: return;
165: }
166: } catch (java.lang.RuntimeException e) {
167: handleUnexpectedTextException(value, e);
168: }
169: }
170:
171: public void leaveChild(int nextState)
172: throws com.sun.xml.bind.unmarshaller.UnreportedException {
173: switch (nextState) {
174: case 2:
175: state = 2;
176: return;
177: }
178: super.leaveChild(nextState);
179: }
180:
181: }
182:
183: }
|