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:51 PST
006: //
007:
008: package org.jaffa.presentation.portlet.widgets.controller.usergriddomain.impl;
009:
010: public class UserGridColumnSettingsImpl
011: implements
012: org.jaffa.presentation.portlet.widgets.controller.usergriddomain.UserGridColumnSettings,
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 _Width;
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\u0002iaBppsr\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\u00014\u00b0\u0099pp\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\u00014\u00b0\u008eppsr\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\u0004namet\u0000\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u00014\u00b0\u00a4ppsq\u0000~\u0000\u0006\u00014\u00b0\u0099sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000q\u0000~\u0000\rsq\u0000~\u0000\u001et\u0000\u0005widthq\u0000~\u0000\"sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000&\u0001psr\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\u0002\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005pppppppppppppppppppppppppppppppppppq\u0000~\u0000$ppppppppppppppppppppppppppppp");
021:
022: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
023: return org.jaffa.presentation.portlet.widgets.controller.usergriddomain.UserGridColumnSettings.class;
024: }
025:
026: public java.lang.String getWidth() {
027: return _Width;
028: }
029:
030: public void setWidth(java.lang.String value) {
031: _Width = 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.presentation.portlet.widgets.controller.usergriddomain.impl.UserGridColumnSettingsImpl.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("", "name");
056: context.endAttributes();
057: try {
058: context.text(((java.lang.String) _Name));
059: } catch (java.lang.Exception e) {
060: com.sun.xml.bind.marshaller.Util
061: .handlePrintConversionException(this , e, context);
062: }
063: context.endElement();
064: if (_Width != null) {
065: context.startElement("", "width");
066: context.endAttributes();
067: try {
068: context.text(((java.lang.String) _Width));
069: } catch (java.lang.Exception e) {
070: com.sun.xml.bind.marshaller.Util
071: .handlePrintConversionException(this , e,
072: context);
073: }
074: context.endElement();
075: }
076: }
077:
078: public void serializeAttributes(
079: com.sun.xml.bind.serializer.XMLSerializer context)
080: throws org.xml.sax.SAXException {
081: }
082:
083: public void serializeAttributeBodies(
084: com.sun.xml.bind.serializer.XMLSerializer context)
085: throws org.xml.sax.SAXException {
086: }
087:
088: public java.lang.Class getPrimaryInterface() {
089: return (org.jaffa.presentation.portlet.widgets.controller.usergriddomain.UserGridColumnSettings.class);
090: }
091:
092: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
093: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
094: schemaFragment);
095: }
096:
097: public class Unmarshaller extends
098: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
099:
100: public Unmarshaller(
101: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
102: super (context, "------");
103: }
104:
105: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
106: return org.jaffa.presentation.portlet.widgets.controller.usergriddomain.impl.UserGridColumnSettingsImpl.this ;
107: }
108:
109: public void enterElement(java.lang.String ___uri,
110: java.lang.String ___local, org.xml.sax.Attributes __atts)
111: throws com.sun.xml.bind.unmarshaller.UnreportedException {
112: switch (state) {
113: case 0:
114: if (("" == ___uri) && ("name" == ___local)) {
115: context.pushAttributes(__atts);
116: state = 1;
117: return;
118: }
119: break;
120: case 3:
121: if (("" == ___uri) && ("width" == ___local)) {
122: context.pushAttributes(__atts);
123: state = 4;
124: return;
125: }
126: revertToParentFromEnterElement(___uri, ___local, __atts);
127: return;
128: }
129: super .enterElement(___uri, ___local, __atts);
130: }
131:
132: public void leaveElement(java.lang.String ___uri,
133: java.lang.String ___local)
134: throws com.sun.xml.bind.unmarshaller.UnreportedException {
135: switch (state) {
136: case 3:
137: revertToParentFromLeaveElement(___uri, ___local);
138: return;
139: case 5:
140: if (("" == ___uri) && ("width" == ___local)) {
141: context.popAttributes();
142: state = 3;
143: return;
144: }
145: break;
146: case 2:
147: if (("" == ___uri) && ("name" == ___local)) {
148: context.popAttributes();
149: state = 3;
150: return;
151: }
152: break;
153: }
154: super .leaveElement(___uri, ___local);
155: }
156:
157: public void enterAttribute(java.lang.String ___uri,
158: java.lang.String ___local)
159: throws com.sun.xml.bind.unmarshaller.UnreportedException {
160: switch (state) {
161: case 3:
162: revertToParentFromEnterAttribute(___uri, ___local);
163: return;
164: }
165: super .enterAttribute(___uri, ___local);
166: }
167:
168: public void leaveAttribute(java.lang.String ___uri,
169: java.lang.String ___local)
170: throws com.sun.xml.bind.unmarshaller.UnreportedException {
171: switch (state) {
172: case 3:
173: revertToParentFromLeaveAttribute(___uri, ___local);
174: return;
175: }
176: super .leaveAttribute(___uri, ___local);
177: }
178:
179: public void text(java.lang.String value)
180: throws com.sun.xml.bind.unmarshaller.UnreportedException {
181: try {
182: switch (state) {
183: case 3:
184: revertToParentFromText(value);
185: return;
186: case 4:
187: try {
188: _Width = value;
189: } catch (java.lang.Exception e) {
190: handleParseConversionException(e);
191: }
192: state = 5;
193: return;
194: case 1:
195: try {
196: _Name = value;
197: } catch (java.lang.Exception e) {
198: handleParseConversionException(e);
199: }
200: state = 2;
201: return;
202: }
203: } catch (java.lang.RuntimeException e) {
204: handleUnexpectedTextException(value, e);
205: }
206: }
207:
208: }
209:
210: }
|