Package org.jboss.ws.metadata.wsdl.xmlschema

Examples of org.jboss.ws.metadata.wsdl.xmlschema.JBossXSElementDeclaration


/* 902 */     if (isArray) {
/* 903 */       fieldType = fieldType.getComponentType();
/*     */     }
/* 905 */     xstype = generateType(null, fieldType);
/* 906 */     boolean isNillable = !fieldType.isPrimitive();
/* 907 */     JBossXSElementDeclaration xsel = this.sutils.createXSElementDeclaration(name, xstype, isNillable);
/*     */
/* 909 */     return this.sutils.createXSParticle(targetNS, isArray, xsel);
/*     */   }
View Full Code Here


/* 452 */       type = SchemaUtils.getInstance().getSchemaBasicType(xmlType.getLocalPart());
/*     */     else {
/* 454 */       type = schemaModel.getTypeDefinition(xmlType.getLocalPart(), namespaceURI);
/*     */     }
/* 456 */     WSSchemaUtils utils = WSSchemaUtils.getInstance(schemaModel.getNamespaceRegistry(), null);
/* 457 */     JBossXSElementDeclaration element = utils.createGlobalXSElementDeclaration(xmlName.getLocalPart(), type, xmlName.getNamespaceURI());
/*     */
/* 459 */     schemaModel.addXSElementDeclaration(element);
/*     */
/* 461 */     this.wsdl.registerNamespaceURI(xmlName.getNamespaceURI(), null);
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.ws.metadata.wsdl.xmlschema.JBossXSElementDeclaration

Copyright © 2018 www.massapicom. 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.