- Enclosing interface:
- Databinding
public static interface Databinding.Builder
Databinding.Builder
, created from the DatabindingFactory, is used to
configure how a Databinding instance is to be built from this builder.- Author:
- [email protected]
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a new Databinding instanceclassLoader
(ClassLoader classLoader) Sets the ClassLoader which is used to load the service endpoint interface, implementation bean, and all the value types.Creates the WSDLGenerator which can be used to generate the WSDL representation of the service endpoint interface of this Databinding object.entityResolver
(EntityResolver entityResolver) Deprecated.feature
(jakarta.xml.ws.WebServiceFeature... features) Sets A list of WebServiceFeaturesSets the port name of the WSDLSets A property of the Databinding object to be createdserviceName
(QName serviceName) Sets the service name of the WSDLtargetNamespace
(String targetNamespace) Sets the targetNamespace of the WSDLwsdlSource
(Source wsdlSource) Deprecated.- no replacement - this was never implemented Sets the WSDL Source where the WSDL can be read fromDeprecated.- no replacement - this was never implemented Sets the WSDL URL where the WSDL can be read from
-
Method Details
-
targetNamespace
Sets the targetNamespace of the WSDL- Parameters:
targetNamespace
- The targetNamespace to set- Returns:
- this Builder instance
-
serviceName
Sets the service name of the WSDL- Parameters:
serviceName
- The serviceName to set- Returns:
- this Builder instance
-
portName
Sets the port name of the WSDL- Parameters:
portName
- The portName to set- Returns:
- this Builder instance
-
wsdlURL
Deprecated.- no replacement - this was never implemented Sets the WSDL URL where the WSDL can be read from- Parameters:
wsdlURL
- The wsdlURL to set- Returns:
- this Builder instance
-
wsdlSource
Deprecated.- no replacement - this was never implemented Sets the WSDL Source where the WSDL can be read from- Parameters:
wsdlSource
- The wsdlSource to set- Returns:
- this Builder instance
-
entityResolver
Deprecated.- no replacement - this was never implemented Sets theEntityResolver
for reading the WSDL- Parameters:
entityResolver
- TheEntityResolver
to set- Returns:
- this Builder instance
-
classLoader
Sets the ClassLoader which is used to load the service endpoint interface, implementation bean, and all the value types. If this value is not set, the default it uses contractClass.getClassLoader().- Parameters:
classLoader
- The classLoader to set- Returns:
- this Builder instance
-
feature
Sets A list of WebServiceFeatures- Parameters:
features
- The list of WebServiceFeatures- Returns:
- this Builder instance
-
property
Sets A property of the Databinding object to be created- Parameters:
name
- The name of the propertyvalue
- The value of the property- Returns:
- this Builder instance
-
build
Databinding build()Builds a new Databinding instance- Returns:
- The Builder instance
-
createWSDLGenerator
WSDLGenerator createWSDLGenerator()Creates the WSDLGenerator which can be used to generate the WSDL representation of the service endpoint interface of this Databinding object.- Returns:
- WSDLGenerator The WSDLGenerator
-
EntityResolver
for reading the WSDL