Exemplo n.º 1
0
 protected void generateSimpleTypeClass(Schema schema, File dir) throws IOException {
   for (SimpleType simpleType : schema.getSimpleTypes()) {
     if (!typeMapper.isWellKnownType(
         simpleType.getSchema().getTargetNamespace(), simpleType.getName())) {
       generateClassFromSimpleType(schema, simpleType, dir);
     }
   }
 }
Exemplo n.º 2
0
  protected void generateComplexTypeClass(Types types, Schema schema, File dir) throws IOException {
    for (ComplexType complexType : schema.getComplexTypes()) {

      if (!typeMapper.isWellKnownType(
          complexType.getSchema().getTargetNamespace(), complexType.getName())) {
        generateClassFromComplexType(types, schema, complexType, dir);
      }
    }
  }