/*
* (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2005.03.04 at 10:20:40 PST
//
package com.nabhinc.portal.config.impl;
public class SecurityRoleRefTypeImpl implements com.nabhinc.portal.config.SecurityRoleRefType, com.sun.xml.bind.JAXBObject, com.nabhinc.portal.config.impl.runtime.UnmarshallableObject, com.nabhinc.portal.config.impl.runtime.XMLSerializable, com.nabhinc.portal.config.impl.runtime.ValidatableObject
{
protected com.sun.xml.bind.util.ListImpl _Description;
protected com.nabhinc.portal.config.RoleLinkType _RoleLink;
protected java.lang.String _RoleName;
protected java.lang.String _Id;
public final static java.lang.Class version = (com.nabhinc.portal.config.impl.JAXBVersion.class);
private static com.sun.msv.grammar.Grammar schemaFragment;
private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
return (com.nabhinc.portal.config.SecurityRoleRefType.class);
}
protected com.sun.xml.bind.util.ListImpl _getDescription() {
if (_Description == null) {
_Description = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
}
return _Description;
}
public java.util.List getDescription() {
return _getDescription();
}
public com.nabhinc.portal.config.RoleLinkType getRoleLink() {
return _RoleLink;
}
public void setRoleLink(com.nabhinc.portal.config.RoleLinkType value) {
_RoleLink = value;
}
public java.lang.String getRoleName() {
return _RoleName;
}
public void setRoleName(java.lang.String value) {
_RoleName = value;
}
public java.lang.String getId() {
return _Id;
}
public void setId(java.lang.String value) {
_Id = value;
}
public com.nabhinc.portal.config.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
return new com.nabhinc.portal.config.impl.SecurityRoleRefTypeImpl.Unmarshaller(context);
}
public void serializeBody(com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
throws org.xml.sax.SAXException
{
int idx1 = 0;
final int len1 = ((_Description == null)? 0 :_Description.size());
while (idx1 != len1) {
context.startElement("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd", "description");
int idx_0 = idx1;
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Description.get(idx_0 ++)), "Description");
context.endNamespaceDecls();
int idx_1 = idx1;
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Description.get(idx_1 ++)), "Description");
context.endAttributes();
context.childAsBody(((com.sun.xml.bind.JAXBObject) _Description.get(idx1 ++)), "Description");
context.endElement();
}
context.startElement("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd", "role-name");
context.endNamespaceDecls();
context.endAttributes();
try {
context.text(((java.lang.String) _RoleName), "RoleName");
} catch (java.lang.Exception e) {
com.nabhinc.portal.config.impl.runtime.Util.handlePrintConversionException(this, e, context);
}
context.endElement();
if (_RoleLink!= null) {
context.startElement("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd", "role-link");
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RoleLink), "RoleLink");
context.endNamespaceDecls();
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RoleLink), "RoleLink");
context.endAttributes();
context.childAsBody(((com.sun.xml.bind.JAXBObject) _RoleLink), "RoleLink");
context.endElement();
}
}
public void serializeAttributes(com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
throws org.xml.sax.SAXException
{
int idx1 = 0;
final int len1 = ((_Description == null)? 0 :_Description.size());
if (_Id!= null) {
context.startAttribute("", "id");
try {
context.text(((java.lang.String) _Id), "Id");
} catch (java.lang.Exception e) {
com.nabhinc.portal.config.impl.runtime.Util.handlePrintConversionException(this, e, context);
}
context.endAttribute();
}
while (idx1 != len1) {
idx1 += 1;
}
}
public void serializeURIs(com.nabhinc.portal.config.impl.runtime.XMLSerializer context)
throws org.xml.sax.SAXException
{
int idx1 = 0;
final int len1 = ((_Description == null)? 0 :_Description.size());
while (idx1 != len1) {
idx1 += 1;
}
}
public java.lang.Class getPrimaryInterface() {
return (com.nabhinc.portal.config.SecurityRoleRefType.class);
}
public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
if (schemaFragment == null) {
schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.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"
+"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
+"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
+"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
+"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar."
+"ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.OneOrMor"
+"eExp\u0000\u0000\u0000\u0000\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\u0002xq\u0000~\u0000\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000ps"
+"r\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tname"
+"Classt\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.gramm"
+"ar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcont"
+"entModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u000ep\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\nq\u0000~"
+"\u0000\u000epsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000"
+"\u0002L\u0000\tnameClassq\u0000~\u0000\u0010xq\u0000~\u0000\u0003q\u0000~\u0000\u000epsr\u00002com.sun.msv.grammar.Expres"
+"sion$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\r\u0001q\u0000~\u0000\u001asr\u0000 com"
+".sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.gram"
+"mar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression"
+"$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u001bq\u0000~\u0000 sr\u0000#com.sun.msv"
+".grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang"
+"/String;L\u0000\fnamespaceURIq\u0000~\u0000\"xq\u0000~\u0000\u001dt\u0000)com.nabhinc.portal.conf"
+"ig.DescriptionTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-elem"
+"entssq\u0000~\u0000\bppsq\u0000~\u0000\u0017q\u0000~\u0000\u000epsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L"
+"\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.ms"
+"v.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype."
+"xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd"
+".ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatat"
+"ypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\"L\u0000\btypeNameq\u0000~\u0000\"L\u0000\nwhi"
+"teSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000"
+" http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.dat"
+"atype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun"
+".msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.su"
+"n.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003p"
+"psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\""
+"L\u0000\fnamespaceURIq\u0000~\u0000\"xpq\u0000~\u00003q\u0000~\u00002sq\u0000~\u0000!t\u0000\u0004typet\u0000)http://www.w"
+"3.org/2001/XMLSchema-instanceq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u000bdescriptiont\u00006htt"
+"p://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsdq\u0000~\u0000 sq\u0000~"
+"\u0000\u000fpp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000(ppsr\u0000\'com.sun.msv.datatype.xsd.FinalCompo"
+"nent\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\nfinalValuexr\u0000\u001ecom.sun.msv.datatype.xsd.Pro"
+"xy\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd/XSDatat"
+"ypeImpl;xq\u0000~\u0000/q\u0000~\u0000@t\u0000\rrole-nameTypeq\u0000~\u00006sr\u0000$com.sun.msv.data"
+"type.xsd.NmtokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\"com.sun.msv.datatype.xsd."
+"TokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.StringType\u0000"
+"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u0000-q\u0000~\u00002t\u0000\u0007NMTOKENq\u0000~\u00006\u0000\u0000\u0000\u0000\u0000q\u0000~"
+"\u00008sq\u0000~\u00009q\u0000~\u0000Mq\u0000~\u0000@sq\u0000~\u0000\bppsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000+q\u0000~\u0000;q\u0000~\u0000 sq\u0000~\u0000!t"
+"\u0000\trole-nameq\u0000~\u0000@sq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u000ep\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\b"
+"ppsq\u0000~\u0000\nq\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000&com.nabhin"
+"c.portal.config.RoleLinkTypeq\u0000~\u0000%sq\u0000~\u0000\bppsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000+q\u0000"
+"~\u0000;q\u0000~\u0000 sq\u0000~\u0000!t\u0000\trole-linkq\u0000~\u0000@q\u0000~\u0000 sq\u0000~\u0000\bppsq\u0000~\u0000\u0017q\u0000~\u0000\u000epsq\u0000~"
+"\u0000(ppsq\u0000~\u0000Kq\u0000~\u00002t\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSp"
+"aceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00005\u0001q\u0000~\u00008sq\u0000~\u00009q\u0000~\u0000dq\u0000~\u00002"
+"sq\u0000~\u0000!t\u0000\u0002idt\u0000\u0000q\u0000~\u0000 sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Cl"
+"osedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash"
+"\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/"
+"grammar/ExpressionPool;xp\u0000\u0000\u0000\u0011\u0001pq\u0000~\u0000\fq\u0000~\u0000&q\u0000~\u0000Oq\u0000~\u0000\\q\u0000~\u0000Bq\u0000~\u0000"
+"\u0007q\u0000~\u0000\u0015q\u0000~\u0000Wq\u0000~\u0000`q\u0000~\u0000\u0016q\u0000~\u0000Xq\u0000~\u0000\tq\u0000~\u0000\u0005q\u0000~\u0000\u0013q\u0000~\u0000Uq\u0000~\u0000Sq\u0000~\u0000\u0006x"));
}
return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
}
public class Unmarshaller
extends com.nabhinc.portal.config.impl.runtime.AbstractUnmarshallingEventHandlerImpl
{
public Unmarshaller(com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context) {
super(context, "-------------");
}
protected Unmarshaller(com.nabhinc.portal.config.impl.runtime.UnmarshallingContext context, int startState) {
this(context);
state = startState;
}
public java.lang.Object owner() {
return com.nabhinc.portal.config.impl.SecurityRoleRefTypeImpl.this;
}
public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
throws org.xml.sax.SAXException
{
int attIdx;
outer:
while (true) {
switch (state) {
case 4 :
attIdx = context.getAttribute("http://www.w3.org/XML/1998/namespace", "lang");
if (attIdx >= 0) {
context.consumeAttribute(attIdx);
context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
return ;
}
break;
case 0 :
attIdx = context.getAttribute("", "id");
if (attIdx >= 0) {
final java.lang.String v = context.eatAttribute(attIdx);
eatText1(v);
state = 3;
continue outer;
}
state = 3;
continue outer;
case 9 :
if (("role-link" == ___local)&&("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
context.pushAttributes(__atts, true);
state = 10;
return ;
}
state = 12;
continue outer;
case 6 :
if (("description" == ___local)&&("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
context.pushAttributes(__atts, true);
state = 4;
return ;
}
if (("role-name" == ___local)&&("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
context.pushAttributes(__atts, true);
state = 7;
return ;
}
break;
case 12 :
revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
return ;
case 3 :
if (("description" == ___local)&&("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
context.pushAttributes(__atts, true);
state = 4;
return ;
}
state = 6;
continue outer;
}
super.enterElement(___uri, ___local, ___qname, __atts);
break;
}
}
private void eatText1(final java.lang.String value)
throws org.xml.sax.SAXException
{
try {
_Id = value;
} catch (java.lang.Exception e) {
handleParseConversionException(e);
}
}
public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
throws org.xml.sax.SAXException
{
int attIdx;
outer:
while (true) {
switch (state) {
case 11 :
if (("role-link" == ___local)&&("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
context.popAttributes();
state = 12;
return ;
}
break;
case 8 :
if (("role-name" == ___local)&&("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
context.popAttributes();
state = 9;
return ;
}
break;
case 5 :
if (("description" == ___local)&&("http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" == ___uri)) {
context.popAttributes();
state = 6;
return ;
}
break;
case 4 :
attIdx = context.getAttribute("http://www.w3.org/XML/1998/namespace", "lang");
if (attIdx >= 0) {
context.consumeAttribute(attIdx);
context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
return ;
}
break;
case 0 :
attIdx = context.getAttribute("", "id");
if (attIdx >= 0) {
final java.lang.String v = context.eatAttribute(attIdx);
eatText1(v);
state = 3;
continue outer;
}
state = 3;
continue outer;
case 9 :
state = 12;
continue outer;
case 12 :
revertToParentFromLeaveElement(___uri, ___local, ___qname);
return ;
case 3 :
state = 6;
continue outer;
}
super.leaveElement(___uri, ___local, ___qname);
break;
}
}
public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
throws org.xml.sax.SAXException
{
int attIdx;
outer:
while (true) {
switch (state) {
case 4 :
if (("lang" == ___local)&&("http://www.w3.org/XML/1998/namespace" == ___uri)) {
_getDescription().add(((com.nabhinc.portal.config.impl.DescriptionTypeImpl) spawnChildFromEnterAttribute((com.nabhinc.portal.config.impl.DescriptionTypeImpl.class), 5, ___uri, ___local, ___qname)));
return ;
}
break;
case 0 :
if (("id" == ___local)&&("" == ___uri)) {
state = 1;
return ;
}
state = 3;
continue outer;
case 9 :
state = 12;
continue outer;
case 12 :
revertToParentFromEnterAttribute(___uri, ___local, ___qname);
return ;
case 3 :
state = 6;
continue outer;
}
super.enterAttribute(___uri, ___local, ___qname);
break;
}
}
public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
throws org.xml.sax.SAXException
{
int attIdx;
outer:
while (true) {
switch (state) {
case 4 :
attIdx = context.getAttribute("http://www.w3.org/XML/1998/namespace", "lang");
if (attIdx >= 0) {
context.consumeAttribute(attIdx);
context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
return ;
}
break;
case 0 :
attIdx = context.getAttribute("", "id");
if (attIdx >= 0) {
final java.lang.String v = context.eatAttribute(attIdx);
eatText1(v);
state = 3;
continue outer;
}
state = 3;
continue outer;
case 9 :
state = 12;
continue outer;
case 12 :
revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
return ;
case 3 :
state = 6;
continue outer;
case 2 :
if (("id" == ___local)&&("" == ___uri)) {
state = 3;
return ;
}
break;
}
super.leaveAttribute(___uri, ___local, ___qname);
break;
}
}
public void handleText(final java.lang.String value)
throws org.xml.sax.SAXException
{
int attIdx;
outer:
while (true) {
try {
switch (state) {
case 4 :
attIdx = context.getAttribute("http://www.w3.org/XML/1998/namespace", "lang");
if (attIdx >= 0) {
context.consumeAttribute(attIdx);
context.getCurrentHandler().text(value);
return ;
}
_getDescription().add(((com.nabhinc.portal.config.impl.DescriptionTypeImpl) spawnChildFromText((com.nabhinc.portal.config.impl.DescriptionTypeImpl.class), 5, value)));
return ;
case 10 :
_RoleLink = ((com.nabhinc.portal.config.impl.RoleLinkTypeImpl) spawnChildFromText((com.nabhinc.portal.config.impl.RoleLinkTypeImpl.class), 11, value));
return ;
case 1 :
eatText1(value);
state = 2;
return ;
case 0 :
attIdx = context.getAttribute("", "id");
if (attIdx >= 0) {
final java.lang.String v = context.eatAttribute(attIdx);
eatText1(v);
state = 3;
continue outer;
}
state = 3;
continue outer;
case 9 :
state = 12;
continue outer;
case 12 :
revertToParentFromText(value);
return ;
case 3 :
state = 6;
continue outer;
case 7 :
eatText2(value);
state = 8;
return ;
}
} catch (java.lang.RuntimeException e) {
handleUnexpectedTextException(value, e);
}
break;
}
}
private void eatText2(final java.lang.String value)
throws org.xml.sax.SAXException
{
try {
_RoleName = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value);
} catch (java.lang.Exception e) {
handleParseConversionException(e);
}
}
}
}
|