Examples of scd()


Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

                Bindings group = bindings.bindings();
                String tns = e.getKey().getTargetNamespace();
                if(!tns.equals(""))
                    group._namespace(tns,"tns");

                group.scd("x-schema::"+(tns.equals("")?"":"tns"));
                group.schemaBindings().map(false);

                for (ClassOutline co : e.getValue()) {
                    Bindings child = group.bindings();
                    child.scd(co.target.getSchemaComponent().apply(SCD));
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

                group.scd("x-schema::"+(tns.equals("")?"":"tns"));
                group.schemaBindings().map(false);

                for (ClassOutline co : e.getValue()) {
                    Bindings child = group.bindings();
                    child.scd(co.target.getSchemaComponent().apply(SCD));
                    child.klass().ref(co.implClass.fullName());
                }
                group.commit(true);
            }
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

                prefix = "tns:";
            } else {
                prefix = "";
            }

            group.scd("x-schema::"+(tns.equals("")?"":"tns"));
            group.schemaBindings().map(false);

            for (ClassInfo<T,C> ci : e.getValue().classes) {
                if(ci.getTypeName()==nullcontinue;   // local type
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

            for (ClassInfo<T,C> ci : e.getValue().classes) {
                if(ci.getTypeName()==nullcontinue;   // local type

                if(ci.getTypeName().getNamespaceURI().equals(tns)) {
                    Bindings child = group.bindings();
                    child.scd('~'+prefix+ci.getTypeName().getLocalPart());
                    child.klass().ref(ci.getName());
                }

                if(ci.isElement() && ci.getElementName().getNamespaceURI().equals(tns)) {
                    Bindings child = group.bindings();
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

                    child.klass().ref(ci.getName());
                }

                if(ci.isElement() && ci.getElementName().getNamespaceURI().equals(tns)) {
                    Bindings child = group.bindings();
                    child.scd(prefix+ci.getElementName().getLocalPart());
                    child.klass().ref(ci.getName());
                }
            }

            for (EnumLeafInfo<T,C> en : e.getValue().enums) {
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

            for (EnumLeafInfo<T,C> en : e.getValue().enums) {
                if(en.getTypeName()==nullcontinue;   // local type

                Bindings child = group.bindings();
                child.scd('~'+prefix+en.getTypeName().getLocalPart());
                child.klass().ref(navigator.getClassName(en.getClazz()));
            }

            group.commit(true);
        }
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

/*  374 */         prefix = "tns:";
/*      */       } else {
/*  376 */         prefix = "";
/*      */       }
/*      */
/*  379 */       group.scd("x-schema::" + (tns.equals("") ? "" : "tns"));
/*  380 */       group.schemaBindings().map(false);
/*      */
/*  382 */       for (ClassInfo ci : ((Namespace)e.getValue()).classes) {
/*  383 */         if (ci.getTypeName() == null)
/*      */           continue;
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

/*  382 */       for (ClassInfo ci : ((Namespace)e.getValue()).classes) {
/*  383 */         if (ci.getTypeName() == null)
/*      */           continue;
/*  385 */         if (ci.getTypeName().getNamespaceURI().equals(tns)) {
/*  386 */           Bindings child = group.bindings();
/*  387 */           child.scd('~' + prefix + ci.getTypeName().getLocalPart());
/*  388 */           child.klass().ref(ci.getName());
/*      */         }
/*      */
/*  391 */         if ((ci.isElement()) && (ci.getElementName().getNamespaceURI().equals(tns))) {
/*  392 */           Bindings child = group.bindings();
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

/*  388 */           child.klass().ref(ci.getName());
/*      */         }
/*      */
/*  391 */         if ((ci.isElement()) && (ci.getElementName().getNamespaceURI().equals(tns))) {
/*  392 */           Bindings child = group.bindings();
/*  393 */           child.scd(prefix + ci.getElementName().getLocalPart());
/*  394 */           child.klass().ref(ci.getName());
/*      */         }
/*      */       }
/*      */
/*  398 */       for (EnumLeafInfo en : ((Namespace)e.getValue()).enums) {
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.episode.Bindings.scd()

/*      */
/*  398 */       for (EnumLeafInfo en : ((Namespace)e.getValue()).enums) {
/*  399 */         if (en.getTypeName() == null)
/*      */           continue;
/*  401 */         Bindings child = group.bindings();
/*  402 */         child.scd('~' + prefix + en.getTypeName().getLocalPart());
/*  403 */         child.klass().ref(this.navigator.getClassName(en.getClazz()));
/*      */       }
/*      */
/*  406 */       group.commit(true);
/*      */     }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.