Examples of WSSchemaUtils


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

/* 451 */     if ("http://www.w3.org/2001/XMLSchema".equals(namespaceURI))
/* 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
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.