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;
 
 {
 
     protected java.lang.String _Mode;
     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.RadarSSRModeType.class);
     }
 
     public java.lang.String getMode() {
         return ;
     }
 
     public void setMode(java.lang.String value) {
          = value;
     }
 
     public boolean isSetMode() {
         return (!= null);
     }
 
     public void unsetMode() {
          = null;
     }
 
         return new org.jvnet.jaxbvalidation.tests.one.impl.RadarSSRModeTypeImpl.Unmarshaller(context);
     }
 
         throws org.xml.sax.SAXException
     {
     }
 
         throws org.xml.sax.SAXException
     {
         context.startAttribute("""mode");
         try {
             context.text(((java.lang.String), "Mode");
         } 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.RadarSSRModeType.class);
     }
 
     public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
         if ( == null) {
              = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
  "\u00ac\u00ed\u0000\u0005sr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expt\u0000 "
 +"Lcom/sun/msv/grammar/Expression;L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/"
 +"grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O"
 +"\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedEx"
 +"pq\u0000~\u0000\u0001xpppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001f"
 +"Lorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0001L\u0000\u0004namet\u0000\u001dLcom/"
 +"sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000)com.sun.msv.datatype.xsd"
 +".EnumerationFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/Set;xr\u00009c"
 +"om.sun.msv.datatype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro"
 +"\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
 +"\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/s"
 +"un/msv/datatype/xsd/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/su"
 +"n/msv/datatype/xsd/ConcreteType;L\u0000\tfacetNamet\u0000\u0012Ljava/lang/St"
 +"ring;xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L"
 +"\u0000\fnamespaceUriq\u0000~\u0000\u0010L\u0000\btypeNameq\u0000~\u0000\u0010L\u0000\nwhiteSpacet\u0000.Lcom/sun/"
 +"msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000\u0000t\u0000\u000bSSRModeTypesr\u00005"
 +"com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\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\u0000xp\u0000\u0000sr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\r"
 +"isAlwaysValidxr\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\u0000xq\u0000~\u0000\u0011t\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringq\u0000~\u0000\u0018\u0001q\u0000"
 +"~\u0000\u001ct\u0000\u000benumerationsr\u0000\u0011java.util.HashSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000\u0010?@\u0000"
 +"\u0000\u0000\u0000\u0000\u0005t\u0000\u0001At\u0000\u00012t\u0000\u0001Ct\u0000\u0001Bt\u0000\u00011xsr\u00000com.sun.msv.grammar.Expression"
 +"$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003ppsr\u0000\u001bcom.sun.msv.util.St"
 +"ringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0010L\u0000\fnamespaceURIq\u0000~\u0000\u0010xpq\u0000"
 +"~\u0000\u0015q\u0000~\u0000\u0014sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000"
 +"\tlocalNameq\u0000~\u0000\u0010L\u0000\fnamespaceURIq\u0000~\u0000\u0010xr\u0000\u001dcom.sun.msv.grammar.N"
 +"ameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004modeq\u0000~\u0000\u0014sr\u0000\"com.sun.msv.grammar.Exp"
+"ressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Exp"
+"ressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionP"
+"ool$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\u0000\u0001px"));
        }
        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.RadarSSRModeTypeImpl.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  0 :
                        attIdx = .getAttribute("""mode");
                        if (attIdx >= 0) {
                            final java.lang.String v = .eatAttribute(attIdx);
                             = 3;
                            eatText1(v);
                            continue outer;
                        }
                        break;
                    case  3 :
                        revertToParentFromEnterElement(___uri___local___qname__atts);
                        return ;
                }
                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  0 :
                        attIdx = .getAttribute("""mode");
                        if (attIdx >= 0) {
                            final java.lang.String v = .eatAttribute(attIdx);
                             = 3;
                            eatText1(v);
                            continue outer;
                        }
                        break;
                    case  3 :
                        revertToParentFromLeaveElement(___uri___local___qname);
                        return ;
                }
                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  0 :
                        if (("mode" == ___local)&&("" == ___uri)) {
                             = 1;
                            return ;
                        }
                        break;
                    case  3 :
                        revertToParentFromEnterAttribute(___uri___local___qname);
                        return ;
                }
                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  0 :
                        attIdx = .getAttribute("""mode");
                        if (attIdx >= 0) {
                            final java.lang.String v = .eatAttribute(attIdx);
                             = 3;
                            eatText1(v);
                            continue outer;
                        }
                        break;
                    case  3 :
                        revertToParentFromLeaveAttribute(___uri___local___qname);
                        return ;
                    case  2 :
                        if (("mode" == ___local)&&("" == ___uri)) {
                             = 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 () {
                        case  0 :
                            attIdx = .getAttribute("""mode");
                            if (attIdx >= 0) {
                                final java.lang.String v = .eatAttribute(attIdx);
                                 = 3;
                                eatText1(v);
                                continue outer;
                            }
                            break;
                        case  1 :
                             = 2;
                            eatText1(value);
                            return ;
                        case  3 :
                            revertToParentFromText(value);
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(valuee);
                }
                break;
            }
        }
    }
New to GrepCode? Check out our FAQ X