Class InliningXsdSchemaTypesProvider

java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.wsdl.wsdl11.provider.InliningXsdSchemaTypesProvider
All Implemented Interfaces:
TypesProvider

public class InliningXsdSchemaTypesProvider extends TransformerObjectSupport implements TypesProvider
Implementation of TypesProvider that inlines a XsdSchema or XsdSchemaCollection into the WSDL.
Since:
1.5.0
Author:
Arjen Poutsma
  • Field Details

    • SCHEMA_PREFIX

      public static final String SCHEMA_PREFIX
      The prefix used to register the schema namespace in the WSDL.
      See Also:
  • Constructor Details

    • InliningXsdSchemaTypesProvider

      public InliningXsdSchemaTypesProvider()
  • Method Details

    • setSchema

      public void setSchema(XsdSchema schema)
      Sets the single XSD schema to inline. Either this property, or schemaCollection must be set.
    • getSchemaCollection

      public XsdSchemaCollection getSchemaCollection()
      Returns the XSD schema collection to inline.
    • setSchemaCollection

      public void setSchemaCollection(XsdSchemaCollection schemaCollection)
      Sets the XSD schema collection to inline. Either this property, or schema must be set.
    • addTypes

      public void addTypes(javax.wsdl.Definition definition) throws javax.wsdl.WSDLException
      Specified by:
      addTypes in interface TypesProvider
      Throws:
      javax.wsdl.WSDLException