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 org.springframework.xml.transform.TransformerObjectSupport implements TypesProvider
Implementation of TypesProvider that inlines a XsdSchema or XsdSchemaCollection into the WSDL.
Since:
1.5.0
Author:
Arjen Poutsma
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The prefix used to register the schema namespace in the WSDL.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTypes(javax.wsdl.Definition definition)
     
    org.springframework.xml.xsd.XsdSchemaCollection
    Returns the XSD schema collection to inline.
    void
    setSchema(org.springframework.xml.xsd.XsdSchema schema)
    Sets the single XSD schema to inline.
    void
    setSchemaCollection(org.springframework.xml.xsd.XsdSchemaCollection schemaCollection)
    Sets the XSD schema collection to inline.

    Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport

    createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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(org.springframework.xml.xsd.XsdSchema schema)
      Sets the single XSD schema to inline. Either this property, or schemaCollection must be set.
    • getSchemaCollection

      public org.springframework.xml.xsd.XsdSchemaCollection getSchemaCollection()
      Returns the XSD schema collection to inline.
    • setSchemaCollection

      public void setSchemaCollection(org.springframework.xml.xsd.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