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

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


         {
            log.warn("JAX-RPC does not allow collection types skipping field: " + javaType.getName() + "." + field.getName());
            continue;
         }

         JBossXSParticle particle = createFieldParticle(typeNamespace, field.getName(), field.getType(), elementNames);
         particles.add(particle);
      }

      return particles;
   }
View Full Code Here


            name = xst.getName() + ".Array";
            namespace = getNamespace(componentType, xst.getNamespace());
         }
      }

      JBossXSParticle xsp = new JBossXSParticle();
      xsp.setTerm(sutils.createXSElementDeclaration("value", xst, !componentType.isPrimitive()));
      xsp.setMaxOccurs(-1);
      List<XSParticle> particles = new ArrayList<XSParticle>();
      particles.add(xsp);

      JBossXSComplexTypeDefinition complex = sutils.createXSComplexTypeDefinition(name, null, particles, namespace);
      xsModel.addXSComplexTypeDefinition(complex);
View Full Code Here

         //Check if the property conflicts with a public member variable
         if (utils.doesPublicFieldExist(javaType, fieldname))
            throw new WSException("Class " + javaType.getName() + " has a public field & property :" + fieldname);

         JBossXSParticle particle = createFieldParticle(typeNamespace, fieldname, fieldType, elementNames);
         xsparts.add(particle);
      }

      return xsparts;
   }
View Full Code Here

         // referenced in the complex type.
         xsel = sutils.createGlobalXSElementDeclaration(fieldName, xst, elementNamespace);
         xsModel.addXSElementDeclaration(xsel);
      }

      JBossXSParticle particle = sutils.createXSParticle(typeNamespace, isArray, xsel);
      return particle;
   }
View Full Code Here

         //Just add the particles from this basetype as a ModelGroup sequence
         XSParticle part = ((XSComplexTypeDefinition)baseType).getParticle();
         XSTerm term = part.getTerm();
         if (term instanceof XSModelGroup)
         {
            JBossXSParticle p = new JBossXSParticle();
            p.setTerm(term);
            xsparts.add(p);
         }
      }
   }
View Full Code Here

      for (String name : sortedGetters.keySet())
      {
         Class type = sortedGetters.get(name);
         types.add(type);
         JBossXSParticle particle = createFieldParticle(typeNamespace, name, type, null);
         particles.add(particle);
      }
   }
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

         {
            log.warn("JAX-RPC does not allow collection types skipping field: " + javaType.getName() + "." + field.getName());
            continue;
         }

         JBossXSParticle particle = createFieldParticle(typeNamespace, field.getName(), field.getType(), elementNames);
         particles.add(particle);
      }

      return particles;
   }
View Full Code Here

            name = xst.getName() + ".Array";
            namespace = xst.getNamespace();
         }
      }

      JBossXSParticle xsp = new JBossXSParticle();
      xsp.setTerm(sutils.createXSElementDeclaration("value", xst, !componentType.isPrimitive()));
      xsp.setMaxOccurs(-1);
      List<XSParticle> particles = new ArrayList<XSParticle>();
      particles.add(xsp);

      JBossXSComplexTypeDefinition complex = sutils.createXSComplexTypeDefinition(name, null, particles, namespace);
      xsModel.addXSComplexTypeDefinition(complex);
View Full Code Here

         //Check if the property conflicts with a public member variable
         if (utils.doesPublicFieldExist(javaType, fieldname))
            throw new WSException("Class " + javaType.getName() + " has a public field & property :" + fieldname);

         JBossXSParticle particle = createFieldParticle(typeNamespace, fieldname, fieldType, elementNames);
         xsparts.add(particle);
      }

      return xsparts;
   }
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.