Class SubmissionEndpointReferenceBuilder
- java.lang.Object
-
- org.apache.axis2.jaxws.addressing.SubmissionEndpointReferenceBuilder
-
public final class SubmissionEndpointReferenceBuilder extends Object
This class can be used to create instances ofSubmissionEndpointReference
.- See Also:
W3CEndpointReferenceBuilder
-
-
Constructor Summary
Constructors Constructor Description SubmissionEndpointReferenceBuilder()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubmissionEndpointReferenceBuilder
address(String address)
Add the address URI to use.SubmissionEndpointReference
build()
Construct an instance ofEndpointReference
based on the values specified.SubmissionEndpointReferenceBuilder
endpointName(QName endpointName)
Add the WSDL port name of the endpoint that the endpoint reference will target.SubmissionEndpointReferenceBuilder
portType(QName portType)
Add the name of the WSDL port type.SubmissionEndpointReferenceBuilder
referenceParameter(Element referenceParameter)
Add reference parameters.SubmissionEndpointReferenceBuilder
referenceProperty(Element referenceProperty)
Add reference properties.SubmissionEndpointReferenceBuilder
serviceName(QName serviceName)
Add the WSDL service name of the endpoint that the endpoint reference will target.String
toString()
SubmissionEndpointReferenceBuilder
wsdlDocumentLocation(String wsdlDocumentLocation)
Add the URI from where the WSDL for the endpoint that the endpoint reference will target can be retrieved.
-
-
-
Method Detail
-
address
public SubmissionEndpointReferenceBuilder address(String address)
Add the address URI to use.- Parameters:
address
- the address URI- Returns:
- an instance of
SubmissionEndpointReferenceBuilder
that has been updated as specified.
-
serviceName
public SubmissionEndpointReferenceBuilder serviceName(QName serviceName)
Add the WSDL service name of the endpoint that the endpoint reference will target.- Parameters:
serviceName
- the WSDL service name- Returns:
- an instance of
SubmissionEndpointReferenceBuilder
that has been updated as specified.
-
endpointName
public SubmissionEndpointReferenceBuilder endpointName(QName endpointName)
Add the WSDL port name of the endpoint that the endpoint reference will target. The WSDL port name can only be set after the WSDL service name has been set.- Parameters:
endpointName
- the WSDL port name- Returns:
- an instance of
SubmissionEndpointReferenceBuilder
that has been updated as specified.
-
wsdlDocumentLocation
public SubmissionEndpointReferenceBuilder wsdlDocumentLocation(String wsdlDocumentLocation)
Add the URI from where the WSDL for the endpoint that the endpoint reference will target can be retrieved.- Parameters:
wsdlDocumentLocation
- the location URI of the WSDL- Returns:
- an instance of
SubmissionEndpointReferenceBuilder
that has been updated as specified.
-
referenceProperty
public SubmissionEndpointReferenceBuilder referenceProperty(Element referenceProperty)
Add reference properties. These will appear in the endpoint reference as reference parameters.- Parameters:
referenceProperty
- the reference property- Returns:
- an instance of
SubmissionEndpointReferenceBuilder
that has been updated as specified.
-
referenceParameter
public SubmissionEndpointReferenceBuilder referenceParameter(Element referenceParameter)
Add reference parameters.- Parameters:
referenceParameter
- the reference parameter- Returns:
- an instance of
SubmissionEndpointReferenceBuilder
that has been updated as specified.
-
portType
public SubmissionEndpointReferenceBuilder portType(QName portType)
Add the name of the WSDL port type.- Parameters:
portType
- the WSDL port type name- Returns:
- an instance of
SubmissionEndpointReferenceBuilder
that has been updated as specified.
-
build
public SubmissionEndpointReference build()
Construct an instance ofEndpointReference
based on the values specified.- Returns:
- an instance of
SubmissionEndpointReference
-
-