Examples of complexType()


Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

                    // TODO: entry, key, and value are always unqualified. that needs to be fixed, too.
                    // TODO: we need to generate the corresponding element declaration, if they are qualified
                    e = p.sequence().element();
                    e.name("entry").minOccurs(0).maxOccurs("unbounded");

                    ExplicitGroup seq = e.complexType().sequence();
                    writeKeyOrValue(seq, "key", mp.getKeyType());
                    writeKeyOrValue(seq, "value", mp.getValueType());
                }
            };
        }
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

                        if(ep.isCollectionNillable()) {
                            e.nillable(true);
                        }
                        writeOccurs(e,!ep.isCollectionRequired(),repeated);

                        ComplexType p = e.complexType();
                        choice.write(p);
                    }
                };
            } else {// non-wrapped
                return choice;
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

                        elementFormDefault.writeForm(e,ename);
                        if(rp.isCollectionNillable())
                            e.nillable(true);
                        writeOccurs(e,true,repeated);

                        ComplexType p = e.complexType();
                        choice.write(p);
                    }
                };
            } else { // unwrapped
                return choice;
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

                    if(mp.isCollectionNillable())
                        e.nillable(true);

                    e = e.name(ename.getLocalPart());
                    writeOccurs(e,isOptional,repeated);
                    ComplexType p = e.complexType();

                    // TODO: entry, key, and value are always unqualified. that needs to be fixed, too.
                    // TODO: we need to generate the corresponding element declaration, if they are qualified
                    e = p.sequence().element();
                    e.name("entry").minOccurs(0).maxOccurs("unbounded");
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

                    // TODO: entry, key, and value are always unqualified. that needs to be fixed, too.
                    // TODO: we need to generate the corresponding element declaration, if they are qualified
                    e = p.sequence().element();
                    e.name("entry").minOccurs(0).maxOccurs("unbounded");

                    ExplicitGroup seq = e.complexType().sequence();
                    writeKeyOrValue(seq, "key", mp.getKeyType());
                    writeKeyOrValue(seq, "value", mp.getValueType());
                }
            };
        }
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

/* 1038 */             if (this.val$ep.isCollectionNillable()) {
/* 1039 */               e.nillable(true);
/*      */             }
/* 1041 */             writeOccurs(e, !this.val$ep.isCollectionRequired(), repeated);
/*      */
/* 1043 */             ComplexType p = e.complexType();
/* 1044 */             this.val$choice.write(p);
/*      */           }
/*      */         };
/* 1048 */       return choice;
/*      */     }
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

/* 1206 */             XmlSchemaGenerator.Namespace.this.elementFormDefault.writeForm(e, this.val$ename);
/* 1207 */             if (this.val$rp.isCollectionNillable())
/* 1208 */               e.nillable(true);
/* 1209 */             writeOccurs(e, true, repeated);
/*      */
/* 1211 */             ComplexType p = e.complexType();
/* 1212 */             this.val$choice.write(p);
/*      */           }
/*      */         };
/* 1216 */       return choice;
/*      */     }
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

/* 1233 */           if (this.val$mp.isCollectionNillable()) {
/* 1234 */             e.nillable(true);
/*      */           }
/* 1236 */           e = e.name(ename.getLocalPart());
/* 1237 */           writeOccurs(e, isOptional, repeated);
/* 1238 */           ComplexType p = e.complexType();
/*      */
/* 1242 */           e = p.sequence().element();
/* 1243 */           e.name("entry").minOccurs(0).maxOccurs("unbounded");
/*      */
/* 1245 */           ExplicitGroup seq = e.complexType().sequence();
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

/* 1238 */           ComplexType p = e.complexType();
/*      */
/* 1242 */           e = p.sequence().element();
/* 1243 */           e.name("entry").minOccurs(0).maxOccurs("unbounded");
/*      */
/* 1245 */           ExplicitGroup seq = e.complexType().sequence();
/* 1246 */           XmlSchemaGenerator.Namespace.this.writeKeyOrValue(seq, "key", this.val$mp.getKeyType());
/* 1247 */           XmlSchemaGenerator.Namespace.this.writeKeyOrValue(seq, "value", this.val$mp.getValueType());
/*      */         } } ;
/*      */     }
/*      */
View Full Code Here

Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.complexType()

                        if(ep.isCollectionNillable()) {
                            e.nillable(true);
                        }
                        writeOccurs(e,!ep.isCollectionRequired(),repeated);

                        ComplexType p = e.complexType();
                        choice.write(p);
                    }
                };
            } else {// non-wrapped
                return choice;
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.