Examples of UniqueContentTypesMethod


Examples of org.codehaus.enunciate.template.freemarker.UniqueContentTypesMethod

    Map<String, SchemaInfo> ns2schema = model.getNamespacesToSchemas();
    Map<String, WsdlInfo> ns2wsdl = model.getNamespacesToWSDLs();

    model.put("prefix", new PrefixMethod());
    model.put("isDefinedGlobally", new IsDefinedGloballyMethod());
    model.setVariable("uniqueContentTypes", new UniqueContentTypesMethod());
    model.put("wadlStylesheetUri", this.wadlStylesheetUri);
    model.put("accessorOverridesAnother", new AccessorOverridesAnotherMethod());
    model.put("qnameForType", new QNameForTypeMethod());
    File artifactDir = getGenerateDir();
    model.setFileOutputDirectory(artifactDir);
View Full Code Here

Examples of org.codehaus.enunciate.template.freemarker.UniqueContentTypesMethod

      }
      String defaultNamespace = getDefaultNamespace();
      if (defaultNamespace == null && model.getNamespacesToSchemas().size() == 1) {
        defaultNamespace = model.getNamespacesToSchemas().keySet().iterator().next();
      }
      model.setVariable("uniqueContentTypes", new UniqueContentTypesMethod());
      model.put("datatypeNameFor", new DatatypeNameForMethod(model, defaultNamespace));
      model.put("facetsToResourceMethods", facetsToResourceMethods);
      model.put("facetsToDocs", facetsToDocs);
      model.put("swaggerDir", artifactDir.getName());
      buildBase(artifactDir);
View Full Code Here

Examples of org.codehaus.enunciate.template.freemarker.UniqueContentTypesMethod

      }

      debug("Documentation title: %s", title);
      model.setVariable("title", title);

      model.setVariable("uniqueContentTypes", new UniqueContentTypesMethod());
      model.setVariable("schemaForNamespace", new SchemaForNamespaceMethod(model.getNamespacesToSchemas()));
      model.setVariable(JsonSchemaForType.NAME, new JsonSchemaForType(model));
      model.setVariable(JsonTypeNameForQualifiedName.NAME, new JsonTypeNameForQualifiedName(model));
      model.put("isDefinedGlobally", new IsDefinedGloballyMethod());
      model.put("includeExampleXml", isIncludeExampleXml());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.