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
- Since:
- 1.5.0
- Author:
- Arjen Poutsma
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The prefix used to register the schema namespace in the WSDL. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
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, orschemaCollection
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, orschema
must be set. -
addTypes
public void addTypes(javax.wsdl.Definition definition) throws javax.wsdl.WSDLException - Specified by:
addTypes
in interfaceTypesProvider
- Throws:
javax.wsdl.WSDLException
-