//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:08 PM(kohsuke)-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: 2010.11.10 at 07:55:46 PM PST 
//


package org.infoml.jaxb.impl;

public class AgentTypeImpl implements org.infoml.jaxb.AgentType, com.sun.xml.bind.JAXBObject, org.infoml.jaxb.impl.runtime.UnmarshallableObject, org.infoml.jaxb.impl.runtime.XMLSerializable, org.infoml.jaxb.impl.runtime.ValidatableObject
{

    protected com.sun.xml.bind.util.ListImpl _CorporateSuffix;
    protected java.lang.String _CustomRole;
    protected com.sun.xml.bind.util.ListImpl _Middle;
    protected com.sun.xml.bind.util.ListImpl _Suffix;
    protected com.sun.xml.bind.util.ListImpl _ContactInfo;
    protected java.lang.String _Role;
    protected org.infoml.jaxb.NonnullTokenWithSeparatorType _Surname;
    protected com.sun.xml.bind.util.ListImpl _Prefix;
    protected org.infoml.jaxb.NonnullTokenWithSeparatorType _First;
    protected org.infoml.jaxb.SimpleRichTextType _CorporateName;
    public final static java.lang.Class version = (org.infoml.jaxb.impl.JAXBVersion.class);
    private static com.sun.msv.grammar.Grammar schemaFragment;

