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 UserDataConstraintTypeImpl implements
030: com.nabhinc.portal.config.UserDataConstraintType,
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 java.lang.String _TransportGuarantee;
037: protected com.sun.xml.bind.util.ListImpl _Description;
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: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
043: return (com.nabhinc.portal.config.UserDataConstraintType.class);
044: }
045:
046: public java.lang.String getTransportGuarantee() {
047: return _TransportGuarantee;
048: }
049:
050: public void setTransportGuarantee(java.lang.String value) {
051: _TransportGuarantee = value;
052: }
053:
054: protected com.sun.xml.bind.util.ListImpl _getDescription() {
055: if (_Description == null) {
056: _Description = new com.sun.xml.bind.util.ListImpl(
057: new java.util.ArrayList());
058: }
059: return _Description;
060: }
061:
062: public java.util.List getDescription() {
063: return _getDescription();
064: }
065:
066: public java.lang.String getId() {
067: return _Id;
068: }
069:
070: public void setId(java.lang.String value) {
071: _Id = value;
072: }
073:
074: public com.nabhinc.portal.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
075: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
076: return new com.nabhinc.portal.config.impl.UserDataConstraintTypeImpl.Unmarshaller(
077: context);
078: }
079:
080: public void serializeBody(
081: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
082: throws org.xml.sax.SAXException {
083: int idx2 = 0;
084: final int len2 = ((_Description == null) ? 0 : _Description
085: .size());
086: while (idx2 != len2) {
087: context
088: .startElement(
089: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
090: "description");
091: int idx_0 = idx2;
092: context.childAsURIs(
093: ((com.sun.xml.bind.JAXBObject) _Description
094: .get(idx_0++)), "Description");
095: context.endNamespaceDecls();
096: int idx_1 = idx2;
097: context.childAsAttributes(
098: ((com.sun.xml.bind.JAXBObject) _Description
099: .get(idx_1++)), "Description");
100: context.endAttributes();
101: context.childAsBody(
102: ((com.sun.xml.bind.JAXBObject) _Description
103: .get(idx2++)), "Description");
104: context.endElement();
105: }
106: context
107: .startElement(
108: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
109: "transport-guarantee");
110: context.endNamespaceDecls();
111: context.endAttributes();
112: try {
113: context.text(((java.lang.String) _TransportGuarantee),
114: "TransportGuarantee");
115: } catch (java.lang.Exception e) {
116: com.nabhinc.portal.config.impl.runtime.Util
117: .handlePrintConversionException(this , e, context);
118: }
119: context.endElement();
120: }
121:
122: public void serializeAttributes(
123: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
124: throws org.xml.sax.SAXException {
125: int idx2 = 0;
126: final int len2 = ((_Description == null) ? 0 : _Description
127: .size());
128: if (_Id != null) {
129: context.startAttribute("", "id");
130: try {
131: context.text(((java.lang.String) _Id), "Id");
132: } catch (java.lang.Exception e) {
133: com.nabhinc.portal.config.impl.runtime.Util
134: .handlePrintConversionException(this , e,
135: context);
136: }
137: context.endAttribute();
138: }
139: while (idx2 != len2) {
140: idx2 += 1;
141: }
142: }
143:
144: public void serializeURIs(
145: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
146: throws org.xml.sax.SAXException {
147: int idx2 = 0;
148: final int len2 = ((_Description == null) ? 0 : _Description
149: .size());
150: while (idx2 != len2) {
151: idx2 += 1;
152: }
153: }
154:
155: public java.lang.Class getPrimaryInterface() {
156: return (com.nabhinc.portal.config.UserDataConstraintType.class);
157: }
158:
159: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
160: if (schemaFragment == null) {
161: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
162: .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"
163: + "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
164: + "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
165: + "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
166: + "expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceEx"
167: + "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"
168: + "\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"
169: + "\u0002xq\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.s"
170: + "un.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001f"
171: + "Lcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Eleme"
172: + "ntExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModel"
173: + "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"
174: + "om.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tname"
175: + "Classq\u0000~\u0000\u000fxq\u0000~\u0000\u0003q\u0000~\u0000\rpsr\u00002com.sun.msv.grammar.Expression$Any"
176: + "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"
177: + ".grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.Name"
178: + "Class\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$Epsilon"
179: + "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"
180: + ".SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;"
181: + "L\u0000\fnamespaceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u0000)com.nabhinc.portal.config.Descr"
182: + "iptionTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~"
183: + "\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"
184: + "\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000"
185: + "\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.dataty"
186: + "pe.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Buil"
187: + "tinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concret"
188: + "eType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000"
189: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000~\u0000!L\u0000\nwhiteSpacet"
190: + "\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://"
191: + "www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xs"
192: + "d.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.dat"
193: + "atype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gr"
194: + "ammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom"
195: + ".sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000!L\u0000\fnames"
196: + "paceURIq\u0000~\u0000!xpq\u0000~\u00002q\u0000~\u00001sq\u0000~\u0000 t\u0000\u0004typet\u0000)http://www.w3.org/20"
197: + "01/XMLSchema-instanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\u000bdescriptiont\u00006http://java"
198: + ".sun.com/xml/ns/portlet/portlet-app_1_0.xsdq\u0000~\u0000\u001fsq\u0000~\u0000\u000epp\u0000sq\u0000"
199: + "~\u0000\u0000ppsq\u0000~\u0000\'ppsr\u0000)com.sun.msv.datatype.xsd.EnumerationFacet\u0000\u0000"
200: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/Set;xr\u00009com.sun.msv.datatype"
201: + ".xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun."
202: + "msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixed"
203: + "Z\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd"
204: + "/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/"
205: + "ConcreteType;L\u0000\tfacetNameq\u0000~\u0000!xq\u0000~\u0000.q\u0000~\u0000?t\u0000\u0017transport-guaran"
206: + "teeTypeq\u0000~\u00005\u0000\u0000sr\u0000(com.sun.msv.datatype.xsd.WhiteSpaceFacet\u0000\u0000"
207: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000Fq\u0000~\u0000?t\u0000\u0006stringq\u0000~\u00005\u0000\u0000sr\u0000#com.sun.msv.datatype"
208: + ".xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u0000,q\u0000~\u00001t\u0000\u0006stri"
209: + "ngsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000"
210: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00004\u0001q\u0000~\u0000Ot\u0000\nwhiteSpaceq\u0000~\u0000Ot\u0000\u000benumerationsr\u0000\u0011ja"
211: + "va.util.HashSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0003t\u0000\fCONFIDENTIALt\u0000\u0004"
212: + "NONEt\u0000\bINTEGRALxq\u0000~\u00007sq\u0000~\u00008q\u0000~\u0000Jq\u0000~\u0000?sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0016q\u0000~\u0000\rpq\u0000~"
213: + "\u0000*q\u0000~\u0000:q\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\u0013transport-guaranteeq\u0000~\u0000?sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0016q"
214: + "\u0000~\u0000\rpsq\u0000~\u0000\'ppq\u0000~\u0000Oq\u0000~\u00007sq\u0000~\u00008q\u0000~\u0000Pq\u0000~\u00001sq\u0000~\u0000 t\u0000\u0002idt\u0000\u0000q\u0000~\u0000\u001fsr"
215: + "\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000"
216: + "/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.su"
217: + "n.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000"
218: + "\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPoo"
219: + "l;xp\u0000\u0000\u0000\u000b\u0001pq\u0000~\u0000\u000bq\u0000~\u0000%q\u0000~\u0000[q\u0000~\u0000\u0006q\u0000~\u0000\u0014q\u0000~\u0000Aq\u0000~\u0000\u0015q\u0000~\u0000\bq\u0000~\u0000\u0005q\u0000~\u0000_"
220: + "q\u0000~\u0000\u0012x"));
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.UserDataConstraintTypeImpl.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 3:
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: state = 6;
261: continue outer;
262: case 9:
263: revertToParentFromEnterElement(___uri, ___local,
264: ___qname, __atts);
265: return;
266: case 4:
267: attIdx = context.getAttribute(
268: "http://www.w3.org/XML/1998/namespace",
269: "lang");
270: if (attIdx >= 0) {
271: context.consumeAttribute(attIdx);
272: context.getCurrentHandler().enterElement(
273: ___uri, ___local, ___qname, __atts);
274: return;
275: }
276: break;
277: case 0:
278: attIdx = context.getAttribute("", "id");
279: if (attIdx >= 0) {
280: final java.lang.String v = context
281: .eatAttribute(attIdx);
282: eatText1(v);
283: state = 3;
284: continue outer;
285: }
286: state = 3;
287: continue outer;
288: case 6:
289: if (("description" == ___local)
290: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
291: context.pushAttributes(__atts, true);
292: state = 4;
293: return;
294: }
295: if (("transport-guarantee" == ___local)
296: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
297: context.pushAttributes(__atts, true);
298: state = 7;
299: return;
300: }
301: break;
302: }
303: super .enterElement(___uri, ___local, ___qname, __atts);
304: break;
305: }
306: }
307:
308: private void eatText1(final java.lang.String value)
309: throws org.xml.sax.SAXException {
310: try {
311: _Id = value;
312: } catch (java.lang.Exception e) {
313: handleParseConversionException(e);
314: }
315: }
316:
317: public void leaveElement(java.lang.String ___uri,
318: java.lang.String ___local, java.lang.String ___qname)
319: throws org.xml.sax.SAXException {
320: int attIdx;
321: outer: while (true) {
322: switch (state) {
323: case 3:
324: state = 6;
325: continue outer;
326: case 9:
327: revertToParentFromLeaveElement(___uri, ___local,
328: ___qname);
329: return;
330: case 4:
331: attIdx = context.getAttribute(
332: "http://www.w3.org/XML/1998/namespace",
333: "lang");
334: if (attIdx >= 0) {
335: context.consumeAttribute(attIdx);
336: context.getCurrentHandler().leaveElement(
337: ___uri, ___local, ___qname);
338: return;
339: }
340: break;
341: case 5:
342: if (("description" == ___local)
343: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
344: context.popAttributes();
345: state = 6;
346: return;
347: }
348: break;
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: case 8:
361: if (("transport-guarantee" == ___local)
362: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
363: context.popAttributes();
364: state = 9;
365: return;
366: }
367: break;
368: }
369: super .leaveElement(___uri, ___local, ___qname);
370: break;
371: }
372: }
373:
374: public void enterAttribute(java.lang.String ___uri,
375: java.lang.String ___local, java.lang.String ___qname)
376: throws org.xml.sax.SAXException {
377: int attIdx;
378: outer: while (true) {
379: switch (state) {
380: case 3:
381: state = 6;
382: continue outer;
383: case 9:
384: revertToParentFromEnterAttribute(___uri, ___local,
385: ___qname);
386: return;
387: case 4:
388: if (("lang" == ___local)
389: && ("http://www.w3.org/XML/1998/namespace" == ___uri)) {
390: _getDescription()
391: .add(
392: ((com.nabhinc.portal.config.impl.DescriptionTypeImpl) spawnChildFromEnterAttribute(
393: (com.nabhinc.portal.config.impl.DescriptionTypeImpl.class),
394: 5, ___uri, ___local,
395: ___qname)));
396: return;
397: }
398: break;
399: case 0:
400: if (("id" == ___local) && ("" == ___uri)) {
401: state = 1;
402: return;
403: }
404: state = 3;
405: continue outer;
406: }
407: super .enterAttribute(___uri, ___local, ___qname);
408: break;
409: }
410: }
411:
412: public void leaveAttribute(java.lang.String ___uri,
413: java.lang.String ___local, java.lang.String ___qname)
414: throws org.xml.sax.SAXException {
415: int attIdx;
416: outer: while (true) {
417: switch (state) {
418: case 3:
419: state = 6;
420: continue outer;
421: case 9:
422: revertToParentFromLeaveAttribute(___uri, ___local,
423: ___qname);
424: return;
425: case 4:
426: attIdx = context.getAttribute(
427: "http://www.w3.org/XML/1998/namespace",
428: "lang");
429: if (attIdx >= 0) {
430: context.consumeAttribute(attIdx);
431: context.getCurrentHandler().leaveAttribute(
432: ___uri, ___local, ___qname);
433: return;
434: }
435: break;
436: case 2:
437: if (("id" == ___local) && ("" == ___uri)) {
438: state = 3;
439: return;
440: }
441: break;
442: case 0:
443: attIdx = context.getAttribute("", "id");
444: if (attIdx >= 0) {
445: final java.lang.String v = context
446: .eatAttribute(attIdx);
447: eatText1(v);
448: state = 3;
449: continue outer;
450: }
451: state = 3;
452: continue outer;
453: }
454: super .leaveAttribute(___uri, ___local, ___qname);
455: break;
456: }
457: }
458:
459: public void handleText(final java.lang.String value)
460: throws org.xml.sax.SAXException {
461: int attIdx;
462: outer: while (true) {
463: try {
464: switch (state) {
465: case 7:
466: eatText2(value);
467: state = 8;
468: return;
469: case 3:
470: state = 6;
471: continue outer;
472: case 9:
473: revertToParentFromText(value);
474: return;
475: case 4:
476: attIdx = context.getAttribute(
477: "http://www.w3.org/XML/1998/namespace",
478: "lang");
479: if (attIdx >= 0) {
480: context.consumeAttribute(attIdx);
481: context.getCurrentHandler().text(value);
482: return;
483: }
484: _getDescription()
485: .add(
486: ((com.nabhinc.portal.config.impl.DescriptionTypeImpl) spawnChildFromText(
487: (com.nabhinc.portal.config.impl.DescriptionTypeImpl.class),
488: 5, value)));
489: return;
490: case 0:
491: attIdx = context.getAttribute("", "id");
492: if (attIdx >= 0) {
493: final java.lang.String v = context
494: .eatAttribute(attIdx);
495: eatText1(v);
496: state = 3;
497: continue outer;
498: }
499: state = 3;
500: continue outer;
501: case 1:
502: eatText1(value);
503: state = 2;
504: return;
505: }
506: } catch (java.lang.RuntimeException e) {
507: handleUnexpectedTextException(value, e);
508: }
509: break;
510: }
511: }
512:
513: private void eatText2(final java.lang.String value)
514: throws org.xml.sax.SAXException {
515: try {
516: _TransportGuarantee = com.sun.xml.bind.WhiteSpaceProcessor
517: .collapse(value);
518: } catch (java.lang.Exception e) {
519: handleParseConversionException(e);
520: }
521: }
522:
523: }
524:
525: }
|