Interface Databinding.Builder
-
- Enclosing interface:
- Databinding
public static interface Databinding.BuilderDatabinding.Builder, created from the DatabindingFactory, is used to configure how a Databinding instance is to be built from this builder.- Author:
- shih-chang.chen@oracle.com
- See Also:
DatabindingFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Databindingbuild()Builds a new Databinding instanceDatabinding.BuilderclassLoader(ClassLoader classLoader)Sets the ClassLoader which is used to load the service endpoint interface, implementation bean, and all the value types.WSDLGeneratorcreateWSDLGenerator()Creates the WSDLGenerator which can be used to generate the WSDL representation of the service endpoint interface of this Databinding object.Databinding.BuilderentityResolver(EntityResolver entityResolver)Deprecated.- no replacement - this was never implemented Sets theEntityResolverfor reading the WSDLDatabinding.Builderfeature(jakarta.xml.ws.WebServiceFeature... features)Sets A list of WebServiceFeaturesDatabinding.BuilderportName(QName portName)Sets the port name of the WSDLDatabinding.Builderproperty(String name, Object value)Sets A property of the Databinding object to be createdDatabinding.BuilderserviceName(QName serviceName)Sets the service name of the WSDLDatabinding.BuildertargetNamespace(String targetNamespace)Sets the targetNamespace of the WSDLDatabinding.BuilderwsdlSource(Source wsdlSource)Deprecated.- no replacement - this was never implemented Sets the WSDL Source where the WSDL can be read fromDatabinding.BuilderwsdlURL(URL wsdlURL)Deprecated.- no replacement - this was never implemented Sets the WSDL URL where the WSDL can be read from
-
-
-
Method Detail
-
targetNamespace
Databinding.Builder targetNamespace(String targetNamespace)
Sets the targetNamespace of the WSDL- Parameters:
targetNamespace- The targetNamespace to set- Returns:
- this Builder instance
-
serviceName
Databinding.Builder serviceName(QName serviceName)
Sets the service name of the WSDL- Parameters:
serviceName- The serviceName to set- Returns:
- this Builder instance
-
portName
Databinding.Builder portName(QName portName)
Sets the port name of the WSDL- Parameters:
portName- The portName to set- Returns:
- this Builder instance
-
wsdlURL
Databinding.Builder wsdlURL(URL 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
Databinding.Builder wsdlSource(Source 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
Databinding.Builder entityResolver(EntityResolver entityResolver)
Deprecated.- no replacement - this was never implemented Sets theEntityResolverfor reading the WSDL- Parameters:
entityResolver- TheEntityResolverto set- Returns:
- this Builder instance
-
classLoader
Databinding.Builder classLoader(ClassLoader 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
Databinding.Builder feature(jakarta.xml.ws.WebServiceFeature... features)
Sets A list of WebServiceFeatures- Parameters:
features- The list of WebServiceFeatures- Returns:
- this Builder instance
-
property
Databinding.Builder property(String name, Object value)
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
-
-