org.apache.axis.message.addressing
Class EndpointReferenceType

java.lang.Object
  extended by org.apache.axis.message.addressing.EndpointReferenceType
All Implemented Interfaces:
java.io.Serializable, org.apache.axis.encoding.AnyContentType
Direct Known Subclasses:
EndpointReference

public class EndpointReferenceType
extends java.lang.Object
implements org.apache.axis.encoding.AnyContentType, java.io.Serializable

Java content class for EndpointReferenceType complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at http://schemas.xmlsoap.org/ws/2004/08/addressing line 46)

 <complexType name="EndpointReferenceType"
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <complexContent>
     <restriction base="xsd:anyType">
       <sequence>
         <element name="Address" type="wsa:AttributedURI"/>
         <element name="ReferenceProperties"
            type="wsa:ReferencePropertiesType"
            minOccurs="0"/>
         <element name="ReferenceParameters"
            type="wsa:ReferenceParametersType"
            minOccurs="0"/>
         <element name="PortType"
            type="wsa:AttributedQName"
            minOccurs="0"/>
         <element name="ServiceName"
            type="wsa:ServiceNameType"
            minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Version:
$Revision: 14 $
Author:
Davanum Srinivas, Rodrigo Ruiz
See Also:
Serialized Form

Field Summary
protected  MetaDataType metaData
          Meta-data (for W3C version only).
 
Constructor Summary
EndpointReferenceType()
          Constructor EndpointReferenceType.
EndpointReferenceType(Address address)
          Constructor EndpointReferenceType.
EndpointReferenceType(EndpointReferenceType endpoint)
          Constructor EndpointReferenceType (performs shallow copy).
EndpointReferenceType(EndpointReferenceType endpoint, boolean deepCopy)
          Constructor EndpointReferenceType.
EndpointReferenceType(org.apache.axis.types.URI addr)
          Constructor EndpointReferenceType.
 
Method Summary
 org.apache.axis.message.MessageElement[] get_any()
          
 AttributedURI getAddress()
          Gets the remote address URI.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mType, java.lang.Class<?> jType, javax.xml.namespace.QName xType)
          Gets a custom Deserializer.
 MetaDataType getMetadata()
          Get the meta-data (if any).
 ReferenceParametersType getParameters()
          Method getParameters.
 AttributedQName getPortType()
          Method getPortType.
 ReferencePropertiesType getProperties()
          Method getProperties.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mType, java.lang.Class<?> jType, javax.xml.namespace.QName xType)
          Gets a custom Serializer.
 ServiceNameType getServiceName()
          Method getServiceName.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return the type description object.
 void set_any(org.apache.axis.message.MessageElement[] any)
          
 void setAddress(AttributedURI addr)
          Method setAddress.
 void setMetadata(MetaDataType metaData)
          Set the meta-data.
 void setParameters(ReferenceParametersType parameters)
          Method setParameters.
 void setPortType(AttributedQName portType)
          Method setPortType.
 void setProperties(ReferencePropertiesType properties)
          Method setProperties.
 void setServiceName(ServiceNameType serviceName)
          Method setServiceName.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metaData

protected MetaDataType metaData
Meta-data (for W3C version only).

Constructor Detail

EndpointReferenceType

public EndpointReferenceType()
Constructor EndpointReferenceType.


EndpointReferenceType

public EndpointReferenceType(Address address)
Constructor EndpointReferenceType.

Parameters:
address - EndPoint URI

EndpointReferenceType

public EndpointReferenceType(EndpointReferenceType endpoint)
Constructor EndpointReferenceType (performs shallow copy).

Parameters:
endpoint - Instance to copy

EndpointReferenceType

public EndpointReferenceType(EndpointReferenceType endpoint,
                             boolean deepCopy)
Constructor EndpointReferenceType.

Parameters:
endpoint - Instance to copy
deepCopy - Whether to perform a deep copy or not

EndpointReferenceType

public EndpointReferenceType(org.apache.axis.types.URI addr)
Constructor EndpointReferenceType.

Parameters:
addr - Address URI
Method Detail

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mType,
                                                                    java.lang.Class<?> jType,
                                                                    javax.xml.namespace.QName xType)
Gets a custom Deserializer.

Parameters:
mType - not used
jType - Java type
xType - XML type
Returns:
A Deserializer instance

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mType,
                                                                java.lang.Class<?> jType,
                                                                javax.xml.namespace.QName xType)
Gets a custom Serializer.

Parameters:
mType - not used
jType - Java type
xType - XML type
Returns:
A Serializer instance

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return the type description object.

Returns:
Type type description for this class

get_any

public org.apache.axis.message.MessageElement[] get_any()

Specified by:
get_any in interface org.apache.axis.encoding.AnyContentType

getAddress

public AttributedURI getAddress()
Gets the remote address URI.

Returns:
the remote address

getMetadata

public MetaDataType getMetadata()
Get the meta-data (if any).

Returns:
a List of MessageElements, or null

getParameters

public ReferenceParametersType getParameters()
Method getParameters.

Returns:
The reference parameters field

getPortType

public AttributedQName getPortType()
Method getPortType.

Returns:
The port type name

getProperties

public ReferencePropertiesType getProperties()
Method getProperties.

Returns:
The reference properties field

getServiceName

public ServiceNameType getServiceName()
Method getServiceName.

Returns:
The service name

set_any

public void set_any(org.apache.axis.message.MessageElement[] any)

Specified by:
set_any in interface org.apache.axis.encoding.AnyContentType

setAddress

public void setAddress(AttributedURI addr)
Method setAddress.

Parameters:
addr - The new address

setMetadata

public void setMetadata(MetaDataType metaData)
Set the meta-data.

Parameters:
metaData - a List of MessageElements

setParameters

public void setParameters(ReferenceParametersType parameters)
Method setParameters.

Parameters:
parameters - The reference parameters to set

setPortType

public void setPortType(AttributedQName portType)
Method setPortType.

Parameters:
portType - The service port type name

setProperties

public void setProperties(ReferencePropertiesType properties)
Method setProperties.

Parameters:
properties - The reference properties field

setServiceName

public void setServiceName(ServiceNameType serviceName)
Method setServiceName.

Parameters:
serviceName - The service name

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2008-2009 Rodrigo Ruiz. All Rights Reserved.