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

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


/*     */       {
/* 545 */         this.log.warn("JAX-RPC does not allow collection types skipping field: " + javaType.getName() + "." + field.getName());
/*     */       }
/*     */       else
/*     */       {
/* 549 */         JBossXSParticle particle = createFieldParticle(typeNamespace, field.getName(), field.getType(), elementNames);
/* 550 */         particles.add(particle);
/*     */       }
/*     */     }
/* 553 */     return particles;
/*     */   }
View Full Code Here


/* 581 */         name = xst.getName() + ".Array";
/* 582 */         namespace = xst.getNamespace();
/*     */       }
/*     */     }
/*     */
/* 586 */     JBossXSParticle xsp = new JBossXSParticle();
/* 587 */     xsp.setTerm(this.sutils.createXSElementDeclaration("value", xst, !componentType.isPrimitive()));
/* 588 */     xsp.setMaxOccurs(-1);
/* 589 */     List particles = new ArrayList();
/* 590 */     particles.add(xsp);
/*     */
/* 592 */     JBossXSComplexTypeDefinition complex = this.sutils.createXSComplexTypeDefinition(name, null, particles, namespace);
/* 593 */     this.xsModel.addXSComplexTypeDefinition(complex);
View Full Code Here

/*     */         else
/*     */         {
/* 632 */           if (this.utils.doesPublicFieldExist(javaType, fieldname)) {
/* 633 */             throw new WSException("Class " + javaType.getName() + " has a public field & property :" + fieldname);
/*     */           }
/* 635 */           JBossXSParticle particle = createFieldParticle(typeNamespace, fieldname, fieldType, elementNames);
/* 636 */           xsparts.add(particle);
/*     */         }
/*     */       }
/*     */     }
/* 639 */     return xsparts;
View Full Code Here

/*     */       }
/* 693 */       XSParticle part = ((XSComplexTypeDefinition)baseType).getParticle();
/* 694 */       XSTerm term = part.getTerm();
/* 695 */       if ((term instanceof XSModelGroup))
/*     */       {
/* 697 */         JBossXSParticle p = new JBossXSParticle();
/* 698 */         p.setTerm(term);
/* 699 */         xsparts.add(p);
/*     */       }
/*     */     }
/*     */   }
View Full Code Here

/*     */
/* 878 */     for (String name : sortedGetters.keySet())
/*     */     {
/* 880 */       Class type = (Class)sortedGetters.get(name);
/* 881 */       types.add(type);
/* 882 */       JBossXSParticle particle = createFieldParticle(typeNamespace, name, type, null);
/* 883 */       particles.add(particle);
/*     */     }
/*     */   }
View Full Code Here

/*     */     }
/*     */   }
/*     */
/*     */   private JBossXSParticle createGroupParticle(String targetNS, List<XSParticle> memberParticles)
/*     */   {
/* 889 */     JBossXSParticle groupParticle = new JBossXSParticle(null, targetNS);
/* 890 */     JBossXSModelGroup group = new JBossXSModelGroup();
/* 891 */     group.setParticles(memberParticles, false);
/* 892 */     groupParticle.setTerm(group);
/*     */
/* 894 */     return groupParticle;
/*     */   }
View Full Code Here

TOP

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

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.