0001: /*
0002: * (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
0003: *
0004: * This program is free software; you can redistribute it and/or
0005: * modify it under the terms of the GNU General Public License
0006: * as published by the Free Software Foundation; either version 2
0007: * of the License, or (at your option) any later version.
0008: *
0009: * This program is distributed in the hope that it will be useful,
0010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
0011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0012: * GNU General Public License for more details.
0013: *
0014: * You should have received a copy of the GNU General Public License
0015: * along with this program; if not, write to the Free Software
0016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
0017: *
0018: */
0019:
0020: //
0021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
0022: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
0023: // Any modifications to this file will be lost upon recompilation of the source schema.
0024: // Generated on: 2005.03.04 at 10:20:40 PST
0025: //
0026:
0027: package com.nabhinc.portal.config.impl;
0028:
0029: public class PortletAppTypeImpl implements
0030: com.nabhinc.portal.config.PortletAppType,
0031: com.sun.xml.bind.JAXBObject,
0032: com.nabhinc.portal.config.impl.runtime.UnmarshallableObject,
0033: com.nabhinc.portal.config.impl.runtime.XMLSerializable,
0034: com.nabhinc.portal.config.impl.runtime.ValidatableObject {
0035:
0036: protected com.sun.xml.bind.util.ListImpl _Portlet;
0037: protected java.lang.String _Version;
0038: protected com.sun.xml.bind.util.ListImpl _CustomWindowState;
0039: protected com.sun.xml.bind.util.ListImpl _CustomPortletMode;
0040: protected com.sun.xml.bind.util.ListImpl _SecurityConstraint;
0041: protected com.sun.xml.bind.util.ListImpl _UserAttribute;
0042: protected java.lang.String _Id;
0043: public final static java.lang.Class version = (com.nabhinc.portal.config.impl.JAXBVersion.class);
0044: private static com.sun.msv.grammar.Grammar schemaFragment;
0045:
0046: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
0047: return (com.nabhinc.portal.config.PortletAppType.class);
0048: }
0049:
0050: protected com.sun.xml.bind.util.ListImpl _getPortlet() {
0051: if (_Portlet == null) {
0052: _Portlet = new com.sun.xml.bind.util.ListImpl(
0053: new java.util.ArrayList());
0054: }
0055: return _Portlet;
0056: }
0057:
0058: public java.util.List getPortlet() {
0059: return _getPortlet();
0060: }
0061:
0062: public java.lang.String getVersion() {
0063: return _Version;
0064: }
0065:
0066: public void setVersion(java.lang.String value) {
0067: _Version = value;
0068: }
0069:
0070: protected com.sun.xml.bind.util.ListImpl _getCustomWindowState() {
0071: if (_CustomWindowState == null) {
0072: _CustomWindowState = new com.sun.xml.bind.util.ListImpl(
0073: new java.util.ArrayList());
0074: }
0075: return _CustomWindowState;
0076: }
0077:
0078: public java.util.List getCustomWindowState() {
0079: return _getCustomWindowState();
0080: }
0081:
0082: protected com.sun.xml.bind.util.ListImpl _getCustomPortletMode() {
0083: if (_CustomPortletMode == null) {
0084: _CustomPortletMode = new com.sun.xml.bind.util.ListImpl(
0085: new java.util.ArrayList());
0086: }
0087: return _CustomPortletMode;
0088: }
0089:
0090: public java.util.List getCustomPortletMode() {
0091: return _getCustomPortletMode();
0092: }
0093:
0094: protected com.sun.xml.bind.util.ListImpl _getSecurityConstraint() {
0095: if (_SecurityConstraint == null) {
0096: _SecurityConstraint = new com.sun.xml.bind.util.ListImpl(
0097: new java.util.ArrayList());
0098: }
0099: return _SecurityConstraint;
0100: }
0101:
0102: public java.util.List getSecurityConstraint() {
0103: return _getSecurityConstraint();
0104: }
0105:
0106: protected com.sun.xml.bind.util.ListImpl _getUserAttribute() {
0107: if (_UserAttribute == null) {
0108: _UserAttribute = new com.sun.xml.bind.util.ListImpl(
0109: new java.util.ArrayList());
0110: }
0111: return _UserAttribute;
0112: }
0113:
0114: public java.util.List getUserAttribute() {
0115: return _getUserAttribute();
0116: }
0117:
0118: public java.lang.String getId() {
0119: return _Id;
0120: }
0121:
0122: public void setId(java.lang.String value) {
0123: _Id = value;
0124: }
0125:
0126: public com.nabhinc.portal.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
0127: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
0128: return new com.nabhinc.portal.config.impl.PortletAppTypeImpl.Unmarshaller(
0129: context);
0130: }
0131:
0132: public void serializeBody(
0133: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
0134: throws org.xml.sax.SAXException {
0135: int idx1 = 0;
0136: final int len1 = ((_Portlet == null) ? 0 : _Portlet.size());
0137: int idx3 = 0;
0138: final int len3 = ((_CustomWindowState == null) ? 0
0139: : _CustomWindowState.size());
0140: int idx4 = 0;
0141: final int len4 = ((_CustomPortletMode == null) ? 0
0142: : _CustomPortletMode.size());
0143: int idx5 = 0;
0144: final int len5 = ((_SecurityConstraint == null) ? 0
0145: : _SecurityConstraint.size());
0146: int idx6 = 0;
0147: final int len6 = ((_UserAttribute == null) ? 0 : _UserAttribute
0148: .size());
0149: while (idx1 != len1) {
0150: context
0151: .startElement(
0152: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
0153: "portlet");
0154: int idx_0 = idx1;
0155: context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Portlet
0156: .get(idx_0++)), "Portlet");
0157: context.endNamespaceDecls();
0158: int idx_1 = idx1;
0159: context.childAsAttributes(
0160: ((com.sun.xml.bind.JAXBObject) _Portlet
0161: .get(idx_1++)), "Portlet");
0162: context.endAttributes();
0163: context.childAsBody(((com.sun.xml.bind.JAXBObject) _Portlet
0164: .get(idx1++)), "Portlet");
0165: context.endElement();
0166: }
0167: while (idx4 != len4) {
0168: context
0169: .startElement(
0170: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
0171: "custom-portlet-mode");
0172: int idx_2 = idx4;
0173: context.childAsURIs(
0174: ((com.sun.xml.bind.JAXBObject) _CustomPortletMode
0175: .get(idx_2++)), "CustomPortletMode");
0176: context.endNamespaceDecls();
0177: int idx_3 = idx4;
0178: context.childAsAttributes(
0179: ((com.sun.xml.bind.JAXBObject) _CustomPortletMode
0180: .get(idx_3++)), "CustomPortletMode");
0181: context.endAttributes();
0182: context.childAsBody(
0183: ((com.sun.xml.bind.JAXBObject) _CustomPortletMode
0184: .get(idx4++)), "CustomPortletMode");
0185: context.endElement();
0186: }
0187: while (idx3 != len3) {
0188: context
0189: .startElement(
0190: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
0191: "custom-window-state");
0192: int idx_4 = idx3;
0193: context.childAsURIs(
0194: ((com.sun.xml.bind.JAXBObject) _CustomWindowState
0195: .get(idx_4++)), "CustomWindowState");
0196: context.endNamespaceDecls();
0197: int idx_5 = idx3;
0198: context.childAsAttributes(
0199: ((com.sun.xml.bind.JAXBObject) _CustomWindowState
0200: .get(idx_5++)), "CustomWindowState");
0201: context.endAttributes();
0202: context.childAsBody(
0203: ((com.sun.xml.bind.JAXBObject) _CustomWindowState
0204: .get(idx3++)), "CustomWindowState");
0205: context.endElement();
0206: }
0207: while (idx6 != len6) {
0208: context
0209: .startElement(
0210: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
0211: "user-attribute");
0212: int idx_6 = idx6;
0213: context.childAsURIs(
0214: ((com.sun.xml.bind.JAXBObject) _UserAttribute
0215: .get(idx_6++)), "UserAttribute");
0216: context.endNamespaceDecls();
0217: int idx_7 = idx6;
0218: context.childAsAttributes(
0219: ((com.sun.xml.bind.JAXBObject) _UserAttribute
0220: .get(idx_7++)), "UserAttribute");
0221: context.endAttributes();
0222: context.childAsBody(
0223: ((com.sun.xml.bind.JAXBObject) _UserAttribute
0224: .get(idx6++)), "UserAttribute");
0225: context.endElement();
0226: }
0227: while (idx5 != len5) {
0228: context
0229: .startElement(
0230: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
0231: "security-constraint");
0232: int idx_8 = idx5;
0233: context.childAsURIs(
0234: ((com.sun.xml.bind.JAXBObject) _SecurityConstraint
0235: .get(idx_8++)), "SecurityConstraint");
0236: context.endNamespaceDecls();
0237: int idx_9 = idx5;
0238: context.childAsAttributes(
0239: ((com.sun.xml.bind.JAXBObject) _SecurityConstraint
0240: .get(idx_9++)), "SecurityConstraint");
0241: context.endAttributes();
0242: context.childAsBody(
0243: ((com.sun.xml.bind.JAXBObject) _SecurityConstraint
0244: .get(idx5++)), "SecurityConstraint");
0245: context.endElement();
0246: }
0247: }
0248:
0249: public void serializeAttributes(
0250: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
0251: throws org.xml.sax.SAXException {
0252: int idx1 = 0;
0253: final int len1 = ((_Portlet == null) ? 0 : _Portlet.size());
0254: int idx3 = 0;
0255: final int len3 = ((_CustomWindowState == null) ? 0
0256: : _CustomWindowState.size());
0257: int idx4 = 0;
0258: final int len4 = ((_CustomPortletMode == null) ? 0
0259: : _CustomPortletMode.size());
0260: int idx5 = 0;
0261: final int len5 = ((_SecurityConstraint == null) ? 0
0262: : _SecurityConstraint.size());
0263: int idx6 = 0;
0264: final int len6 = ((_UserAttribute == null) ? 0 : _UserAttribute
0265: .size());
0266: if (_Id != null) {
0267: context.startAttribute("", "id");
0268: try {
0269: context.text(((java.lang.String) _Id), "Id");
0270: } catch (java.lang.Exception e) {
0271: com.nabhinc.portal.config.impl.runtime.Util
0272: .handlePrintConversionException(this , e,
0273: context);
0274: }
0275: context.endAttribute();
0276: }
0277: context.startAttribute("", "version");
0278: try {
0279: context.text(((java.lang.String) _Version), "Version");
0280: } catch (java.lang.Exception e) {
0281: com.nabhinc.portal.config.impl.runtime.Util
0282: .handlePrintConversionException(this , e, context);
0283: }
0284: context.endAttribute();
0285: while (idx1 != len1) {
0286: idx1 += 1;
0287: }
0288: while (idx4 != len4) {
0289: idx4 += 1;
0290: }
0291: while (idx3 != len3) {
0292: idx3 += 1;
0293: }
0294: while (idx6 != len6) {
0295: idx6 += 1;
0296: }
0297: while (idx5 != len5) {
0298: idx5 += 1;
0299: }
0300: }
0301:
0302: public void serializeURIs(
0303: com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
0304: throws org.xml.sax.SAXException {
0305: int idx1 = 0;
0306: final int len1 = ((_Portlet == null) ? 0 : _Portlet.size());
0307: int idx3 = 0;
0308: final int len3 = ((_CustomWindowState == null) ? 0
0309: : _CustomWindowState.size());
0310: int idx4 = 0;
0311: final int len4 = ((_CustomPortletMode == null) ? 0
0312: : _CustomPortletMode.size());
0313: int idx5 = 0;
0314: final int len5 = ((_SecurityConstraint == null) ? 0
0315: : _SecurityConstraint.size());
0316: int idx6 = 0;
0317: final int len6 = ((_UserAttribute == null) ? 0 : _UserAttribute
0318: .size());
0319: while (idx1 != len1) {
0320: idx1 += 1;
0321: }
0322: while (idx4 != len4) {
0323: idx4 += 1;
0324: }
0325: while (idx3 != len3) {
0326: idx3 += 1;
0327: }
0328: while (idx6 != len6) {
0329: idx6 += 1;
0330: }
0331: while (idx5 != len5) {
0332: idx5 += 1;
0333: }
0334: }
0335:
0336: public java.lang.Class getPrimaryInterface() {
0337: return (com.nabhinc.portal.config.PortletAppType.class);
0338: }
0339:
0340: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
0341: if (schemaFragment == null) {
0342: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
0343: .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"
0344: + "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
0345: + "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
0346: + "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
0347: + "expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000pp"
0348: + "sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com."
0349: + "sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gramm"
0350: + "ar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean"
0351: + "\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun.msv.grammar.trex.ElementP"
0352: + "attern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameCla"
0353: + "ss;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUnd"
0354: + "eclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u0011p\u0000sq\u0000~\u0000\u0000ppsq"
0355: + "\u0000~\u0000\u0012pp\u0000sq\u0000~\u0000\u000bppsq\u0000~\u0000\rq\u0000~\u0000\u0011psr\u0000 com.sun.msv.grammar.Attribute"
0356: + "Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0013xq\u0000~\u0000\u0003q\u0000~\u0000\u0011psr\u00002co"
0357: + "m.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
0358: + "q\u0000~\u0000\u0003sq\u0000~\u0000\u0010\u0001q\u0000~\u0000\u001dsr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
0359: + "\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.su"
0360: + "n.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q"
0361: + "\u0000~\u0000\u001eq\u0000~\u0000#sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L"
0362: + "\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000%xq\u0000~\u0000 t\u0000"
0363: + "%com.nabhinc.portal.config.PortletTypet\u0000+http://java.sun.com"
0364: + "/jaxb/xjc/dummy-elementssq\u0000~\u0000\u000bppsq\u0000~\u0000\u001aq\u0000~\u0000\u0011psr\u0000\u001bcom.sun.msv."
0365: + "grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Data"
0366: + "type;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq"
0367: + "\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*c"
0368: + "om.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com."
0369: + "sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv."
0370: + "datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000%L\u0000"
0371: + "\btypeNameq\u0000~\u0000%L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/Whit"
0372: + "eSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNam"
0373: + "esr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000"
0374: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000"
0375: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpressi"
0376: + "on\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0"
0377: + "\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000%L\u0000\fnamespaceURIq\u0000~\u0000%xpq\u0000~\u00006q\u0000~\u00005sq\u0000~\u0000$t\u0000"
0378: + "\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000#sq\u0000~\u0000$"
0379: + "t\u0000\u0007portlett\u00006http://java.sun.com/xml/ns/portlet/portlet-app_"
0380: + "1_0.xsdq\u0000~\u0000#sq\u0000~\u0000\u000bppsq\u0000~\u0000\rq\u0000~\u0000\u0011psq\u0000~\u0000\u0012q\u0000~\u0000\u0011p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0012p"
0381: + "p\u0000sq\u0000~\u0000\u000bppsq\u0000~\u0000\rq\u0000~\u0000\u0011psq\u0000~\u0000\u001aq\u0000~\u0000\u0011pq\u0000~\u0000\u001dq\u0000~\u0000!q\u0000~\u0000#sq\u0000~\u0000$t\u0000/co"
0382: + "m.nabhinc.portal.config.CustomPortletModeTypeq\u0000~\u0000(sq\u0000~\u0000\u000bppsq"
0383: + "\u0000~\u0000\u001aq\u0000~\u0000\u0011pq\u0000~\u0000.q\u0000~\u0000>q\u0000~\u0000#sq\u0000~\u0000$t\u0000\u0013custom-portlet-modeq\u0000~\u0000Cq\u0000"
0384: + "~\u0000#sq\u0000~\u0000\u000bppsq\u0000~\u0000\rq\u0000~\u0000\u0011psq\u0000~\u0000\u0012q\u0000~\u0000\u0011p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0012pp\u0000sq\u0000~\u0000\u000bp"
0385: + "psq\u0000~\u0000\rq\u0000~\u0000\u0011psq\u0000~\u0000\u001aq\u0000~\u0000\u0011pq\u0000~\u0000\u001dq\u0000~\u0000!q\u0000~\u0000#sq\u0000~\u0000$t\u0000/com.nabhinc"
0386: + ".portal.config.CustomWindowStateTypeq\u0000~\u0000(sq\u0000~\u0000\u000bppsq\u0000~\u0000\u001aq\u0000~\u0000\u0011"
0387: + "pq\u0000~\u0000.q\u0000~\u0000>q\u0000~\u0000#sq\u0000~\u0000$t\u0000\u0013custom-window-stateq\u0000~\u0000Cq\u0000~\u0000#sq\u0000~\u0000\u000b"
0388: + "ppsq\u0000~\u0000\rq\u0000~\u0000\u0011psq\u0000~\u0000\u0012q\u0000~\u0000\u0011p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0012pp\u0000sq\u0000~\u0000\u000bppsq\u0000~\u0000\rq\u0000"
0389: + "~\u0000\u0011psq\u0000~\u0000\u001aq\u0000~\u0000\u0011pq\u0000~\u0000\u001dq\u0000~\u0000!q\u0000~\u0000#sq\u0000~\u0000$t\u0000+com.nabhinc.portal.c"
0390: + "onfig.UserAttributeTypeq\u0000~\u0000(sq\u0000~\u0000\u000bppsq\u0000~\u0000\u001aq\u0000~\u0000\u0011pq\u0000~\u0000.q\u0000~\u0000>q\u0000"
0391: + "~\u0000#sq\u0000~\u0000$t\u0000\u000euser-attributeq\u0000~\u0000Cq\u0000~\u0000#sq\u0000~\u0000\u000bppsq\u0000~\u0000\rq\u0000~\u0000\u0011psq\u0000~"
0392: + "\u0000\u0012q\u0000~\u0000\u0011p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0012pp\u0000sq\u0000~\u0000\u000bppsq\u0000~\u0000\rq\u0000~\u0000\u0011psq\u0000~\u0000\u001aq\u0000~\u0000\u0011pq\u0000"
0393: + "~\u0000\u001dq\u0000~\u0000!q\u0000~\u0000#sq\u0000~\u0000$t\u00000com.nabhinc.portal.config.SecurityCons"
0394: + "traintTypeq\u0000~\u0000(sq\u0000~\u0000\u000bppsq\u0000~\u0000\u001aq\u0000~\u0000\u0011pq\u0000~\u0000.q\u0000~\u0000>q\u0000~\u0000#sq\u0000~\u0000$t\u0000\u0013s"
0395: + "ecurity-constraintq\u0000~\u0000Cq\u0000~\u0000#sq\u0000~\u0000\u000bppsq\u0000~\u0000\u001aq\u0000~\u0000\u0011psq\u0000~\u0000+ppsr\u0000#"
0396: + "com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVal"
0397: + "idxq\u0000~\u00000q\u0000~\u00005t\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpac"
0398: + "eProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00008\u0001q\u0000~\u0000;sq\u0000~\u0000<q\u0000~\u0000\u0081q\u0000~\u00005sq"
0399: + "\u0000~\u0000$t\u0000\u0002idt\u0000\u0000q\u0000~\u0000#sq\u0000~\u0000\u001appq\u0000~\u0000~sq\u0000~\u0000$t\u0000\u0007versionq\u0000~\u0000\u0087sr\u0000\"com.s"
0400: + "un.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/s"
0401: + "un/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.g"
0402: + "rammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstream"
0403: + "VersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000"
0404: + "%\u0001pq\u0000~\u0000\u000fq\u0000~\u0000Eq\u0000~\u0000Sq\u0000~\u0000aq\u0000~\u0000oq\u0000~\u0000)q\u0000~\u0000Nq\u0000~\u0000\\q\u0000~\u0000jq\u0000~\u0000xq\u0000~\u0000\u0005q\u0000"
0405: + "~\u0000\tq\u0000~\u0000\u0018q\u0000~\u0000Iq\u0000~\u0000Wq\u0000~\u0000eq\u0000~\u0000sq\u0000~\u0000\u0019q\u0000~\u0000Jq\u0000~\u0000Xq\u0000~\u0000fq\u0000~\u0000tq\u0000~\u0000\fq\u0000"
0406: + "~\u0000Dq\u0000~\u0000Rq\u0000~\u0000`q\u0000~\u0000nq\u0000~\u0000|q\u0000~\u0000\u0006q\u0000~\u0000\u0007q\u0000~\u0000\u0016q\u0000~\u0000Gq\u0000~\u0000Uq\u0000~\u0000cq\u0000~\u0000qq\u0000"
0407: + "~\u0000\bq\u0000~\u0000\nx"));
0408: }
0409: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
0410: schemaFragment);
0411: }
0412:
0413: public class Unmarshaller
0414: extends
0415: com.nabhinc.portal.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
0416:
0417: public Unmarshaller(
0418: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
0419: super (context, "----------------------");
0420: }
0421:
0422: protected Unmarshaller(
0423: com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context,
0424: int startState) {
0425: this (context);
0426: state = startState;
0427: }
0428:
0429: public java.lang.Object owner() {
0430: return com.nabhinc.portal.config.impl.PortletAppTypeImpl.this ;
0431: }
0432:
0433: public void enterElement(java.lang.String ___uri,
0434: java.lang.String ___local, java.lang.String ___qname,
0435: org.xml.sax.Attributes __atts)
0436: throws org.xml.sax.SAXException {
0437: int attIdx;
0438: outer: while (true) {
0439: switch (state) {
0440: case 18:
0441: if (("user-attribute" == ___local)
0442: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0443: context.pushAttributes(__atts, false);
0444: state = 16;
0445: return;
0446: }
0447: if (("security-constraint" == ___local)
0448: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0449: context.pushAttributes(__atts, false);
0450: state = 19;
0451: return;
0452: }
0453: state = 21;
0454: continue outer;
0455: case 19:
0456: attIdx = context.getAttribute("", "id");
0457: if (attIdx >= 0) {
0458: context.consumeAttribute(attIdx);
0459: context.getCurrentHandler().enterElement(
0460: ___uri, ___local, ___qname, __atts);
0461: return;
0462: }
0463: if (("display-name" == ___local)
0464: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0465: _getSecurityConstraint()
0466: .add(
0467: ((com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl) spawnChildFromEnterElement(
0468: (com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl.class),
0469: 20, ___uri, ___local,
0470: ___qname, __atts)));
0471: return;
0472: }
0473: if (("portlet-collection" == ___local)
0474: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0475: _getSecurityConstraint()
0476: .add(
0477: ((com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl) spawnChildFromEnterElement(
0478: (com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl.class),
0479: 20, ___uri, ___local,
0480: ___qname, __atts)));
0481: return;
0482: }
0483: break;
0484: case 16:
0485: attIdx = context.getAttribute("", "id");
0486: if (attIdx >= 0) {
0487: context.consumeAttribute(attIdx);
0488: context.getCurrentHandler().enterElement(
0489: ___uri, ___local, ___qname, __atts);
0490: return;
0491: }
0492: if (("description" == ___local)
0493: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0494: _getUserAttribute()
0495: .add(
0496: ((com.nabhinc.portal.config.impl.UserAttributeTypeImpl) spawnChildFromEnterElement(
0497: (com.nabhinc.portal.config.impl.UserAttributeTypeImpl.class),
0498: 17, ___uri, ___local,
0499: ___qname, __atts)));
0500: return;
0501: }
0502: if (("name" == ___local)
0503: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0504: _getUserAttribute()
0505: .add(
0506: ((com.nabhinc.portal.config.impl.UserAttributeTypeImpl) spawnChildFromEnterElement(
0507: (com.nabhinc.portal.config.impl.UserAttributeTypeImpl.class),
0508: 17, ___uri, ___local,
0509: ___qname, __atts)));
0510: return;
0511: }
0512: break;
0513: case 0:
0514: attIdx = context.getAttribute("", "id");
0515: if (attIdx >= 0) {
0516: final java.lang.String v = context
0517: .eatAttribute(attIdx);
0518: eatText1(v);
0519: state = 3;
0520: continue outer;
0521: }
0522: state = 3;
0523: continue outer;
0524: case 13:
0525: attIdx = context.getAttribute("", "id");
0526: if (attIdx >= 0) {
0527: context.consumeAttribute(attIdx);
0528: context.getCurrentHandler().enterElement(
0529: ___uri, ___local, ___qname, __atts);
0530: return;
0531: }
0532: if (("description" == ___local)
0533: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0534: _getCustomWindowState()
0535: .add(
0536: ((com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl) spawnChildFromEnterElement(
0537: (com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl.class),
0538: 14, ___uri, ___local,
0539: ___qname, __atts)));
0540: return;
0541: }
0542: if (("window-state" == ___local)
0543: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0544: _getCustomWindowState()
0545: .add(
0546: ((com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl) spawnChildFromEnterElement(
0547: (com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl.class),
0548: 14, ___uri, ___local,
0549: ___qname, __atts)));
0550: return;
0551: }
0552: break;
0553: case 15:
0554: if (("custom-window-state" == ___local)
0555: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0556: context.pushAttributes(__atts, false);
0557: state = 13;
0558: return;
0559: }
0560: if (("user-attribute" == ___local)
0561: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0562: context.pushAttributes(__atts, false);
0563: state = 16;
0564: return;
0565: }
0566: state = 18;
0567: continue outer;
0568: case 6:
0569: if (("portlet" == ___local)
0570: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0571: context.pushAttributes(__atts, false);
0572: state = 7;
0573: return;
0574: }
0575: state = 9;
0576: continue outer;
0577: case 21:
0578: if (("security-constraint" == ___local)
0579: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0580: context.pushAttributes(__atts, false);
0581: state = 19;
0582: return;
0583: }
0584: revertToParentFromEnterElement(___uri, ___local,
0585: ___qname, __atts);
0586: return;
0587: case 3:
0588: attIdx = context.getAttribute("", "version");
0589: if (attIdx >= 0) {
0590: final java.lang.String v = context
0591: .eatAttribute(attIdx);
0592: eatText2(v);
0593: state = 6;
0594: continue outer;
0595: }
0596: break;
0597: case 10:
0598: attIdx = context.getAttribute("", "id");
0599: if (attIdx >= 0) {
0600: context.consumeAttribute(attIdx);
0601: context.getCurrentHandler().enterElement(
0602: ___uri, ___local, ___qname, __atts);
0603: return;
0604: }
0605: if (("description" == ___local)
0606: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0607: _getCustomPortletMode()
0608: .add(
0609: ((com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl) spawnChildFromEnterElement(
0610: (com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl.class),
0611: 11, ___uri, ___local,
0612: ___qname, __atts)));
0613: return;
0614: }
0615: if (("portlet-mode" == ___local)
0616: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0617: _getCustomPortletMode()
0618: .add(
0619: ((com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl) spawnChildFromEnterElement(
0620: (com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl.class),
0621: 11, ___uri, ___local,
0622: ___qname, __atts)));
0623: return;
0624: }
0625: break;
0626: case 12:
0627: if (("custom-portlet-mode" == ___local)
0628: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0629: context.pushAttributes(__atts, false);
0630: state = 10;
0631: return;
0632: }
0633: if (("custom-window-state" == ___local)
0634: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0635: context.pushAttributes(__atts, false);
0636: state = 13;
0637: return;
0638: }
0639: state = 15;
0640: continue outer;
0641: case 7:
0642: attIdx = context.getAttribute("", "id");
0643: if (attIdx >= 0) {
0644: context.consumeAttribute(attIdx);
0645: context.getCurrentHandler().enterElement(
0646: ___uri, ___local, ___qname, __atts);
0647: return;
0648: }
0649: if (("description" == ___local)
0650: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0651: _getPortlet()
0652: .add(
0653: ((com.nabhinc.portal.config.impl.PortletTypeImpl) spawnChildFromEnterElement(
0654: (com.nabhinc.portal.config.impl.PortletTypeImpl.class),
0655: 8, ___uri, ___local,
0656: ___qname, __atts)));
0657: return;
0658: }
0659: if (("portlet-name" == ___local)
0660: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0661: _getPortlet()
0662: .add(
0663: ((com.nabhinc.portal.config.impl.PortletTypeImpl) spawnChildFromEnterElement(
0664: (com.nabhinc.portal.config.impl.PortletTypeImpl.class),
0665: 8, ___uri, ___local,
0666: ___qname, __atts)));
0667: return;
0668: }
0669: break;
0670: case 9:
0671: if (("portlet" == ___local)
0672: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0673: context.pushAttributes(__atts, false);
0674: state = 7;
0675: return;
0676: }
0677: if (("custom-portlet-mode" == ___local)
0678: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0679: context.pushAttributes(__atts, false);
0680: state = 10;
0681: return;
0682: }
0683: state = 12;
0684: continue outer;
0685: }
0686: super .enterElement(___uri, ___local, ___qname, __atts);
0687: break;
0688: }
0689: }
0690:
0691: private void eatText1(final java.lang.String value)
0692: throws org.xml.sax.SAXException {
0693: try {
0694: _Id = value;
0695: } catch (java.lang.Exception e) {
0696: handleParseConversionException(e);
0697: }
0698: }
0699:
0700: private void eatText2(final java.lang.String value)
0701: throws org.xml.sax.SAXException {
0702: try {
0703: _Version = value;
0704: } catch (java.lang.Exception e) {
0705: handleParseConversionException(e);
0706: }
0707: }
0708:
0709: public void leaveElement(java.lang.String ___uri,
0710: java.lang.String ___local, java.lang.String ___qname)
0711: throws org.xml.sax.SAXException {
0712: int attIdx;
0713: outer: while (true) {
0714: switch (state) {
0715: case 18:
0716: state = 21;
0717: continue outer;
0718: case 19:
0719: attIdx = context.getAttribute("", "id");
0720: if (attIdx >= 0) {
0721: context.consumeAttribute(attIdx);
0722: context.getCurrentHandler().leaveElement(
0723: ___uri, ___local, ___qname);
0724: return;
0725: }
0726: break;
0727: case 20:
0728: if (("security-constraint" == ___local)
0729: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0730: context.popAttributes();
0731: state = 21;
0732: return;
0733: }
0734: break;
0735: case 16:
0736: attIdx = context.getAttribute("", "id");
0737: if (attIdx >= 0) {
0738: context.consumeAttribute(attIdx);
0739: context.getCurrentHandler().leaveElement(
0740: ___uri, ___local, ___qname);
0741: return;
0742: }
0743: break;
0744: case 14:
0745: if (("custom-window-state" == ___local)
0746: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0747: context.popAttributes();
0748: state = 15;
0749: return;
0750: }
0751: break;
0752: case 0:
0753: attIdx = context.getAttribute("", "id");
0754: if (attIdx >= 0) {
0755: final java.lang.String v = context
0756: .eatAttribute(attIdx);
0757: eatText1(v);
0758: state = 3;
0759: continue outer;
0760: }
0761: state = 3;
0762: continue outer;
0763: case 13:
0764: attIdx = context.getAttribute("", "id");
0765: if (attIdx >= 0) {
0766: context.consumeAttribute(attIdx);
0767: context.getCurrentHandler().leaveElement(
0768: ___uri, ___local, ___qname);
0769: return;
0770: }
0771: break;
0772: case 15:
0773: state = 18;
0774: continue outer;
0775: case 6:
0776: state = 9;
0777: continue outer;
0778: case 21:
0779: revertToParentFromLeaveElement(___uri, ___local,
0780: ___qname);
0781: return;
0782: case 3:
0783: attIdx = context.getAttribute("", "version");
0784: if (attIdx >= 0) {
0785: final java.lang.String v = context
0786: .eatAttribute(attIdx);
0787: eatText2(v);
0788: state = 6;
0789: continue outer;
0790: }
0791: break;
0792: case 11:
0793: if (("custom-portlet-mode" == ___local)
0794: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0795: context.popAttributes();
0796: state = 12;
0797: return;
0798: }
0799: break;
0800: case 10:
0801: attIdx = context.getAttribute("", "id");
0802: if (attIdx >= 0) {
0803: context.consumeAttribute(attIdx);
0804: context.getCurrentHandler().leaveElement(
0805: ___uri, ___local, ___qname);
0806: return;
0807: }
0808: break;
0809: case 8:
0810: if (("portlet" == ___local)
0811: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0812: context.popAttributes();
0813: state = 9;
0814: return;
0815: }
0816: break;
0817: case 12:
0818: state = 15;
0819: continue outer;
0820: case 17:
0821: if (("user-attribute" == ___local)
0822: && ("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
0823: context.popAttributes();
0824: state = 18;
0825: return;
0826: }
0827: break;
0828: case 7:
0829: attIdx = context.getAttribute("", "id");
0830: if (attIdx >= 0) {
0831: context.consumeAttribute(attIdx);
0832: context.getCurrentHandler().leaveElement(
0833: ___uri, ___local, ___qname);
0834: return;
0835: }
0836: break;
0837: case 9:
0838: state = 12;
0839: continue outer;
0840: }
0841: super .leaveElement(___uri, ___local, ___qname);
0842: break;
0843: }
0844: }
0845:
0846: public void enterAttribute(java.lang.String ___uri,
0847: java.lang.String ___local, java.lang.String ___qname)
0848: throws org.xml.sax.SAXException {
0849: int attIdx;
0850: outer: while (true) {
0851: switch (state) {
0852: case 18:
0853: state = 21;
0854: continue outer;
0855: case 19:
0856: if (("id" == ___local) && ("" == ___uri)) {
0857: _getSecurityConstraint()
0858: .add(
0859: ((com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl) spawnChildFromEnterAttribute(
0860: (com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl.class),
0861: 20, ___uri, ___local,
0862: ___qname)));
0863: return;
0864: }
0865: break;
0866: case 16:
0867: if (("id" == ___local) && ("" == ___uri)) {
0868: _getUserAttribute()
0869: .add(
0870: ((com.nabhinc.portal.config.impl.UserAttributeTypeImpl) spawnChildFromEnterAttribute(
0871: (com.nabhinc.portal.config.impl.UserAttributeTypeImpl.class),
0872: 17, ___uri, ___local,
0873: ___qname)));
0874: return;
0875: }
0876: break;
0877: case 0:
0878: if (("id" == ___local) && ("" == ___uri)) {
0879: state = 1;
0880: return;
0881: }
0882: state = 3;
0883: continue outer;
0884: case 13:
0885: if (("id" == ___local) && ("" == ___uri)) {
0886: _getCustomWindowState()
0887: .add(
0888: ((com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl) spawnChildFromEnterAttribute(
0889: (com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl.class),
0890: 14, ___uri, ___local,
0891: ___qname)));
0892: return;
0893: }
0894: break;
0895: case 15:
0896: state = 18;
0897: continue outer;
0898: case 6:
0899: state = 9;
0900: continue outer;
0901: case 21:
0902: revertToParentFromEnterAttribute(___uri, ___local,
0903: ___qname);
0904: return;
0905: case 3:
0906: if (("version" == ___local) && ("" == ___uri)) {
0907: state = 4;
0908: return;
0909: }
0910: break;
0911: case 10:
0912: if (("id" == ___local) && ("" == ___uri)) {
0913: _getCustomPortletMode()
0914: .add(
0915: ((com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl) spawnChildFromEnterAttribute(
0916: (com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl.class),
0917: 11, ___uri, ___local,
0918: ___qname)));
0919: return;
0920: }
0921: break;
0922: case 12:
0923: state = 15;
0924: continue outer;
0925: case 7:
0926: if (("id" == ___local) && ("" == ___uri)) {
0927: _getPortlet()
0928: .add(
0929: ((com.nabhinc.portal.config.impl.PortletTypeImpl) spawnChildFromEnterAttribute(
0930: (com.nabhinc.portal.config.impl.PortletTypeImpl.class),
0931: 8, ___uri, ___local,
0932: ___qname)));
0933: return;
0934: }
0935: break;
0936: case 9:
0937: state = 12;
0938: continue outer;
0939: }
0940: super .enterAttribute(___uri, ___local, ___qname);
0941: break;
0942: }
0943: }
0944:
0945: public void leaveAttribute(java.lang.String ___uri,
0946: java.lang.String ___local, java.lang.String ___qname)
0947: throws org.xml.sax.SAXException {
0948: int attIdx;
0949: outer: while (true) {
0950: switch (state) {
0951: case 18:
0952: state = 21;
0953: continue outer;
0954: case 19:
0955: attIdx = context.getAttribute("", "id");
0956: if (attIdx >= 0) {
0957: context.consumeAttribute(attIdx);
0958: context.getCurrentHandler().leaveAttribute(
0959: ___uri, ___local, ___qname);
0960: return;
0961: }
0962: break;
0963: case 16:
0964: attIdx = context.getAttribute("", "id");
0965: if (attIdx >= 0) {
0966: context.consumeAttribute(attIdx);
0967: context.getCurrentHandler().leaveAttribute(
0968: ___uri, ___local, ___qname);
0969: return;
0970: }
0971: break;
0972: case 2:
0973: if (("id" == ___local) && ("" == ___uri)) {
0974: state = 3;
0975: return;
0976: }
0977: break;
0978: case 0:
0979: attIdx = context.getAttribute("", "id");
0980: if (attIdx >= 0) {
0981: final java.lang.String v = context
0982: .eatAttribute(attIdx);
0983: eatText1(v);
0984: state = 3;
0985: continue outer;
0986: }
0987: state = 3;
0988: continue outer;
0989: case 13:
0990: attIdx = context.getAttribute("", "id");
0991: if (attIdx >= 0) {
0992: context.consumeAttribute(attIdx);
0993: context.getCurrentHandler().leaveAttribute(
0994: ___uri, ___local, ___qname);
0995: return;
0996: }
0997: break;
0998: case 15:
0999: state = 18;
1000: continue outer;
1001: case 6:
1002: state = 9;
1003: continue outer;
1004: case 21:
1005: revertToParentFromLeaveAttribute(___uri, ___local,
1006: ___qname);
1007: return;
1008: case 3:
1009: attIdx = context.getAttribute("", "version");
1010: if (attIdx >= 0) {
1011: final java.lang.String v = context
1012: .eatAttribute(attIdx);
1013: eatText2(v);
1014: state = 6;
1015: continue outer;
1016: }
1017: break;
1018: case 10:
1019: attIdx = context.getAttribute("", "id");
1020: if (attIdx >= 0) {
1021: context.consumeAttribute(attIdx);
1022: context.getCurrentHandler().leaveAttribute(
1023: ___uri, ___local, ___qname);
1024: return;
1025: }
1026: break;
1027: case 12:
1028: state = 15;
1029: continue outer;
1030: case 7:
1031: attIdx = context.getAttribute("", "id");
1032: if (attIdx >= 0) {
1033: context.consumeAttribute(attIdx);
1034: context.getCurrentHandler().leaveAttribute(
1035: ___uri, ___local, ___qname);
1036: return;
1037: }
1038: break;
1039: case 5:
1040: if (("version" == ___local) && ("" == ___uri)) {
1041: state = 6;
1042: return;
1043: }
1044: break;
1045: case 9:
1046: state = 12;
1047: continue outer;
1048: }
1049: super .leaveAttribute(___uri, ___local, ___qname);
1050: break;
1051: }
1052: }
1053:
1054: public void handleText(final java.lang.String value)
1055: throws org.xml.sax.SAXException {
1056: int attIdx;
1057: outer: while (true) {
1058: try {
1059: switch (state) {
1060: case 18:
1061: state = 21;
1062: continue outer;
1063: case 19:
1064: attIdx = context.getAttribute("", "id");
1065: if (attIdx >= 0) {
1066: context.consumeAttribute(attIdx);
1067: context.getCurrentHandler().text(value);
1068: return;
1069: }
1070: break;
1071: case 16:
1072: attIdx = context.getAttribute("", "id");
1073: if (attIdx >= 0) {
1074: context.consumeAttribute(attIdx);
1075: context.getCurrentHandler().text(value);
1076: return;
1077: }
1078: break;
1079: case 0:
1080: attIdx = context.getAttribute("", "id");
1081: if (attIdx >= 0) {
1082: final java.lang.String v = context
1083: .eatAttribute(attIdx);
1084: eatText1(v);
1085: state = 3;
1086: continue outer;
1087: }
1088: state = 3;
1089: continue outer;
1090: case 13:
1091: attIdx = context.getAttribute("", "id");
1092: if (attIdx >= 0) {
1093: context.consumeAttribute(attIdx);
1094: context.getCurrentHandler().text(value);
1095: return;
1096: }
1097: break;
1098: case 15:
1099: state = 18;
1100: continue outer;
1101: case 6:
1102: state = 9;
1103: continue outer;
1104: case 21:
1105: revertToParentFromText(value);
1106: return;
1107: case 3:
1108: attIdx = context.getAttribute("", "version");
1109: if (attIdx >= 0) {
1110: final java.lang.String v = context
1111: .eatAttribute(attIdx);
1112: eatText2(v);
1113: state = 6;
1114: continue outer;
1115: }
1116: break;
1117: case 1:
1118: eatText1(value);
1119: state = 2;
1120: return;
1121: case 10:
1122: attIdx = context.getAttribute("", "id");
1123: if (attIdx >= 0) {
1124: context.consumeAttribute(attIdx);
1125: context.getCurrentHandler().text(value);
1126: return;
1127: }
1128: break;
1129: case 12:
1130: state = 15;
1131: continue outer;
1132: case 4:
1133: eatText2(value);
1134: state = 5;
1135: return;
1136: case 7:
1137: attIdx = context.getAttribute("", "id");
1138: if (attIdx >= 0) {
1139: context.consumeAttribute(attIdx);
1140: context.getCurrentHandler().text(value);
1141: return;
1142: }
1143: break;
1144: case 9:
1145: state = 12;
1146: continue outer;
1147: }
1148: } catch (java.lang.RuntimeException e) {
1149: handleUnexpectedTextException(value, e);
1150: }
1151: break;
1152: }
1153: }
1154:
1155: }
1156:
1157: }
|