Spring Web Services Framework

org.springframework.ws.wsdl.wsdl11.provider
Class InliningXsdSchemaTypesProvider

java.lang.Object
  extended by org.springframework.xml.transform.TransformerObjectSupport
      extended by 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 Summary
static String SCHEMA_PREFIX
          The prefix used to register the schema namespace in the WSDL.
 
Constructor Summary
InliningXsdSchemaTypesProvider()
           
 
Method Summary
 void addTypes(Definition definition)
           
 XsdSchemaCollection getSchemaCollection()
          Returns the XSD schema collection to inline.
 void setSchema(XsdSchema schema)
          Sets the single XSD schema to inline.
 void setSchemaCollection(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 Detail

SCHEMA_PREFIX

public static final String SCHEMA_PREFIX
The prefix used to register the schema namespace in the WSDL.

See Also:
Constant Field Values
Constructor Detail

InliningXsdSchemaTypesProvider

public InliningXsdSchemaTypesProvider()
Method Detail

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(Definition definition)
              throws WSDLException
Specified by:
addTypes in interface TypesProvider
Throws:
WSDLException

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.