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.03.06 at 09:44:47 PST
006: //
007:
008: package org.jaffa.presentation.portlet.component.componentdomain.impl;
009:
010: public class ComponentsImpl
011: extends
012: org.jaffa.presentation.portlet.component.componentdomain.impl.ComponentsTypeImpl
013: implements
014: org.jaffa.presentation.portlet.component.componentdomain.Components,
015: com.sun.xml.bind.RIElement,
016: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
017: com.sun.xml.bind.serializer.XMLSerializable,
018: com.sun.xml.bind.validator.ValidatableObject {
019:
020: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
021: .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`\u0099epp\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`\u0099Zppsr\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`\u0099Osr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000\u0000`\u0099Lq\u0000~\u0000\u000ep\u0000sq\u0000~\u0000\u0000\u0000`\u0099App\u0000sq\u0000~\u0000\u0007\u0000`\u00996ppsq\u0000~\u0000\n\u0000`\u0099+q\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`\u0099(q\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\u0001q\u0000~\u0000\u0016sr\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\u0000Borg.jaffa.presentation.portlet.component.componentdomain.Componentt\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u001dt\u0000\tcomponentt\u0000\u0000q\u0000~\u0000\u001csq\u0000~\u0000\u001dt\u0000\ncomponentsq\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\u00bfppppppppq\u0000~\u0000\fppppppppppq\u0000~\u0000\tpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0012ppppppppppq\u0000~\u0000\u0011pppppppppppppppp");
022:
023: public java.lang.String ____jaxb_ri____getNamespaceURI() {
024: return "";
025: }
026:
027: public java.lang.String ____jaxb_ri____getLocalName() {
028: return "components";
029: }
030:
031: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
032: return org.jaffa.presentation.portlet.component.componentdomain.Components.class;
033: }
034:
035: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
036: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
037: return new org.jaffa.presentation.portlet.component.componentdomain.impl.ComponentsImpl.Unmarshaller(
038: context);
039: }
040:
041: public java.lang.Class getPrimaryInterfaceClass() {
042: return PRIMARY_INTERFACE_CLASS();
043: }
044:
045: public void serializeElements(
046: com.sun.xml.bind.serializer.XMLSerializer context)
047: throws org.xml.sax.SAXException {
048: context.startElement("", "components");
049: super .serializeAttributes(context);
050: context.endAttributes();
051: super .serializeElements(context);
052: context.endElement();
053: }
054:
055: public void serializeAttributes(
056: com.sun.xml.bind.serializer.XMLSerializer context)
057: throws org.xml.sax.SAXException {
058: }
059:
060: public void serializeAttributeBodies(
061: com.sun.xml.bind.serializer.XMLSerializer context)
062: throws org.xml.sax.SAXException {
063: }
064:
065: public java.lang.Class getPrimaryInterface() {
066: return (org.jaffa.presentation.portlet.component.componentdomain.Components.class);
067: }
068:
069: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
070: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
071: schemaFragment);
072: }
073:
074: public class Unmarshaller extends
075: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
076:
077: public Unmarshaller(
078: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
079: super (context, "----");
080: }
081:
082: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
083: return org.jaffa.presentation.portlet.component.componentdomain.impl.ComponentsImpl.this ;
084: }
085:
086: public void enterElement(java.lang.String ___uri,
087: java.lang.String ___local, org.xml.sax.Attributes __atts)
088: throws com.sun.xml.bind.unmarshaller.UnreportedException {
089: switch (state) {
090: case 3:
091: revertToParentFromEnterElement(___uri, ___local, __atts);
092: return;
093: case 1:
094: if (("" == ___uri) && ("component" == ___local)) {
095: spawnSuperClassFromEnterElement(
096: (((org.jaffa.presentation.portlet.component.componentdomain.impl.ComponentsTypeImpl) org.jaffa.presentation.portlet.component.componentdomain.impl.ComponentsImpl.this ).new Unmarshaller(
097: context)), 2, ___uri, ___local,
098: __atts);
099: return;
100: }
101: break;
102: case 0:
103: if (("" == ___uri) && ("components" == ___local)) {
104: context.pushAttributes(__atts);
105: state = 1;
106: return;
107: }
108: break;
109: }
110: super .enterElement(___uri, ___local, __atts);
111: }
112:
113: public void leaveElement(java.lang.String ___uri,
114: java.lang.String ___local)
115: throws com.sun.xml.bind.unmarshaller.UnreportedException {
116: switch (state) {
117: case 3:
118: revertToParentFromLeaveElement(___uri, ___local);
119: return;
120: case 1:
121: if (("" == ___uri) && ("components" == ___local)) {
122: spawnSuperClassFromLeaveElement(
123: (((org.jaffa.presentation.portlet.component.componentdomain.impl.ComponentsTypeImpl) org.jaffa.presentation.portlet.component.componentdomain.impl.ComponentsImpl.this ).new Unmarshaller(
124: context)), 2, ___uri, ___local);
125: return;
126: }
127: break;
128: case 2:
129: if (("" == ___uri) && ("components" == ___local)) {
130: context.popAttributes();
131: state = 3;
132: return;
133: }
134: break;
135: }
136: super .leaveElement(___uri, ___local);
137: }
138:
139: public void enterAttribute(java.lang.String ___uri,
140: java.lang.String ___local)
141: throws com.sun.xml.bind.unmarshaller.UnreportedException {
142: switch (state) {
143: case 3:
144: revertToParentFromEnterAttribute(___uri, ___local);
145: return;
146: }
147: super .enterAttribute(___uri, ___local);
148: }
149:
150: public void leaveAttribute(java.lang.String ___uri,
151: java.lang.String ___local)
152: throws com.sun.xml.bind.unmarshaller.UnreportedException {
153: switch (state) {
154: case 3:
155: revertToParentFromLeaveAttribute(___uri, ___local);
156: return;
157: }
158: super .leaveAttribute(___uri, ___local);
159: }
160:
161: public void text(java.lang.String value)
162: throws com.sun.xml.bind.unmarshaller.UnreportedException {
163: try {
164: switch (state) {
165: case 3:
166: revertToParentFromText(value);
167: return;
168: }
169: } catch (java.lang.RuntimeException e) {
170: handleUnexpectedTextException(value, e);
171: }
172: }
173:
174: public void leaveChild(int nextState)
175: throws com.sun.xml.bind.unmarshaller.UnreportedException {
176: switch (nextState) {
177: case 2:
178: state = 2;
179: return;
180: }
181: super.leaveChild(nextState);
182: }
183:
184: }
185:
186: }
|