    private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
        return (org.infoml.jaxb.AgentType.class);
    }

    protected com.sun.xml.bind.util.ListImpl _getCorporateSuffix() {
        if (_CorporateSuffix == null) {
            _CorporateSuffix = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
        }
        return _CorporateSuffix;
    }

    public java.util.List getCorporateSuffix() {
        return _getCorporateSuffix();
    }

    public java.lang.String getCustomRole() {
        return _CustomRole;
    }

    public void setCustomRole(java.lang.String value) {
        _CustomRole = value;
    }

    protected com.sun.xml.bind.util.ListImpl _getMiddle() {
        if (_Middle == null) {
            _Middle = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
        }
        return _Middle;
    }

    public java.util.List getMiddle() {
        return _getMiddle();
    }

    protected com.sun.xml.bind.util.ListImpl _getSuffix() {
        if (_Suffix == null) {
            _Suffix = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
        }
        return _Suffix;
    }

    public java.util.List getSuffix() {
        return _getSuffix();
    }

    protected com.sun.xml.bind.util.ListImpl _getContactInfo() {
        if (_ContactInfo == null) {
            _ContactInfo = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
        }
        return _ContactInfo;
    }

    public java.util.List getContactInfo() {
        return _getContactInfo();
    }

    public java.lang.String getRole() {
        return _Role;
    }

    public void setRole(java.lang.String value) {
        _Role = value;
    }

    public org.infoml.jaxb.NonnullTokenWithSeparatorType getSurname() {
        return _Surname;
    }

    public void setSurname(org.infoml.jaxb.NonnullTokenWithSeparatorType value) {
        _Surname = value;
    }

    protected com.sun.xml.bind.util.ListImpl _getPrefix() {
        if (_Prefix == null) {
            _Prefix = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
        }
        return _Prefix;
    }

    public java.util.List getPrefix() {
        return _getPrefix();
    }

    public org.infoml.jaxb.NonnullTokenWithSeparatorType getFirst() {
        return _First;
    }

    public void setFirst(org.infoml.jaxb.NonnullTokenWithSeparatorType value) {
        _First = value;
    }

    public org.infoml.jaxb.SimpleRichTextType getCorporateName() {
        return _CorporateName;
    }

    public void setCorporateName(org.infoml.jaxb.SimpleRichTextType value) {
        _CorporateName = value;
    }

    public org.infoml.jaxb.impl.runtime.UnmarshallingEventHandler createUnmarshaller(org.infoml.jaxb.impl.runtime.UnmarshallingContext context) {
        return new org.infoml.jaxb.impl.AgentTypeImpl.Unmarshaller(context);
    }

    public void serializeBody(org.infoml.jaxb.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = ((_CorporateSuffix == null)? 0 :_CorporateSuffix.size());
        int idx3 = 0;
        final int len3 = ((_Middle == null)? 0 :_Middle.size());
        int idx4 = 0;
        final int len4 = ((_Suffix == null)? 0 :_Suffix.size());
        int idx5 = 0;
        final int len5 = ((_ContactInfo == null)? 0 :_ContactInfo.size());
        int idx8 = 0;
        final int len8 = ((_Prefix == null)? 0 :_Prefix.size());
        if (((_CorporateName == null)&&(_Surname!= null))&&(((_CorporateSuffix == null)? 0 :_CorporateSuffix.size()) == 0)) {
            while (idx8 != len8) {
                context.startElement("http://infoml.org/infomlFile", "prefix");
                int idx_0 = idx8;
                try {
                    idx_0 += 1;
                } catch (java.lang.Exception e) {
                    org.infoml.jaxb.impl.runtime.Util.handlePrintConversionException(this, e, context);
                }
                context.endNamespaceDecls();
                int idx_1 = idx8;
                try {
                    idx_1 += 1;
                } catch (java.lang.Exception e) {
                    org.infoml.jaxb.impl.runtime.Util.handlePrintConversionException(this, e, context);
                }
                context.endAttributes();
                try {
                    context.text(((java.lang.String) _Prefix.get(idx8 ++)), "Prefix");
                } catch (java.lang.Exception e) {
                    org.infoml.jaxb.impl.runtime.Util.handlePrintConversionException(this, e, context);
                }
                context.endElement();
            }
            if (_First!= null) {
                context.startElement("http://infoml.org/infomlFile", "first");
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _First), "First");
                context.endNamespaceDecls();
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _First), "First");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _First), "First");
                context.endElement();
            }
            while (idx3 != len3) {
                context.startElement("http://infoml.org/infomlFile", "middle");
                int idx_4 = idx3;
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Middle.get(idx_4 ++)), "Middle");
                context.endNamespaceDecls();
                int idx_5 = idx3;
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Middle.get(idx_5 ++)), "Middle");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Middle.get(idx3 ++)), "Middle");
                context.endElement();
            }
            context.startElement("http://infoml.org/infomlFile", "surname");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Surname), "Surname");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Surname), "Surname");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _Surname), "Surname");
            context.endElement();
            while (idx4 != len4) {
                context.startElement("http://infoml.org/infomlFile", "suffix");
                int idx_8 = idx4;
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Suffix.get(idx_8 ++)), "Suffix");
                context.endNamespaceDecls();
                int idx_9 = idx4;
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Suffix.get(idx_9 ++)), "Suffix");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Suffix.get(idx4 ++)), "Suffix");
                context.endElement();
            }
        } else {
            if ((((((_CorporateName!= null)&&(((_Middle == null)? 0 :_Middle.size()) == 0))&&(_Surname == null))&&(_First == null))&&(((_Prefix == null)? 0 :_Prefix.size()) == 0))&&(((_Suffix == null)? 0 :_Suffix.size()) == 0)) {
                context.startElement("http://infoml.org/infomlFile", "corporateName");
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _CorporateName), "CorporateName");
                context.endNamespaceDecls();
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _CorporateName), "CorporateName");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _CorporateName), "CorporateName");
                context.endElement();
                while (idx1 != len1) {
                    context.startElement("http://infoml.org/infomlFile", "corporateSuffix");
                    int idx_12 = idx1;
                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _CorporateSuffix.get(idx_12 ++)), "CorporateSuffix");
                    context.endNamespaceDecls();
                    int idx_13 = idx1;
                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _CorporateSuffix.get(idx_13 ++)), "CorporateSuffix");
                    context.endAttributes();
                    context.childAsBody(((com.sun.xml.bind.JAXBObject) _CorporateSuffix.get(idx1 ++)), "CorporateSuffix");
                    context.endElement();
                }
            }
        }
        while (idx5 != len5) {
            context.startElement("http://infoml.org/infomlFile", "contactInfo");
            int idx_14 = idx5;
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _ContactInfo.get(idx_14 ++)), "ContactInfo");
            context.endNamespaceDecls();
            int idx_15 = idx5;
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _ContactInfo.get(idx_15 ++)), "ContactInfo");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _ContactInfo.get(idx5 ++)), "ContactInfo");
            context.endElement();
        }
    }

    public void serializeAttributes(org.infoml.jaxb.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = ((_CorporateSuffix == null)? 0 :_CorporateSuffix.size());
        int idx3 = 0;
        final int len3 = ((_Middle == null)? 0 :_Middle.size());
        int idx4 = 0;
        final int len4 = ((_Suffix == null)? 0 :_Suffix.size());
        int idx5 = 0;
        final int len5 = ((_ContactInfo == null)? 0 :_ContactInfo.size());
        int idx8 = 0;
        final int len8 = ((_Prefix == null)? 0 :_Prefix.size());
        if (_CustomRole!= null) {
            context.startAttribute("", "customRole");
            try {
                context.text(((java.lang.String) _CustomRole), "CustomRole");
            } catch (java.lang.Exception e) {
                org.infoml.jaxb.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        if (_Role!= null) {
            context.startAttribute("", "role");
            try {
                context.text(((java.lang.String) _Role), "Role");
            } catch (java.lang.Exception e) {
                org.infoml.jaxb.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        if (((_CorporateName == null)&&(_Surname!= null))&&(((_CorporateSuffix == null)? 0 :_CorporateSuffix.size()) == 0)) {
            while (idx8 != len8) {
                try {
                    idx8 += 1;
                } catch (java.lang.Exception e) {
                    org.infoml.jaxb.impl.runtime.Util.handlePrintConversionException(this, e, context);
                }
            }
            while (idx3 != len3) {
                idx3 += 1;
            }
            while (idx4 != len4) {
                idx4 += 1;
            }
        } else {
            if ((((((_CorporateName!= null)&&(((_Middle == null)? 0 :_Middle.size()) == 0))&&(_Surname == null))&&(_First == null))&&(((_Prefix == null)? 0 :_Prefix.size()) == 0))&&(((_Suffix == null)? 0 :_Suffix.size()) == 0)) {
                while (idx1 != len1) {
                    idx1 += 1;
                }
            }
        }
        while (idx5 != len5) {
            idx5 += 1;
        }
    }

    public void serializeURIs(org.infoml.jaxb.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = ((_CorporateSuffix == null)? 0 :_CorporateSuffix.size());
        int idx3 = 0;
        final int len3 = ((_Middle == null)? 0 :_Middle.size());
        int idx4 = 0;
        final int len4 = ((_Suffix == null)? 0 :_Suffix.size());
        int idx5 = 0;
        final int len5 = ((_ContactInfo == null)? 0 :_ContactInfo.size());
        int idx8 = 0;
        final int len8 = ((_Prefix == null)? 0 :_Prefix.size());
        if (((_CorporateName == null)&&(_Surname!= null))&&(((_CorporateSuffix == null)? 0 :_CorporateSuffix.size()) == 0)) {
            while (idx8 != len8) {
                try {
                    idx8 += 1;
                } catch (java.lang.Exception e) {
                    org.infoml.jaxb.impl.runtime.Util.handlePrintConversionException(this, e, context);
                }
            }
            while (idx3 != len3) {
                idx3 += 1;
            }
            while (idx4 != len4) {
                idx4 += 1;
            }
        } else {
            if ((((((_CorporateName!= null)&&(((_Middle == null)? 0 :_Middle.size()) == 0))&&(_Surname == null))&&(_First == null))&&(((_Prefix == null)? 0 :_Prefix.size()) == 0))&&(((_Suffix == null)? 0 :_Suffix.size()) == 0)) {
                while (idx1 != len1) {
                    idx1 += 1;
                }
            }
        }
        while (idx5 != len5) {
            idx5 += 1;
        }
    }

    public java.lang.Class getPrimaryInterface() {
        return (org.infoml.jaxb.AgentType.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\u0001ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000pp"
+"sq\u0000~\u0000\bppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001cc"
+"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"
+"ava.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun.msv.gramm"
+"ar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv"
+"/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
+"\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q"
+"\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002d"
+"tt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dL"
+"com/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\'com.sun.msv.datatype"
+".xsd.MinLengthFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\tminLengthxr\u00009com.sun.msv.da"
+"tatype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*co"
+"m.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFace"
+"tFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/dataty"
+"pe/xsd/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatyp"
+"e/xsd/ConcreteType;L\u0000\tfacetNamet\u0000\u0012Ljava/lang/String;xr\u0000\'com."
+"sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUr"
+"iq\u0000~\u0000\"L\u0000\btypeNameq\u0000~\u0000\"L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/"
+"xsd/WhiteSpaceProcessor;xpt\u0000\u001chttp://infoml.org/infomlFilet\u0000\u0010"
+"nonnullTokenTypesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProce"
+"ssor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSp"
+"aceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0000\u0000sr\u0000\"com.sun.msv.datatype.xsd.Toke"
+"nType\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\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAt"
+"omicType\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\u0000xq\u0000~\u0000#t\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005token"
+"q\u0000~\u0000*\u0001q\u0000~\u0000/t\u0000\tminLength\u0000\u0000\u0000\u0001sr\u00000com.sun.msv.grammar.Expressio"
+"n$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0013psr\u0000\u001bcom.sun.msv.ut"
+"il.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\"L\u0000\fnamespaceURIq\u0000~\u0000"
+"\"xpq\u0000~\u0000\'q\u0000~\u0000&sq\u0000~\u0000\bppsr\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\u0015xq\u0000~\u0000\u0003q\u0000~\u0000\u0013psq\u0000~\u0000\u0019ppsr\u0000\""
+"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000-q\u0000~\u00000t\u0000\u0005Q"
+"Nameq\u0000~\u0000*q\u0000~\u00004sq\u0000~\u00005q\u0000~\u0000=q\u0000~\u00000sr\u0000#com.sun.msv.grammar.Simple"
+"NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\"L\u0000\fnamespaceURIq\u0000~\u0000\"xr\u0000"
+"\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://"
+"www.w3.org/2001/XMLSchema-instancesr\u00000com.sun.msv.grammar.Ex"
+"pression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\u0012\u0001q\u0000~\u0000Esq\u0000~\u0000"
+"?t\u0000\u0006prefixq\u0000~\u0000&q\u0000~\u0000Esq\u0000~\u0000\bppsq\u0000~\u0000\u0014q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq"
+"\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u00008q\u0000~\u0000\u0013psr\u00002com.sun.msv.grammar.Expres"
+"sion$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000Fq\u0000~\u0000Qsr\u0000 com.s"
+"un.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000@q\u0000~\u0000Esq\u0000~\u0000?t\u0000-or"
+"g.infoml.jaxb.NonnullTokenWithSeparatorTypet\u0000+http://java.su"
+"n.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\bppsq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000:q\u0000~\u0000Aq"
+"\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0005firstq\u0000~\u0000&q\u0000~\u0000Esq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u0000\u0014q\u0000~\u0000\u0013p"
+"\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000Qq\u0000~\u0000S"
+"q\u0000~\u0000Esq\u0000~\u0000?q\u0000~\u0000Uq\u0000~\u0000Vsq\u0000~\u0000\bppsq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000:q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~"
+"\u0000?t\u0000\u0006middleq\u0000~\u0000&q\u0000~\u0000Esq\u0000~\u0000\u0014pp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000"
+"\u000fq\u0000~\u0000\u0013psq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000Qq\u0000~\u0000Sq\u0000~\u0000Esq\u0000~\u0000?q\u0000~\u0000Uq\u0000~\u0000Vsq\u0000~\u0000\bppsq"
+"\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000:q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0007surnameq\u0000~\u0000&sq\u0000~\u0000\bppsq\u0000~\u0000\u000f"
+"q\u0000~\u0000\u0013psq\u0000~\u0000\u0014q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~"
+"\u00008q\u0000~\u0000\u0013pq\u0000~\u0000Qq\u0000~\u0000Sq\u0000~\u0000Esq\u0000~\u0000?q\u0000~\u0000Uq\u0000~\u0000Vsq\u0000~\u0000\bppsq\u0000~\u00008q\u0000~\u0000\u0013pq"
+"\u0000~\u0000:q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u0006suffixq\u0000~\u0000&q\u0000~\u0000Esq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq\u0000~"
+"\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000Qq\u0000~\u0000Sq\u0000~\u0000E"
+"sq\u0000~\u0000?t\u0000\"org.infoml.jaxb.SimpleRichTextTypeq\u0000~\u0000Vsq\u0000~\u0000\bppsq\u0000~"
+"\u00008q\u0000~\u0000\u0013pq\u0000~\u0000:q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\rcorporateNameq\u0000~\u0000&sq\u0000~\u0000\bppsq"
+"\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u0000\u0014q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013p"
+"sq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000Qq\u0000~\u0000Sq\u0000~\u0000Esq\u0000~\u0000?t\u0000/org.infoml.jaxb.SimpleRi"
+"chTextWithSeparatorTypeq\u0000~\u0000Vsq\u0000~\u0000\bppsq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000:q\u0000~\u0000Aq\u0000"
+"~\u0000Esq\u0000~\u0000?t\u0000\u000fcorporateSuffixq\u0000~\u0000&q\u0000~\u0000Esq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000"
+"~\u0000\u0014q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0014pp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u00008q\u0000~\u0000\u0013pq"
+"\u0000~\u0000Qq\u0000~\u0000Sq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u001forg.infoml.jaxb.ContactInfoTypeq\u0000~\u0000Vs"
+"q\u0000~\u0000\bppsq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000:q\u0000~\u0000Aq\u0000~\u0000Esq\u0000~\u0000?t\u0000\u000bcontactInfoq\u0000~\u0000&q"
+"\u0000~\u0000Esq\u0000~\u0000\bppsq\u0000~\u00008q\u0000~\u0000\u0013pq\u0000~\u0000\u001csq\u0000~\u0000?t\u0000\ncustomRolet\u0000\u0000q\u0000~\u0000Esq\u0000~"
+"\u0000\bppsq\u0000~\u00008q\u0000~\u0000\u0013psq\u0000~\u0000\u0019ppsr\u0000)com.sun.msv.datatype.xsd.Enumera"
+"tionFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/Set;xq\u0000~\u0000\u001eq\u0000~\u0000&t\u0000"
+"\ragentRoleTypeq\u0000~\u0000*\u0000\u0000q\u0000~\u0000/q\u0000~\u0000/t\u0000\u000benumerationsr\u0000\u0011java.util.H"
+"ashSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000 ?@\u0000\u0000\u0000\u0000\u0000\u0014t\u0000\u0007speakert\u0000\u0006singert\u0000\u0005actor"
+"t\u0000\bdirectort\u0000\u0005agentt\u0000\u000fwriter/directort\u0000\tpublishert\u0000\u0005chairt\u0000\r"
+"series editort\u0000\u0006authort\u0000\u0006editort\u0000\rvolume editort\u0000\u0012executive "
+"producert\u0000\u0007advisort\u0000\bproducert\u0000\tperformert\u0000\bmusiciant\u0000\u000bdistr"
+"ibutort\u0000\fcard creatort\u0000\u0006customxq\u0000~\u00004sq\u0000~\u00005q\u0000~\u0000\u00b4q\u0000~\u0000&sq\u0000~\u0000?t\u0000"
+"\u0004roleq\u0000~\u0000\u00adq\u0000~\u0000Esr\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$Closed"
+"Hash;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/gram"
+"mar/ExpressionPool;xp\u0000\u0000\u00004\u0001pq\u0000~\u0000\u0005q\u0000~\u0000\tq\u0000~\u0000\u00aeq\u0000~\u00007q\u0000~\u0000Wq\u0000~\u0000dq\u0000~"
+"\u0000oq\u0000~\u0000|q\u0000~\u0000\u0089q\u0000~\u0000\u0097q\u0000~\u0000\u00a5q\u0000~\u0000\rq\u0000~\u0000\u00a9q\u0000~\u0000\u0011q\u0000~\u0000\u000bq\u0000~\u0000\u0080q\u0000~\u0000\\q\u0000~\u0000tq\u0000~"
+"\u0000\u008eq\u0000~\u0000\u009cq\u0000~\u0000\fq\u0000~\u0000Nq\u0000~\u0000aq\u0000~\u0000lq\u0000~\u0000yq\u0000~\u0000\u0085q\u0000~\u0000\u0093q\u0000~\u0000\u00a1q\u0000~\u0000\u0007q\u0000~\u0000\u0006q\u0000~"
+"\u0000\u0018q\u0000~\u0000[q\u0000~\u0000Kq\u0000~\u0000^q\u0000~\u0000iq\u0000~\u0000vq\u0000~\u0000sq\u0000~\u0000Mq\u0000~\u0000`q\u0000~\u0000kq\u0000~\u0000xq\u0000~\u0000\u000eq\u0000~"
+"\u0000\u0084q\u0000~\u0000\u0082q\u0000~\u0000\u0092q\u0000~\u0000\u0090q\u0000~\u0000\u008dq\u0000~\u0000\u00a0q\u0000~\u0000\u009eq\u0000~\u0000\u009bq\u0000~\u0000\nq\u0000~\u0000Ix"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

    public class Unmarshaller
        extends org.infoml.jaxb.impl.runtime.AbstractUnmarshallingEventHandlerImpl
    {


        public Unmarshaller(org.infoml.jaxb.impl.runtime.UnmarshallingContext context) {
            super(context, "------------------------------");
        }

        protected Unmarshaller(org.infoml.jaxb.impl.runtime.UnmarshallingContext context, int startState) {
            this(context);
            state = startState;
        }

        public java.lang.Object owner() {
            return org.infoml.jaxb.impl.AgentTypeImpl.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  12 :
                        if (("middle" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 13;
                            return ;
                        }
                        state = 15;
                        continue outer;
                    case  3 :
                        attIdx = context.getAttribute("", "role");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 6;
                            eatText1(v);
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  21 :
                        if (("suffix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 19;
                            return ;
                        }
                        if (("corporateSuffix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 22;
                            return ;
                        }
                        if (("contactInfo" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 24;
                            return ;
                        }
                        state = 26;
                        continue outer;
                    case  18 :
                        if (("suffix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 19;
                            return ;
                        }
                        state = 21;
                        continue outer;
                    case  27 :
                        if (("em" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("strong" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("code" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("a" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("pre" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  19 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  26 :
                        if (("contactInfo" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 24;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  16 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  6 :
                        if (("prefix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 7;
                            return ;
                        }
                        if (("corporateName" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 27;
                            return ;
                        }
                        state = 9;
                        continue outer;
                    case  13 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  9 :
                        if (("prefix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 7;
                            return ;
                        }
                        if (("first" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 10;
                            return ;
                        }
                        state = 12;
                        continue outer;
                    case  29 :
                        if (("corporateSuffix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 22;
                            return ;
                        }
                        state = 21;
                        continue outer;
                    case  24 :
                        if (("localAddress" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("city" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("stateOrProvince" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("postalCode" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("country" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("email" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("phone" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("other" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname, __atts)));
                        return ;
                    case  0 :
                        attIdx = context.getAttribute("", "customRole");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText2(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  22 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        if (("em" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("strong" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("code" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("a" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("pre" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterElement((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                        return ;
                    case  15 :
                        if (("middle" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 13;
                            return ;
                        }
                        if (("surname" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 16;
                            return ;
                        }
                        break;
                    case  10 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

        private void eatText1(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _Role = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value);
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

        private void eatText2(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _CustomRole = com.sun.xml.bind.WhiteSpaceProcessor.collapse(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  28 :
                        if (("corporateName" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 29;
                            return ;
                        }
                        break;
                    case  12 :
                        state = 15;
                        continue outer;
                    case  3 :
                        attIdx = context.getAttribute("", "role");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 6;
                            eatText1(v);
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  21 :
                        state = 26;
                        continue outer;
                    case  18 :
                        state = 21;
                        continue outer;
                    case  27 :
                        _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromLeaveElement((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname));
                        return ;
                    case  19 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  11 :
                        if (("first" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 12;
                            return ;
                        }
                        break;
                    case  26 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  16 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  20 :
                        if (("suffix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 21;
                            return ;
                        }
                        break;
                    case  23 :
                        if (("corporateSuffix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 21;
                            return ;
                        }
                        break;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  13 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  8 :
                        if (("prefix" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 9;
                            return ;
                        }
                        break;
                    case  9 :
                        state = 12;
                        continue outer;
                    case  29 :
                        state = 21;
                        continue outer;
                    case  24 :
                        _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromLeaveElement((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname)));
                        return ;
                    case  0 :
                        attIdx = context.getAttribute("", "customRole");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText2(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  22 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromLeaveElement((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname)));
                        return ;
                    case  17 :
                        if (("surname" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 18;
                            return ;
                        }
                        break;
                    case  25 :
                        if (("contactInfo" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 26;
                            return ;
                        }
                        break;
                    case  10 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  14 :
                        if (("middle" == ___local)&&("http://infoml.org/infomlFile" == ___uri)) {
                            context.popAttributes();
                            state = 15;
                            return ;
                        }
                        break;
                }
                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  12 :
                        state = 15;
                        continue outer;
                    case  3 :
                        if (("role" == ___local)&&("" == ___uri)) {
                            state = 4;
                            return ;
                        }
                        state = 6;
                        continue outer;
                    case  21 :
                        state = 26;
                        continue outer;
                    case  18 :
                        state = 21;
                        continue outer;
                    case  27 :
                        _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname));
                        return ;
                    case  19 :
                        if (("preSeparator" == ___local)&&("" == ___uri)) {
                            _getSuffix().add(((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 20, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                    case  26 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  16 :
                        if (("preSeparator" == ___local)&&("" == ___uri)) {
                            _Surname = ((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 17, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  13 :
                        if (("preSeparator" == ___local)&&("" == ___uri)) {
                            _getMiddle().add(((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 14, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                    case  9 :
                        state = 12;
                        continue outer;
                    case  29 :
                        state = 21;
                        continue outer;
                    case  24 :
                        _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname)));
                        return ;
                    case  0 :
                        if (("customRole" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        state = 3;
                        continue outer;
                    case  22 :
                        if (("preSeparator" == ___local)&&("" == ___uri)) {
                            _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname)));
                            return ;
                        }
                        _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname)));
                        return ;
                    case  10 :
                        if (("preSeparator" == ___local)&&("" == ___uri)) {
                            _First = ((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromEnterAttribute((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 11, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                }
                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  12 :
                        state = 15;
                        continue outer;
                    case  3 :
                        attIdx = context.getAttribute("", "role");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 6;
                            eatText1(v);
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  21 :
                        state = 26;
                        continue outer;
                    case  18 :
                        state = 21;
                        continue outer;
                    case  27 :
                        _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromLeaveAttribute((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, ___uri, ___local, ___qname));
                        return ;
                    case  19 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  26 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  16 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  13 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  9 :
                        state = 12;
                        continue outer;
                    case  29 :
                        state = 21;
                        continue outer;
                    case  24 :
                        _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromLeaveAttribute((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, ___uri, ___local, ___qname)));
                        return ;
                    case  5 :
                        if (("role" == ___local)&&("" == ___uri)) {
                            state = 6;
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "customRole");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText2(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  22 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromLeaveAttribute((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, ___uri, ___local, ___qname)));
                        return ;
                    case  2 :
                        if (("customRole" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  10 :
                        attIdx = context.getAttribute("", "preSeparator");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            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  12 :
                            state = 15;
                            continue outer;
                        case  7 :
                            state = 8;
                            eatText3(value);
                            return ;
                        case  1 :
                            state = 2;
                            eatText2(value);
                            return ;
                        case  3 :
                            attIdx = context.getAttribute("", "role");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                state = 6;
                                eatText1(v);
                                continue outer;
                            }
                            state = 6;
                            continue outer;
                        case  21 :
                            state = 26;
                            continue outer;
                        case  4 :
                            state = 5;
                            eatText1(value);
                            return ;
                        case  18 :
                            state = 21;
                            continue outer;
                        case  27 :
                            _CorporateName = ((org.infoml.jaxb.impl.SimpleRichTextTypeImpl) spawnChildFromText((org.infoml.jaxb.impl.SimpleRichTextTypeImpl.class), 28, value));
                            return ;
                        case  19 :
                            attIdx = context.getAttribute("", "preSeparator");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            _getSuffix().add(((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromText((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 20, value)));
                            return ;
                        case  26 :
                            revertToParentFromText(value);
                            return ;
                        case  16 :
                            attIdx = context.getAttribute("", "preSeparator");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            _Surname = ((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromText((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 17, value));
                            return ;
                        case  6 :
                            state = 9;
                            continue outer;
                        case  13 :
                            attIdx = context.getAttribute("", "preSeparator");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            _getMiddle().add(((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromText((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 14, value)));
                            return ;
                        case  9 :
                            state = 12;
                            continue outer;
                        case  29 :
                            state = 21;
                            continue outer;
                        case  24 :
                            _getContactInfo().add(((org.infoml.jaxb.impl.ContactInfoTypeImpl) spawnChildFromText((org.infoml.jaxb.impl.ContactInfoTypeImpl.class), 25, value)));
                            return ;
                        case  0 :
                            attIdx = context.getAttribute("", "customRole");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                state = 3;
                                eatText2(v);
                                continue outer;
                            }
                            state = 3;
                            continue outer;
                        case  22 :
                            attIdx = context.getAttribute("", "preSeparator");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            _getCorporateSuffix().add(((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl) spawnChildFromText((org.infoml.jaxb.impl.SimpleRichTextWithSeparatorTypeImpl.class), 23, value)));
                            return ;
                        case  10 :
                            attIdx = context.getAttribute("", "preSeparator");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            _First = ((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl) spawnChildFromText((org.infoml.jaxb.impl.NonnullTokenWithSeparatorTypeImpl.class), 11, value));
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

        private void eatText3(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _getPrefix().add(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

    }

}
