Home » axis2-1.5-src » org.apache » axis2 » addressing » [javadoc | source]
public class: EndpointReference [javadoc | source]

All Implemented Interfaces:
    SafeSerializable, Externalizable

Class EndpointReference This class models the WS-A EndpointReferenceType. But this can be used without any WS-A handlers as well Since the models for this in Submission and Final versions are different, lets make this to comply with WS-A Final version. So any information found with WS-A submission will be "pumped" in to this model.
 public EndpointReference() 
 public EndpointReference(String address) 
    address -
Method from org.apache.axis2.addressing.EndpointReference Summary:
addAnonymousEquivalentURI,   addAttribute,   addAttribute,   addExtensibleElement,   addMetaData,   addReferenceParameter,   addReferenceParameter,   fromOM,   getAddress,   getAddressAttributes,   getAllReferenceParameters,   getAttributes,   getExtensibleElements,   getLogCorrelationIDString,   getMetaData,   getMetadataAttributes,   getName,   hasAnonymousAddress,   hasNoneAddress,   isEquivalent,   isWSAddressingAnonymous,   readExternal,   setAddress,   setAddressAttributes,   setExtensibleElements,   setMetadataAttributes,   setName,   setReferenceParameters,   toOM,   toString,   writeExternal
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axis2.addressing.EndpointReference Detail:
 public static  void addAnonymousEquivalentURI(String anonymousEquivalentURI) 
    Adds a parameter to the list of anonymous equivalent URIs.
 public  void addAttribute(OMAttribute omAttribute) 
 public  void addAttribute(String localName,
    OMNamespace ns,
    String value) 
 public  void addExtensibleElement(OMElement extensibleElement) 
 public  void addMetaData(OMNode metaData) 
 public  void addReferenceParameter(OMElement omElement) 
 public  void addReferenceParameter(QName qname,
    String value) 
 public  void fromOM(OMElement eprOMElement) 
Deprecated! use - EndpointReferenceHelper#fromOM(OMElement) instead.

 public String getAddress() 
 public ArrayList getAddressAttributes() 
 public Map getAllReferenceParameters() 
    This will return a Map of reference parameters with QName as the key and an OMElement as the value
 public ArrayList getAttributes() 
 public ArrayList getExtensibleElements() 
 public String getLogCorrelationIDString() 
    Get the ID associated with this object instance.
 public ArrayList getMetaData() 
 public ArrayList getMetadataAttributes() 
 public String getName() 
 public boolean hasAnonymousAddress() 
    This method is used to identify when response messages should be sent using the back channel of a two-way transport.
 public boolean hasNoneAddress() 
 public boolean isEquivalent(EndpointReference epr) 
    Compares key parts of the state from the current instance of this class with the specified instance to see if they are equivalent.

    This differs from the java.lang.Object.equals() method in that the equals() method generally looks at both the object identity (location in memory) and the object state (data).

 public boolean isWSAddressingAnonymous() 
    This method identifies whether the address is a WS-Addressing spec defined anonymous URI.
 public  void readExternal(ObjectInput inObject) throws ClassNotFoundException, IOException 
    Read the EPR to the specified InputStream.
 public  void setAddress(String address) 
 public  void setAddressAttributes(ArrayList al) 
 public  void setExtensibleElements(ArrayList extensibleElements) 
 public  void setMetadataAttributes(ArrayList al) 
 public  void setName(String name) 
 public  void setReferenceParameters(Map referenceParameters) 
    Set a Map with QName as the key and an OMElement as the value
 public OMElement toOM(String nsurl,
    String localName,
    String prefix) throws AxisFault 
Deprecated! use - EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead.

 public String toString() 
 public synchronized  void writeExternal(ObjectOutput o) throws IOException 
    Write the EPR to the specified OutputStream. Because of potential OMElements/Attributes, we need to actually serialize the OM structures (at least in some cases.)