Examples of complexType()


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

                if(nillable)
                    e.nillable(true);
                if(type!=null) {
                    writeTypeRef(e,type, "type");
                } else {
                    e.complexType();    // refer to the nested empty complex type
                }
                e.commit();
            }

            public boolean equals(Object o) {
View Full Code Here

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

                if(nillable)
                    e.nillable(true);
                if(type!=null) {
                    writeTypeRef(e,type, "type");
                } else {
                    e.complexType();    // refer to the nested empty complex type
                }
                e.commit();
            }

            public boolean equals(Object o) {
View Full Code Here

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

                if(nillable)
                    e.nillable(true);
                if(type!=null) {
                    writeTypeRef(e,type, "type");
                } else {
                    e.complexType();    // refer to the nested empty complex type
                }
                e.commit();
            }

            public boolean equals(Object o) {
View Full Code Here

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

/* 1310 */         if (this.nillable)
/* 1311 */           e.nillable(true);
/* 1312 */         if (this.type != null)
/* 1313 */           XmlSchemaGenerator.Namespace.this.writeTypeRef(e, this.type, "type");
/*      */         else {
/* 1315 */           e.complexType();
/*      */         }
/* 1317 */         e.commit();
/*      */       }
/*      */
/*      */       public boolean equals(Object o) {
View Full Code Here

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

                if(nillable)
                    e.nillable(true);
                if (type != null) {
                    writeTypeRef(e,type, "type");
                } else {
                    e.complexType();    // refer to the nested empty complex type
                }
                e.commit();
            }

            public boolean equals(Object o) {
View Full Code Here

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

                if(nillable)
                    e.nillable(true);
                if (type != null) {
                    writeTypeRef(e,type, "type");
                } else {
                    e.complexType();    // refer to the nested empty complex type
                }
                e.commit();
            }

            public boolean equals(Object o) {
View Full Code Here

Examples of com.sun.xml.internal.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.internal.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.internal.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.internal.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
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.