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

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


         particles = sortNamedOuterParticles(particles, (LinkedHashMap<String, QName>)elementNames);
      else Collections.sort((List)particles);

      registerJavaTypeMapping(registerQName, javaType, "complexType", particles, elementNames);

      JBossXSModelGroup group = (JBossXSModelGroup)complexType.getParticle().getTerm();
      group.setParticles(particles);

      if (log.isDebugEnabled())
         log.debug("generateNewType: " + sutils.write(complexType));
      return complexType;
   }
View Full Code Here


      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

         particles = sortNamedOuterParticles(particles, (LinkedHashMap<String, QName>)elementNames);
      else Collections.sort((List)particles);

      registerJavaTypeMapping(registerQName, javaType, "complexType", particles, elementNames);

      JBossXSModelGroup group = (JBossXSModelGroup)complexType.getParticle().getTerm();
      group.setParticles(particles);

      if (log.isDebugEnabled())
         log.debug("generateNewType: " + sutils.write(complexType));
      return complexType;
   }
View Full Code Here

      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

         particles = sortNamedOuterParticles(particles, (LinkedHashMap<String, QName>)elementNames);
      else Collections.sort((List)particles);

      registerJavaTypeMapping(registerQName, javaType, "complexType", particles, elementNames);

      JBossXSModelGroup group = (JBossXSModelGroup)complexType.getParticle().getTerm();
      group.setParticles(particles);

      if (log.isDebugEnabled())
         log.debug("generateNewType: " + sutils.write(complexType));
      return complexType;
   }
View Full Code Here

      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

         particles = sortNamedOuterParticles(particles, (LinkedHashMap<String, QName>)elementNames);
      else Collections.sort((List)particles);

      registerJavaTypeMapping(registerQName, javaType, "complexType", particles, elementNames);

      JBossXSModelGroup group = (JBossXSModelGroup)complexType.getParticle().getTerm();
      group.setParticles(particles);

      if (log.isDebugEnabled())
         log.debug("generateNewType: " + sutils.write(complexType));
      return complexType;
   }
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.