org.apache.axis2.jaxws.addressing
Class SubmissionEndpointReferenceBuilder

java.lang.Object
  extended by org.apache.axis2.jaxws.addressing.SubmissionEndpointReferenceBuilder

public final class SubmissionEndpointReferenceBuilder
extends java.lang.Object

This class can be used to create instances of SubmissionEndpointReference.

See Also:
W3CEndpointReferenceBuilder

Constructor Summary
SubmissionEndpointReferenceBuilder()
          Constructor
 
Method Summary
 SubmissionEndpointReferenceBuilder address(java.lang.String address)
          Add the address URI to use.
 SubmissionEndpointReference build()
          Construct an instance of EndpointReference 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(org.w3c.dom.Element referenceParameter)
          Add reference parameters.
 SubmissionEndpointReferenceBuilder referenceProperty(org.w3c.dom.Element referenceProperty)
          Add reference properties.
 SubmissionEndpointReferenceBuilder serviceName(QName serviceName)
          Add the WSDL service name of the endpoint that the endpoint reference will target.
 java.lang.String toString()
           
 SubmissionEndpointReferenceBuilder wsdlDocumentLocation(java.lang.String wsdlDocumentLocation)
          Add the URI from where the WSDL for the endpoint that the endpoint reference will target can be retrieved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubmissionEndpointReferenceBuilder

public SubmissionEndpointReferenceBuilder()
Constructor

Method Detail

address

public SubmissionEndpointReferenceBuilder address(java.lang.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(java.lang.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(org.w3c.dom.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(org.w3c.dom.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 of EndpointReference based on the values specified.

Returns:
an instance of SubmissionEndpointReference

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007 Apache Web Services Project. All Rights Reserved.