001: /*
002: * (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
003: *
004: * This program is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU General Public License
006: * as published by the Free Software Foundation; either version 2
007: * of the License, or (at your option) any later version.
008: *
009: * This program is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012: * GNU General Public License for more details.
013: *
014: * You should have received a copy of the GNU General Public License
015: * along with this program; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
017: *
018: */
019:
020: //
021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
022: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
023: // Any modifications to this file will be lost upon recompilation of the source schema.
024: // Generated on: 2005.03.04 at 10:20:40 PST
025: //
026:
027: package com.nabhinc.portal.config.impl;
028:
029: public class CustomPortletModeTypeImpl implements
030: com.nabhinc.portal.config.CustomPortletModeType,
031: com.sun.xml.bind.JAXBObject,
032: com.nabhinc.portal.config.impl.runtime.UnmarshallableObject,
033: com.nabhinc.portal.config.impl.runtime.XMLSerializable,
034: com.nabhinc.portal.config.impl.runtime.ValidatableObject {
035:
036: protected com.sun.xml.bind.util.ListImpl _Description;
037: protected com.nabhinc.portal.config.PortletModeType _PortletMode;
038: protected java.lang.String _Id;
039: public final static java.lang.Class version = (com.nabhinc.portal.config.impl.JAXBVersion.class);
040: private static com.sun.msv.grammar.Grammar schemaFragment;
041:
042: @SuppressWarnings("unused")
043: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
044: return (com.nabhinc.portal.config.CustomPortletModeType.class);
045: }
046:
047: @SuppressWarnings("unchecked")
048: protected com.sun.xml.bind.util.ListImpl _getDescription() {
049: if (_Description == null) {
050: _Description = new com.sun.xml.bind.util.ListImpl(
051: new java.util.ArrayList());
052: }
053: return _Description;
054: }
055:
056: public java.util.List getDescription() {
057: return _getDescription();
058: }
059:
060: public com.nabhinc.portal.config.PortletModeType getPortletMode() {
061: return _PortletMode;
062: }
063:
064: public void setPortletMode(
065: com.nabhinc.portal.config.PortletModeType value) {
066: _PortletMode = value;
067: }
068:
069: public java.lang.String getId() {
070: return _Id;
071: }
072:
073: public void setId(java.lang.String value) {
074: _Id = value;
075: }
076:
077: public com.nabhinc.portal.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
078: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
079: return new com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl.Unmarshaller(
080: context);
081: }
082:
083: public void serializeBody(
084: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
085: throws org.xml.sax.SAXException {
086: int idx1 = 0;
087: final int len1 = ((_Description == null) ? 0 : _Description
088: .size());
089: while (idx1 != len1) {
090: context
091: .startElement(
092: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
093: "description");
094: int idx_0 = idx1;
095: context.childAsURIs(
096: ((com.sun.xml.bind.JAXBObject) _Description
097: .get(idx_0++)), "Description");
098: context.endNamespaceDecls();
099: int idx_1 = idx1;
100: context.childAsAttributes(
101: ((com.sun.xml.bind.JAXBObject) _Description
102: .get(idx_1++)), "Description");
103: context.endAttributes();
104: context.childAsBody(
105: ((com.sun.xml.bind.JAXBObject) _Description
106: .get(idx1++)), "Description");
107: context.endElement();
108: }
109: context
110: .startElement(
111: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
112: "portlet-mode");
113: context.childAsURIs(
114: ((com.sun.xml.bind.JAXBObject) _PortletMode),
115: "PortletMode");
116: context.endNamespaceDecls();
117: context.childAsAttributes(
118: ((com.sun.xml.bind.JAXBObject) _PortletMode),
119: "PortletMode");
120: context.endAttributes();
121: context.childAsBody(
122: ((com.sun.xml.bind.JAXBObject) _PortletMode),
123: "PortletMode");
124: context.endElement();
125: }
126:
127: public void serializeAttributes(
128: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
129: throws org.xml.sax.SAXException {
130: int idx1 = 0;
131: final int len1 = ((_Description == null) ? 0 : _Description
132: .size());
133: if (_Id != null) {
134: context.startAttribute("", "id");
135: try {
136: context.text(((java.lang.String) _Id), "Id");
137: } catch (java.lang.Exception e) {
138: com.nabhinc.portal.config.impl.runtime.Util
139: .handlePrintConversionException(this , e,
140: context);
141: }
142: context.endAttribute();
143: }
144: while (idx1 != len1) {
145: idx1 += 1;
146: }
147: }
148:
149: public void serializeURIs(
150: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
151: throws org.xml.sax.SAXException {
152: int idx1 = 0;
153: final int len1 = ((_Description == null) ? 0 : _Description
154: .size());
155: while (idx1 != len1) {
156: idx1 += 1;
157: }
158: }
159:
160: public java.lang.Class getPrimaryInterface() {
161: return (com.nabhinc.portal.config.CustomPortletModeType.class);
162: }
163:
164: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
165: if (schemaFragment == null) {
166: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
167: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
168: + "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
169: + "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
170: + "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
171: + "expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceEx"
172: + "p\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000"
173: + "\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"
174: + "\u0002xq\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.s"
175: + "un.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001f"
176: + "Lcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Eleme"
177: + "ntExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModel"
178: + "q\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\rp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000epp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\tq\u0000~\u0000\rpsr\u0000 c"
179: + "om.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tname"
180: + "Classq\u0000~\u0000\u000fxq\u0000~\u0000\u0003q\u0000~\u0000\rpsr\u00002com.sun.msv.grammar.Expression$Any"
181: + "StringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\f\u0001q\u0000~\u0000\u0019sr\u0000 com.sun.msv"
182: + ".grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.Name"
183: + "Class\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$Epsilon"
184: + "Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u001aq\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar"
185: + ".SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;"
186: + "L\u0000\fnamespaceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u0000)com.nabhinc.portal.config.Descr"
187: + "iptionTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~"
188: + "\u0000\u0007ppsq\u0000~\u0000\u0016q\u0000~\u0000\rpsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000"
189: + "\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000"
190: + "\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.dataty"
191: + "pe.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Buil"
192: + "tinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concret"
193: + "eType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000"
194: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000~\u0000!L\u0000\nwhiteSpacet"
195: + "\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://"
196: + "www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xs"
197: + "d.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.dat"
198: + "atype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gr"
199: + "ammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom"
200: + ".sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000!L\u0000\fnames"
201: + "paceURIq\u0000~\u0000!xpq\u0000~\u00002q\u0000~\u00001sq\u0000~\u0000 t\u0000\u0004typet\u0000)http://www.w3.org/20"
202: + "01/XMLSchema-instanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\u000bdescriptiont\u00006http://java"
203: + ".sun.com/xml/ns/portlet/portlet-app_1_0.xsdq\u0000~\u0000\u001fsq\u0000~\u0000\u000epp\u0000sq\u0000"
204: + "~\u0000\u0000ppsq\u0000~\u0000\u000epp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\tq\u0000~\u0000\rpsq\u0000~\u0000\u0016q\u0000~\u0000\rpq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000"
205: + "\u001fsq\u0000~\u0000 t\u0000)com.nabhinc.portal.config.PortletModeTypeq\u0000~\u0000$sq\u0000~"
206: + "\u0000\u0007ppsq\u0000~\u0000\u0016q\u0000~\u0000\rpq\u0000~\u0000*q\u0000~\u0000:q\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\fportlet-modeq\u0000~\u0000?sq\u0000"
207: + "~\u0000\u0007ppsq\u0000~\u0000\u0016q\u0000~\u0000\rpsq\u0000~\u0000\'ppsr\u0000#com.sun.msv.datatype.xsd.String"
208: + "Type\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u0000,q\u0000~\u00001t\u0000\u0006stringsr\u00005com.s"
209: + "un.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
210: + "q\u0000~\u00004\u0001q\u0000~\u00007sq\u0000~\u00008q\u0000~\u0000Qq\u0000~\u00001sq\u0000~\u0000 t\u0000\u0002idt\u0000\u0000q\u0000~\u0000\u001fsr\u0000\"com.sun.ms"
211: + "v.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/ms"
212: + "v/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gramma"
213: + "r.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersi"
214: + "onL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\r\u0001pq\u0000"
215: + "~\u0000\u000bq\u0000~\u0000%q\u0000~\u0000Hq\u0000~\u0000\u0014q\u0000~\u0000Cq\u0000~\u0000Lq\u0000~\u0000\u0015q\u0000~\u0000Dq\u0000~\u0000\bq\u0000~\u0000\u0012q\u0000~\u0000Aq\u0000~\u0000\u0005q\u0000"
216: + "~\u0000\u0006x"));
217: }
218: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
219: schemaFragment);
220: }
221:
222: public class Unmarshaller
223: extends
224: com.nabhinc.portal.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
225:
226: public Unmarshaller(
227: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
228: super (context, "----------");
229: }
230:
231: protected Unmarshaller(
232: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context,
233: int startState) {
234: this (context);
235: state = startState;
236: }
237:
238: public java.lang.Object owner() {
239: return com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl.this ;
240: }
241:
242: public void enterElement(java.lang.String ___uri,
243: java.lang.String ___local, java.lang.String ___qname,
244: org.xml.sax.Attributes __atts)
245: throws org.xml.sax.SAXException {
246: int attIdx;
247: outer: while (true) {
248: switch (state) {
249: case 9:
250: revertToParentFromEnterElement(___uri, ___local,
251: ___qname, __atts);
252: return;
253: case 6:
254: if (("description" == ___local)
255: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
256: context.pushAttributes(__atts, true);
257: state = 4;
258: return;
259: }
260: if (("portlet-mode" == ___local)
261: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
262: context.pushAttributes(__atts, true);
263: state = 7;
264: return;
265: }
266: break;
267: case 4:
268: attIdx = context.getAttribute(
269: "http://www.w3.org/XML/1998/namespace",
270: "lang");
271: if (attIdx >= 0) {
272: context.consumeAttribute(attIdx);
273: context.getCurrentHandler().enterElement(
274: ___uri, ___local, ___qname, __atts);
275: return;
276: }
277: break;
278: case 3:
279: if (("description" == ___local)
280: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
281: context.pushAttributes(__atts, true);
282: state = 4;
283: return;
284: }
285: state = 6;
286: continue outer;
287: case 0:
288: attIdx = context.getAttribute("", "id");
289: if (attIdx >= 0) {
290: final java.lang.String v = context
291: .eatAttribute(attIdx);
292: eatText1(v);
293: state = 3;
294: continue outer;
295: }
296: state = 3;
297: continue outer;
298: }
299: super .enterElement(___uri, ___local, ___qname, __atts);
300: break;
301: }
302: }
303:
304: private void eatText1(final java.lang.String value)
305: throws org.xml.sax.SAXException {
306: try {
307: _Id = value;
308: } catch (java.lang.Exception e) {
309: handleParseConversionException(e);
310: }
311: }
312:
313: public void leaveElement(java.lang.String ___uri,
314: java.lang.String ___local, java.lang.String ___qname)
315: throws org.xml.sax.SAXException {
316: int attIdx;
317: outer: while (true) {
318: switch (state) {
319: case 9:
320: revertToParentFromLeaveElement(___uri, ___local,
321: ___qname);
322: return;
323: case 4:
324: attIdx = context.getAttribute(
325: "http://www.w3.org/XML/1998/namespace",
326: "lang");
327: if (attIdx >= 0) {
328: context.consumeAttribute(attIdx);
329: context.getCurrentHandler().leaveElement(
330: ___uri, ___local, ___qname);
331: return;
332: }
333: break;
334: case 5:
335: if (("description" == ___local)
336: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
337: context.popAttributes();
338: state = 6;
339: return;
340: }
341: break;
342: case 3:
343: state = 6;
344: continue outer;
345: case 8:
346: if (("portlet-mode" == ___local)
347: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
348: context.popAttributes();
349: state = 9;
350: return;
351: }
352: break;
353: case 0:
354: attIdx = context.getAttribute("", "id");
355: if (attIdx >= 0) {
356: final java.lang.String v = context
357: .eatAttribute(attIdx);
358: eatText1(v);
359: state = 3;
360: continue outer;
361: }
362: state = 3;
363: continue outer;
364: }
365: super .leaveElement(___uri, ___local, ___qname);
366: break;
367: }
368: }
369:
370: public void enterAttribute(java.lang.String ___uri,
371: java.lang.String ___local, java.lang.String ___qname)
372: throws org.xml.sax.SAXException {
373: int attIdx;
374: outer: while (true) {
375: switch (state) {
376: case 9:
377: revertToParentFromEnterAttribute(___uri, ___local,
378: ___qname);
379: return;
380: case 4:
381: if (("lang" == ___local)
382: && ("http://www.w3.org/XML/1998/namespace" == ___uri)) {
383: _getDescription()
384: .add(
385: ((com.nabhinc.portal.config.impl.DescriptionTypeImpl) spawnChildFromEnterAttribute(
386: (com.nabhinc.portal.config.impl.DescriptionTypeImpl.class),
387: 5, ___uri, ___local,
388: ___qname)));
389: return;
390: }
391: break;
392: case 3:
393: state = 6;
394: continue outer;
395: case 0:
396: if (("id" == ___local) && ("" == ___uri)) {
397: state = 1;
398: return;
399: }
400: state = 3;
401: continue outer;
402: }
403: super .enterAttribute(___uri, ___local, ___qname);
404: break;
405: }
406: }
407:
408: public void leaveAttribute(java.lang.String ___uri,
409: java.lang.String ___local, java.lang.String ___qname)
410: throws org.xml.sax.SAXException {
411: int attIdx;
412: outer: while (true) {
413: switch (state) {
414: case 9:
415: revertToParentFromLeaveAttribute(___uri, ___local,
416: ___qname);
417: return;
418: case 4:
419: attIdx = context.getAttribute(
420: "http://www.w3.org/XML/1998/namespace",
421: "lang");
422: if (attIdx >= 0) {
423: context.consumeAttribute(attIdx);
424: context.getCurrentHandler().leaveAttribute(
425: ___uri, ___local, ___qname);
426: return;
427: }
428: break;
429: case 2:
430: if (("id" == ___local) && ("" == ___uri)) {
431: state = 3;
432: return;
433: }
434: break;
435: case 3:
436: state = 6;
437: continue outer;
438: case 0:
439: attIdx = context.getAttribute("", "id");
440: if (attIdx >= 0) {
441: final java.lang.String v = context
442: .eatAttribute(attIdx);
443: eatText1(v);
444: state = 3;
445: continue outer;
446: }
447: state = 3;
448: continue outer;
449: }
450: super .leaveAttribute(___uri, ___local, ___qname);
451: break;
452: }
453: }
454:
455: public void handleText(final java.lang.String value)
456: throws org.xml.sax.SAXException {
457: int attIdx;
458: outer: while (true) {
459: try {
460: switch (state) {
461: case 7:
462: _PortletMode = ((com.nabhinc.portal.config.impl.PortletModeTypeImpl) spawnChildFromText(
463: (com.nabhinc.portal.config.impl.PortletModeTypeImpl.class),
464: 8, value));
465: return;
466: case 1:
467: eatText1(value);
468: state = 2;
469: return;
470: case 9:
471: revertToParentFromText(value);
472: return;
473: case 4:
474: attIdx = context.getAttribute(
475: "http://www.w3.org/XML/1998/namespace",
476: "lang");
477: if (attIdx >= 0) {
478: context.consumeAttribute(attIdx);
479: context.getCurrentHandler().text(value);
480: return;
481: }
482: _getDescription()
483: .add(
484: ((com.nabhinc.portal.config.impl.DescriptionTypeImpl) spawnChildFromText(
485: (com.nabhinc.portal.config.impl.DescriptionTypeImpl.class),
486: 5, value)));
487: return;
488: case 3:
489: state = 6;
490: continue outer;
491: case 0:
492: attIdx = context.getAttribute("", "id");
493: if (attIdx >= 0) {
494: final java.lang.String v = context
495: .eatAttribute(attIdx);
496: eatText1(v);
497: state = 3;
498: continue outer;
499: }
500: state = 3;
501: continue outer;
502: }
503: } catch (java.lang.RuntimeException e) {
504: handleUnexpectedTextException(value, e);
505: }
506: break;
507: }
508: }
509:
510: }
511:
512: }
|