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

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


      XSParticle particle = particles.get(0);
      XSTerm term = particle.getTerm();
      if (term.getType() == XSConstants.MODEL_GROUP)
      {
         JBossXSModelGroup group = (JBossXSModelGroup)term;
         XSObjectList list = group.getParticles();
         ArrayList<XSParticle> baseParticles = new ArrayList<XSParticle>();
         for (int i = 0; i < list.getLength(); i++)
            baseParticles.add((XSParticle)list.item(i));

         insertBaseParticle(baseParticles, name, type, targetNS);

         if (baseParticles.size() > list.getLength())
            group.setParticles(baseParticles);
      }
      else
      {
         particles.add(0, getXSParticle(name, type, targetNS));
      }
View Full Code Here


   }

   private JBossXSParticle createGroupParticle(String targetNS, List<XSParticle> memberParticles)
   {
      JBossXSParticle groupParticle = new JBossXSParticle(null, targetNS);
      JBossXSModelGroup group = new JBossXSModelGroup();
      group.setParticles(memberParticles, false);
      groupParticle.setTerm(group);

      return groupParticle;
   }
View Full Code Here

/* 342 */       particles = sortNamedOuterParticles(particles, (LinkedHashMap)elementNames);
/* 343 */     else Collections.sort(particles);
/*     */
/* 345 */     registerJavaTypeMapping(registerQName, javaType, "complexType", particles, elementNames);
/*     */
/* 347 */     JBossXSModelGroup group = (JBossXSModelGroup)complexType.getParticle().getTerm();
/* 348 */     group.setParticles(particles);
/*     */
/* 350 */     if (this.log.isDebugEnabled())
/* 351 */       this.log.debug("generateNewType: " + this.sutils.write(complexType));
/* 352 */     return complexType;
/*     */   }
View Full Code Here

/*     */
/* 798 */     XSParticle particle = (XSParticle)particles.get(0);
/* 799 */     XSTerm term = particle.getTerm();
/* 800 */     if (term.getType() == 7)
/*     */     {
/* 802 */       JBossXSModelGroup group = (JBossXSModelGroup)term;
/* 803 */       XSObjectList list = group.getParticles();
/* 804 */       ArrayList baseParticles = new ArrayList();
/* 805 */       for (int i = 0; i < list.getLength(); i++) {
/* 806 */         baseParticles.add((XSParticle)list.item(i));
/*     */       }
/* 808 */       insertBaseParticle(baseParticles, name, type, targetNS);
/*     */
/* 810 */       if (baseParticles.size() > list.getLength())
/* 811 */         group.setParticles(baseParticles);
/*     */     }
/*     */     else
/*     */     {
/* 815 */       particles.add(0, getXSParticle(name, type, targetNS));
/*     */     }
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.JBossXSModelGroup

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.