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 PortletInfoTypeImpl implements
030: com.nabhinc.portal.config.PortletInfoType,
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.nabhinc.portal.config.KeywordsType _Keywords;
037: protected com.nabhinc.portal.config.TitleType _Title;
038: protected java.lang.String _Id;
039: protected com.nabhinc.portal.config.ShortTitleType _ShortTitle;
040: public final static java.lang.Class version = (com.nabhinc.portal.config.impl.JAXBVersion.class);
041: private static com.sun.msv.grammar.Grammar schemaFragment;
042:
043: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
044: return (com.nabhinc.portal.config.PortletInfoType.class);
045: }
046:
047: public com.nabhinc.portal.config.KeywordsType getKeywords() {
048: return _Keywords;
049: }
050:
051: public void setKeywords(com.nabhinc.portal.config.KeywordsType value) {
052: _Keywords = value;
053: }
054:
055: public com.nabhinc.portal.config.TitleType getTitle() {
056: return _Title;
057: }
058:
059: public void setTitle(com.nabhinc.portal.config.TitleType value) {
060: _Title = value;
061: }
062:
063: public java.lang.String getId() {
064: return _Id;
065: }
066:
067: public void setId(java.lang.String value) {
068: _Id = value;
069: }
070:
071: public com.nabhinc.portal.config.ShortTitleType getShortTitle() {
072: return _ShortTitle;
073: }
074:
075: public void setShortTitle(
076: com.nabhinc.portal.config.ShortTitleType value) {
077: _ShortTitle = value;
078: }
079:
080: public com.nabhinc.portal.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
081: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
082: return new com.nabhinc.portal.config.impl.PortletInfoTypeImpl.Unmarshaller(
083: context);
084: }
085:
086: public void serializeBody(
087: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
088: throws org.xml.sax.SAXException {
089: context
090: .startElement(
091: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
092: "title");
093: context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Title),
094: "Title");
095: context.endNamespaceDecls();
096: context.childAsAttributes(
097: ((com.sun.xml.bind.JAXBObject) _Title), "Title");
098: context.endAttributes();
099: context.childAsBody(((com.sun.xml.bind.JAXBObject) _Title),
100: "Title");
101: context.endElement();
102: if (_ShortTitle != null) {
103: context
104: .startElement(
105: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
106: "short-title");
107: context.childAsURIs(
108: ((com.sun.xml.bind.JAXBObject) _ShortTitle),
109: "ShortTitle");
110: context.endNamespaceDecls();
111: context.childAsAttributes(
112: ((com.sun.xml.bind.JAXBObject) _ShortTitle),
113: "ShortTitle");
114: context.endAttributes();
115: context.childAsBody(
116: ((com.sun.xml.bind.JAXBObject) _ShortTitle),
117: "ShortTitle");
118: context.endElement();
119: }
120: if (_Keywords != null) {
121: context
122: .startElement(
123: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
124: "keywords");
125: context.childAsURIs(
126: ((com.sun.xml.bind.JAXBObject) _Keywords),
127: "Keywords");
128: context.endNamespaceDecls();
129: context.childAsAttributes(
130: ((com.sun.xml.bind.JAXBObject) _Keywords),
131: "Keywords");
132: context.endAttributes();
133: context.childAsBody(
134: ((com.sun.xml.bind.JAXBObject) _Keywords),
135: "Keywords");
136: context.endElement();
137: }
138: }
139:
140: public void serializeAttributes(
141: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
142: throws org.xml.sax.SAXException {
143: if (_Id != null) {
144: context.startAttribute("", "id");
145: try {
146: context.text(((java.lang.String) _Id), "Id");
147: } catch (java.lang.Exception e) {
148: com.nabhinc.portal.config.impl.runtime.Util
149: .handlePrintConversionException(this , e,
150: context);
151: }
152: context.endAttribute();
153: }
154: }
155:
156: public void serializeURIs(
157: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
158: throws org.xml.sax.SAXException {
159: }
160:
161: public java.lang.Class getPrimaryInterface() {
162: return (com.nabhinc.portal.config.PortletInfoType.class);
163: }
164:
165: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
166: if (schemaFragment == null) {
167: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
168: .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"
169: + "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
170: + "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
171: + "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
172: + "expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\'com.sun.msv.grammar."
173: + "trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/gr"
174: + "ammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
175: + "\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003pp\u0000s"
176: + "q\u0000~\u0000\u0000ppsq\u0000~\u0000\bpp\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
177: + "xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001cc"
178: + "om.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003sr\u0000\u0011j"
179: + "ava.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.gramm"
180: + "ar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\txq\u0000~\u0000\u0003"
181: + "q\u0000~\u0000\u0014psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression"
182: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\u0013\u0001q\u0000~\u0000\u0018sr\u0000 com.sun.msv.grammar.AnyName"
183: + "Class\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\u0000"
184: + "xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000"
185: + "\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0019q\u0000~\u0000\u001esr\u0000#com.sun.msv.grammar.SimpleNameClass"
186: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq"
187: + "\u0000~\u0000 xq\u0000~\u0000\u001bt\u0000#com.nabhinc.portal.config.TitleTypet\u0000+http://ja"
188: + "va.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014psr\u0000\u001bco"
189: + "m.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/dat"
190: + "atype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/Str"
191: + "ingPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000"
192: + "\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
193: + "\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'co"
194: + "m.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespace"
195: + "Uriq\u0000~\u0000 L\u0000\btypeNameq\u0000~\u0000 L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatyp"
196: + "e/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSch"
197: + "emat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$"
198: + "Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpacePr"
199: + "ocessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullS"
200: + "etExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPa"
201: + "ir\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u00001q\u0000~"
202: + "\u00000sq\u0000~\u0000\u001ft\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq"
203: + "\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0005titlet\u00006http://java.sun.com/xml/ns/portlet/port"
204: + "let-app_1_0.xsdsq\u0000~\u0000\u000eppsq\u0000~\u0000\bq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\bpp\u0000sq\u0000~\u0000\u000ep"
205: + "psq\u0000~\u0000\u0010q\u0000~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000(com.nabhinc"
206: + ".portal.config.ShortTitleTypeq\u0000~\u0000#sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000)q"
207: + "\u0000~\u00009q\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u000bshort-titleq\u0000~\u0000>q\u0000~\u0000\u001esq\u0000~\u0000\u000eppsq\u0000~\u0000\bq\u0000~\u0000\u0014p\u0000"
208: + "sq\u0000~\u0000\u0000ppsq\u0000~\u0000\bpp\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0010q\u0000~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq"
209: + "\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000&com.nabhinc.portal.config.KeywordsTypeq\u0000~\u0000#sq\u0000~"
210: + "\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000)q\u0000~\u00009q\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\bkeywordsq\u0000~\u0000>q\u0000~\u0000\u001esq"
211: + "\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014psq\u0000~\u0000&ppsr\u0000#com.sun.msv.datatype.xsd.Strin"
212: + "gType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u0000+q\u0000~\u00000t\u0000\u0006stringsr\u00005com."
213: + "sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
214: + "xq\u0000~\u00003\u0001q\u0000~\u00006sq\u0000~\u00007q\u0000~\u0000^q\u0000~\u00000sq\u0000~\u0000\u001ft\u0000\u0002idt\u0000\u0000q\u0000~\u0000\u001esr\u0000\"com.sun.m"
215: + "sv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/m"
216: + "sv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gramm"
217: + "ar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVers"
218: + "ionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0012\u0001pq"
219: + "\u0000~\u0000$q\u0000~\u0000Hq\u0000~\u0000Uq\u0000~\u0000\u000fq\u0000~\u0000Cq\u0000~\u0000Pq\u0000~\u0000\u0012q\u0000~\u0000Dq\u0000~\u0000Qq\u0000~\u0000\u0005q\u0000~\u0000\u0006q\u0000~\u0000Yq"
220: + "\u0000~\u0000\u0007q\u0000~\u0000\fq\u0000~\u0000Aq\u0000~\u0000Nq\u0000~\u0000?q\u0000~\u0000Lx"));
221: }
222: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
223: schemaFragment);
224: }
225:
226: public class Unmarshaller
227: extends
228: com.nabhinc.portal.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
229:
230: public Unmarshaller(
231: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
232: super (context, "-------------");
233: }
234:
235: protected Unmarshaller(
236: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context,
237: int startState) {
238: this (context);
239: state = startState;
240: }
241:
242: public java.lang.Object owner() {
243: return com.nabhinc.portal.config.impl.PortletInfoTypeImpl.this ;
244: }
245:
246: public void enterElement(java.lang.String ___uri,
247: java.lang.String ___local, java.lang.String ___qname,
248: org.xml.sax.Attributes __atts)
249: throws org.xml.sax.SAXException {
250: int attIdx;
251: outer: while (true) {
252: switch (state) {
253: case 9:
254: if (("keywords" == ___local)
255: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
256: context.pushAttributes(__atts, true);
257: state = 10;
258: return;
259: }
260: state = 12;
261: continue outer;
262: case 3:
263: if (("title" == ___local)
264: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
265: context.pushAttributes(__atts, true);
266: state = 4;
267: return;
268: }
269: break;
270: case 6:
271: if (("short-title" == ___local)
272: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
273: context.pushAttributes(__atts, true);
274: state = 7;
275: return;
276: }
277: state = 9;
278: continue outer;
279: case 12:
280: revertToParentFromEnterElement(___uri, ___local,
281: ___qname, __atts);
282: return;
283: case 0:
284: attIdx = context.getAttribute("", "id");
285: if (attIdx >= 0) {
286: final java.lang.String v = context
287: .eatAttribute(attIdx);
288: eatText1(v);
289: state = 3;
290: continue outer;
291: }
292: state = 3;
293: continue outer;
294: }
295: super .enterElement(___uri, ___local, ___qname, __atts);
296: break;
297: }
298: }
299:
300: private void eatText1(final java.lang.String value)
301: throws org.xml.sax.SAXException {
302: try {
303: _Id = value;
304: } catch (java.lang.Exception e) {
305: handleParseConversionException(e);
306: }
307: }
308:
309: public void leaveElement(java.lang.String ___uri,
310: java.lang.String ___local, java.lang.String ___qname)
311: throws org.xml.sax.SAXException {
312: int attIdx;
313: outer: while (true) {
314: switch (state) {
315: case 5:
316: if (("title" == ___local)
317: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
318: context.popAttributes();
319: state = 6;
320: return;
321: }
322: break;
323: case 11:
324: if (("keywords" == ___local)
325: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
326: context.popAttributes();
327: state = 12;
328: return;
329: }
330: break;
331: case 9:
332: state = 12;
333: continue outer;
334: case 6:
335: state = 9;
336: continue outer;
337: case 8:
338: if (("short-title" == ___local)
339: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
340: context.popAttributes();
341: state = 9;
342: return;
343: }
344: break;
345: case 12:
346: revertToParentFromLeaveElement(___uri, ___local,
347: ___qname);
348: return;
349: case 0:
350: attIdx = context.getAttribute("", "id");
351: if (attIdx >= 0) {
352: final java.lang.String v = context
353: .eatAttribute(attIdx);
354: eatText1(v);
355: state = 3;
356: continue outer;
357: }
358: state = 3;
359: continue outer;
360: }
361: super .leaveElement(___uri, ___local, ___qname);
362: break;
363: }
364: }
365:
366: public void enterAttribute(java.lang.String ___uri,
367: java.lang.String ___local, java.lang.String ___qname)
368: throws org.xml.sax.SAXException {
369: int attIdx;
370: outer: while (true) {
371: switch (state) {
372: case 9:
373: state = 12;
374: continue outer;
375: case 6:
376: state = 9;
377: continue outer;
378: case 12:
379: revertToParentFromEnterAttribute(___uri, ___local,
380: ___qname);
381: return;
382: case 0:
383: if (("id" == ___local) && ("" == ___uri)) {
384: state = 1;
385: return;
386: }
387: state = 3;
388: continue outer;
389: }
390: super .enterAttribute(___uri, ___local, ___qname);
391: break;
392: }
393: }
394:
395: public void leaveAttribute(java.lang.String ___uri,
396: java.lang.String ___local, java.lang.String ___qname)
397: throws org.xml.sax.SAXException {
398: int attIdx;
399: outer: while (true) {
400: switch (state) {
401: case 9:
402: state = 12;
403: continue outer;
404: case 2:
405: if (("id" == ___local) && ("" == ___uri)) {
406: state = 3;
407: return;
408: }
409: break;
410: case 6:
411: state = 9;
412: continue outer;
413: case 12:
414: revertToParentFromLeaveAttribute(___uri, ___local,
415: ___qname);
416: return;
417: case 0:
418: attIdx = context.getAttribute("", "id");
419: if (attIdx >= 0) {
420: final java.lang.String v = context
421: .eatAttribute(attIdx);
422: eatText1(v);
423: state = 3;
424: continue outer;
425: }
426: state = 3;
427: continue outer;
428: }
429: super .leaveAttribute(___uri, ___local, ___qname);
430: break;
431: }
432: }
433:
434: public void handleText(final java.lang.String value)
435: throws org.xml.sax.SAXException {
436: int attIdx;
437: outer: while (true) {
438: try {
439: switch (state) {
440: case 10:
441: _Keywords = ((com.nabhinc.portal.config.impl.KeywordsTypeImpl) spawnChildFromText(
442: (com.nabhinc.portal.config.impl.KeywordsTypeImpl.class),
443: 11, value));
444: return;
445: case 9:
446: state = 12;
447: continue outer;
448: case 7:
449: _ShortTitle = ((com.nabhinc.portal.config.impl.ShortTitleTypeImpl) spawnChildFromText(
450: (com.nabhinc.portal.config.impl.ShortTitleTypeImpl.class),
451: 8, value));
452: return;
453: case 1:
454: eatText1(value);
455: state = 2;
456: return;
457: case 6:
458: state = 9;
459: continue outer;
460: case 12:
461: revertToParentFromText(value);
462: return;
463: case 4:
464: _Title = ((com.nabhinc.portal.config.impl.TitleTypeImpl) spawnChildFromText(
465: (com.nabhinc.portal.config.impl.TitleTypeImpl.class),
466: 5, value));
467: return;
468: case 0:
469: attIdx = context.getAttribute("", "id");
470: if (attIdx >= 0) {
471: final java.lang.String v = context
472: .eatAttribute(attIdx);
473: eatText1(v);
474: state = 3;
475: continue outer;
476: }
477: state = 3;
478: continue outer;
479: }
480: } catch (java.lang.RuntimeException e) {
481: handleUnexpectedTextException(value, e);
482: }
483: break;
484: }
485: }
486:
487: }
488:
489: }
|