Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:15 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: 2007.03.26 at 04:39:11 PM CEST 
  //
  
  
  package org.jvnet.jaxbvalidation.tests.one.impl;
 
 public class PhysicalCSUTypeImpl implements org.jvnet.jaxbvalidation.tests.one.PhysicalCSUType, com.sun.xml.bind.JAXBObject, org.jvnet.jaxbvalidation.tests.one.impl.runtime.UnmarshallableObject, org.jvnet.jaxbvalidation.tests.one.impl.runtime.XMLSerializable, org.jvnet.jaxbvalidation.tests.one.impl.runtime.ValidatableObject
 {
 
     protected java.lang.String _Name;
     public final static java.lang.Class version = (org.jvnet.jaxbvalidation.tests.one.impl.JAXBVersion.class);
     private static com.sun.msv.grammar.Grammar schemaFragment;
 
     private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
         return (org.jvnet.jaxbvalidation.tests.one.PhysicalCSUType.class);
     }
 
         return ;
     }
 
     public void setRefGroup(org.jvnet.jaxbvalidation.tests.one.GroupRef value) {
          = value;
     }
 
     public boolean isSetRefGroup() {
         return (!= null);
     }
 
     public void unsetRefGroup() {
          = null;
     }
 
     public java.lang.String getName() {
         return ;
     }
 
     public void setName(java.lang.String value) {
          = value;
     }
 
     public boolean isSetName() {
         return (!= null);
     }
 
     public void unsetName() {
          = null;
     }
 
         return new org.jvnet.jaxbvalidation.tests.one.impl.PhysicalCSUTypeImpl.Unmarshaller(context);
     }
 
         throws org.xml.sax.SAXException
     {
         context.startElement("""ref-Group");
         context.childAsURIs(((com.sun.xml.bind.JAXBObject) ), "RefGroup");
         context.endNamespaceDecls();
         context.childAsAttributes(((com.sun.xml.bind.JAXBObject) ), "RefGroup");
         context.endAttributes();
         context.childAsBody(((com.sun.xml.bind.JAXBObject) ), "RefGroup");
         context.endElement();
     }
 
         throws org.xml.sax.SAXException
     {
         context.startAttribute("""name");
         try {
             context.text(((java.lang.String), "Name");
         } catch (java.lang.Exception e) {
             org.jvnet.jaxbvalidation.tests.one.impl.runtime.Util.handlePrintConversionException(thisecontext);
         }
         context.endAttribute();
     }
 
         throws org.xml.sax.SAXException
     {
     }
 
     public java.lang.Class getPrimaryInterface() {
         return (org.jvnet.jaxbvalidation.tests.one.PhysicalCSUType.class);
     }
 
     public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
         if ( == null) {
              = 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\u0002xpppsr\u0000\'com.sun.msv.grammar.trex.ElementPatt"
+"ern\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\u001aignoreUndecl"
+"aredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003pp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0006pp\u0000"
+"sr\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.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gramm"
+"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"
+"\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\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\u0007xq\u0000~\u0000\u0003q\u0000~\u0000\u0012psr\u00002com.su"
+"n.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
+"\u0003sq\u0000~\u0000\u0011\u0001q\u0000~\u0000\u0016sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
+"xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.ms"
+"v.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0017"
+"q\u0000~\u0000\u001csr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlo"
+"calNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001exq\u0000~\u0000\u0019t\u0000+org"
+".jvnet.jaxbvalidation.tests.one.GroupReft\u0000+http://java.sun.c"
+"om/jaxb/xjc/dummy-elementssq\u0000~\u0000\fppsq\u0000~\u0000\u0013q\u0000~\u0000\u0012psr\u0000\u001bcom.sun.ms"
+"v.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Da"
+"tatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;"
+"xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.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%co"
+"m.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.ms"
+"v.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001e"
+"L\u0000\btypeNameq\u0000~\u0000\u001eL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/Wh"
+"iteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QN"
+"amesr\u00005com.sun.msv.datatype.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.sun.msv.grammar.Expression$NullSetExpres"
+"sion\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\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001eL\u0000\fnamespaceURIq\u0000~\u0000\u001expq\u0000~\u0000/q\u0000~\u0000.sq\u0000~\u0000\u001d"
+"t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001csq\u0000~"
+"\u0000\u001dt\u0000\tref-Groupt\u0000\u0000sq\u0000~\u0000\u0013ppsq\u0000~\u0000$ppsr\u0000\'com.sun.msv.datatype.xs"
+"d.MaxLengthFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\tmaxLengthxr\u00009com.sun.msv.datat"
+"ype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.s"
+"un.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFi"
+"xedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/"
+"xsd/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/x"
+"sd/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u001exq\u0000~\u0000+q\u0000~\u0000<t\u0000\u0013PhysicalCSUNa"
+"meTypesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Prese"
+"rve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00001\u0000\u0001sr\u0000\'com.sun.msv.datatype.xsd.MinLength"
+"Facet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\tminLengthxq\u0000~\u0000@q\u0000~\u0000<q\u0000~\u0000Eq\u0000~\u0000G\u0000\u0000sr\u0000#com.s"
+"un.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000"
+"~\u0000)q\u0000~\u0000.t\u0000\u0006stringq\u0000~\u0000G\u0001q\u0000~\u0000Kt\u0000\tminLength\u0000\u0000\u0000\u0001q\u0000~\u0000Kt\u0000\tmaxLengt"
+"h\u0000\u0000\u0000\u0005q\u0000~\u00004sq\u0000~\u00005q\u0000~\u0000Eq\u0000~\u0000<sq\u0000~\u0000\u001dt\u0000\u0004nameq\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$ClosedHash;xpsr\u0000-com.sun.msv.grammar."
+"ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersion"
+"L\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0005\u0001pq\u0000~\u0000"
+"\"q\u0000~\u0000\nq\u0000~\u0000\u0010q\u0000~\u0000\u0005q\u0000~\u0000\rx"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration();
    }
    public class Unmarshaller
    {
            super(context"-------");
        }
        protected Unmarshaller(org.jvnet.jaxbvalidation.tests.one.impl.runtime.UnmarshallingContext contextint startState) {
            this(context);
             = startState;
        }
        public java.lang.Object owner() {
            return org.jvnet.jaxbvalidation.tests.one.impl.PhysicalCSUTypeImpl.this;
        }
        public void enterElement(java.lang.String ___urijava.lang.String ___localjava.lang.String ___qnameorg.xml.sax.Attributes __atts)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch () {
                    case  6 :
                        revertToParentFromEnterElement(___uri___local___qname__atts);
                        return ;
                    case  4 :
                        if (("groupName" == ___local)&&("" == ___uri)) {
                             = ((org.jvnet.jaxbvalidation.tests.one.impl.GroupRefImplspawnChildFromEnterElement((org.jvnet.jaxbvalidation.tests.one.impl.GroupRefImpl.class), 5, ___uri___local___qname__atts));
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = .getAttribute("""name");
                        if (attIdx >= 0) {
                            final java.lang.String v = .eatAttribute(attIdx);
                             = 3;
                            eatText1(v);
                            continue outer;
                        }
                        break;
                    case  3 :
                        if (("ref-Group" == ___local)&&("" == ___uri)) {
                            .pushAttributes(__attsfalse);
                             = 4;
                            return ;
                        }
                        break;
                }
                super.enterElement(___uri___local___qname__atts);
                break;
            }
        }
        private void eatText1(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                 = value;
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }
        public void leaveElement(java.lang.String ___urijava.lang.String ___localjava.lang.String ___qname)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch () {
                    case  5 :
                        if (("ref-Group" == ___local)&&("" == ___uri)) {
                            .popAttributes();
                             = 6;
                            return ;
                        }
                        break;
                    case  6 :
                        revertToParentFromLeaveElement(___uri___local___qname);
                        return ;
                    case  0 :
                        attIdx = .getAttribute("""name");
                        if (attIdx >= 0) {
                            final java.lang.String v = .eatAttribute(attIdx);
                             = 3;
                            eatText1(v);
                            continue outer;
                        }
                        break;
                }
                super.leaveElement(___uri___local___qname);
                break;
            }
        }
        public void enterAttribute(java.lang.String ___urijava.lang.String ___localjava.lang.String ___qname)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch () {
                    case  6 :
                        revertToParentFromEnterAttribute(___uri___local___qname);
                        return ;
                    case  0 :
                        if (("name" == ___local)&&("" == ___uri)) {
                             = 1;
                            return ;
                        }
                        break;
                }
                super.enterAttribute(___uri___local___qname);
                break;
            }
        }
        public void leaveAttribute(java.lang.String ___urijava.lang.String ___localjava.lang.String ___qname)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch () {
                    case  6 :
                        revertToParentFromLeaveAttribute(___uri___local___qname);
                        return ;
                    case  2 :
                        if (("name" == ___local)&&("" == ___uri)) {
                             = 3;
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = .getAttribute("""name");
                        if (attIdx >= 0) {
                            final java.lang.String v = .eatAttribute(attIdx);
                             = 3;
                            eatText1(v);
                            continue outer;
                        }
                        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 () {
                        case  1 :
                             = 2;
                            eatText1(value);
                            return ;
                        case  6 :
                            revertToParentFromText(value);
                            return ;
                        case  0 :
                            attIdx = .getAttribute("""name");
                            if (attIdx >= 0) {
                                final java.lang.String v = .eatAttribute(attIdx);
                                 = 3;
                                eatText1(v);
                                continue outer;
                            }
                            break;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(valuee);
                }
                break;
            }
        }
    }
New to GrepCode? Check out our FAQ X