Package org.apache.ws.jaxme.generator.sg

Examples of org.apache.ws.jaxme.generator.sg.SimpleTypeSGChain


    if (pController.isComplex()) {
      ComplexTypeSGChain chain = (ComplexTypeSGChain) pController.newComplexTypeSG();
      complexTypeSG = new ComplexTypeSGImpl(chain);
      complexTypeSG.init();
    } else {
      SimpleTypeSGChain chain = (SimpleTypeSGChain) pController.newSimpleTypeSG();
      simpleTypeSG = new SimpleTypeSGImpl(chain);
      simpleTypeSG.init();
    }
    log.finest(mName, "<-");
  }
View Full Code Here


                                                     SGFactory pFactory,
                                                     SchemaSG pSchema,
                                                     XSType pType)
      throws SAXException {
    XSSimpleType simpleType = pType.getSimpleType();
    SimpleTypeSGChain result = newSimpleTypeSG(pController, pFactory, pSchema, simpleType.getRestrictedType());
    result = new SimpleTypeRestrictionSG(result, pType, simpleType);
   
    if (simpleType.getEnumerations().length > 0) {
        boolean generateTypesafeEnumClass = false;
        String className = null;
View Full Code Here

    if (!pType.isSimple()) {
      throw new IllegalStateException("Expected a simple type");
    }

    JAXBJavaType javaType = findJavaType(pSchema, pType);
    SimpleTypeSGChain result;
    if (javaType == null  ||  javaType.getName() == null) {
        XSSimpleType simpleType = pType.getSimpleType();
        JavaQName runtimeType;
        if (simpleType.isAtomic()) {
          result = newGlobalAtomicTypeSG(pFactory, pSchema, pType);
View Full Code Here

  public Object newSimpleTypeSG(TypeSG pController) throws SAXException {
    final String mName = "newSimpleTypeSG";
    log.finest(mName, "->");
    SchemaSG schema = pController.getSchema();
    SimpleTypeSGChain result = newSimpleTypeSG(pController, schema.getFactory(), schema, xsType);
    log.finest(mName, "<-", result);
    return result;
  }
View Full Code Here

    if (pController.isComplex()) {
      ComplexTypeSGChain chain = (ComplexTypeSGChain) pController.newComplexTypeSG();
      complexTypeSG = new ComplexTypeSGImpl(chain);
      complexTypeSG.init();
    } else {
      SimpleTypeSGChain chain = (SimpleTypeSGChain) pController.newSimpleTypeSG();
      simpleTypeSG = new SimpleTypeSGImpl(chain);
      simpleTypeSG.init();
    }
    log.finest(mName, "<-");
  }
View Full Code Here

                    myName.equals(XSNCName.getInstance().getName())) {
          return new StringSG(pFactory, pSchema, pType);
        }
      }

      SimpleTypeSGChain result = newSimpleTypeSG(pController, pFactory, pSchema, simpleType.getRestrictedType());

      result = new SimpleTypeRestrictionSG(result, pType, simpleType);

      if (simpleType.getEnumerations().length > 0) {
        boolean generateTypesafeEnumClass = false;
View Full Code Here

  public Object newSimpleTypeSG(TypeSG pController) throws SAXException {
    final String mName = "newSimpleTypeSG";
    log.finest(mName, "->");
    SchemaSG schema = pController.getSchema();
    SimpleTypeSGChain result = newSimpleTypeSG(pController, schema.getFactory(), schema, xsType);
    log.finest(mName, "<-", result);
    return result;
  }
View Full Code Here

    if (pController.isComplex()) {
      ComplexTypeSGChain chain = (ComplexTypeSGChain) pController.newComplexTypeSG();
      complexTypeSG = new ComplexTypeSGImpl(chain);
      complexTypeSG.init();
    } else {
      SimpleTypeSGChain chain = (SimpleTypeSGChain) pController.newSimpleTypeSG();
      simpleTypeSG = new SimpleTypeSGImpl(chain);
      simpleTypeSG.init();
    }
    log.finest(mName, "<-");
  }
View Full Code Here

                    myName.equals(XSNCName.getInstance().getName())) {
          return new StringSG(pFactory, pSchema, pType);
        }
      }

      SimpleTypeSGChain result = newSimpleTypeSG(pController, pFactory, pSchema, simpleType.getRestrictedType());

      result = new SimpleTypeRestrictionSG(result, pType, simpleType);

      if (simpleType.getEnumerations().length > 0) {
        boolean generateTypesafeEnumClass = false;
View Full Code Here

  public Object newSimpleTypeSG(TypeSG pController) throws SAXException {
    final String mName = "newSimpleTypeSG";
    log.finest(mName, "->");
    SchemaSG schema = pController.getSchema();
    SimpleTypeSGChain result = newSimpleTypeSG(pController, schema.getFactory(), schema, xsType);
    log.finest(mName, "<-", result);
    return result;
  }
View Full Code Here

TOP

Related Classes of org.apache.ws.jaxme.generator.sg.SimpleTypeSGChain

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.