|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.addressing.EndpointReference
public class EndpointReference
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.
| Constructor Summary | |
|---|---|
EndpointReference()
No-Arg Constructor Required for Externalizable objects |
|
EndpointReference(String address)
|
|
| Method Summary | |
|---|---|
static void |
addAnonymousEquivalentURI(String anonymousEquivalentURI)
Adds a parameter to the list of anonymous equivalent URIs. |
void |
addAttribute(org.apache.axiom.om.OMAttribute omAttribute)
|
void |
addAttribute(String localName,
org.apache.axiom.om.OMNamespace ns,
String value)
|
void |
addExtensibleElement(org.apache.axiom.om.OMElement extensibleElement)
|
void |
addMetaData(org.apache.axiom.om.OMNode metaData)
|
void |
addReferenceParameter(org.apache.axiom.om.OMElement omElement)
|
void |
addReferenceParameter(QName qname,
String value)
|
void |
fromOM(org.apache.axiom.om.OMElement eprOMElement)
Deprecated. use EndpointReferenceHelper.fromOM(OMElement) instead. |
String |
getAddress()
|
ArrayList<org.apache.axiom.om.OMAttribute> |
getAddressAttributes()
|
Map<QName,org.apache.axiom.om.OMElement> |
getAllReferenceParameters()
This will return a Map of reference parameters with QName as the key and an OMElement as the value |
ArrayList<org.apache.axiom.om.OMAttribute> |
getAttributes()
|
ArrayList<org.apache.axiom.om.OMElement> |
getExtensibleElements()
|
String |
getLogCorrelationIDString()
Get the ID associated with this object instance. |
ArrayList<org.apache.axiom.om.OMNode> |
getMetaData()
|
ArrayList<org.apache.axiom.om.OMAttribute> |
getMetadataAttributes()
|
String |
getName()
Deprecated. |
boolean |
hasAnonymousAddress()
This method is used to identify when response messages should be sent using the back channel of a two-way transport. |
boolean |
hasNoneAddress()
hasNoneAddress |
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. |
boolean |
isWSAddressingAnonymous()
This method identifies whether the address is a WS-Addressing spec defined anonymous URI. |
void |
readExternal(ObjectInput inObject)
Read the EPR to the specified InputStream. |
void |
setAddress(String address)
|
void |
setAddressAttributes(ArrayList<org.apache.axiom.om.OMAttribute> al)
|
void |
setExtensibleElements(ArrayList<org.apache.axiom.om.OMElement> extensibleElements)
{any} |
void |
setMetadataAttributes(ArrayList<org.apache.axiom.om.OMAttribute> al)
|
void |
setName(String name)
Deprecated. |
void |
setReferenceParameters(Map<QName,org.apache.axiom.om.OMElement> referenceParameters)
Set a Map with QName as the key and an OMElement as the value |
org.apache.axiom.om.OMElement |
toOM(String nsurl,
String localName,
String prefix)
Deprecated. use EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead. |
String |
toString()
|
void |
writeExternal(ObjectOutput o)
Write the EPR to the specified OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EndpointReference()
public EndpointReference(String address)
address - | Method Detail |
|---|
public static void addAnonymousEquivalentURI(String anonymousEquivalentURI)
anonymousEquivalentURI - any URI that has an address that
begins with this value will be considered to be anonymouspublic void addReferenceParameter(org.apache.axiom.om.OMElement omElement)
omElement -
public void addReferenceParameter(QName qname,
String value)
qname - value - - the text of the OMElement. Remember that this is a convenient method for the user,
which has limited capability. If you want more power use @See EndpointReference#addReferenceParameter(OMElement)public Map<QName,org.apache.axiom.om.OMElement> getAllReferenceParameters()
public String getAddress()
public void setAddress(String address)
address - - xs:anyURIpublic ArrayList<org.apache.axiom.om.OMAttribute> getAddressAttributes()
public void setAddressAttributes(ArrayList<org.apache.axiom.om.OMAttribute> al)
public ArrayList<org.apache.axiom.om.OMAttribute> getMetadataAttributes()
public void setMetadataAttributes(ArrayList<org.apache.axiom.om.OMAttribute> al)
public boolean isWSAddressingAnonymous()
hasAnonymousAddress()public boolean hasAnonymousAddress()
addAnonymousEquivalentURI(String)public boolean hasNoneAddress()
public void addAttribute(String localName,
org.apache.axiom.om.OMNamespace ns,
String value)
localName - ns - value - public ArrayList<org.apache.axiom.om.OMAttribute> getAttributes()
public void addAttribute(org.apache.axiom.om.OMAttribute omAttribute)
omAttribute - public ArrayList<org.apache.axiom.om.OMElement> getExtensibleElements()
public void setExtensibleElements(ArrayList<org.apache.axiom.om.OMElement> extensibleElements)
extensibleElements - public void addExtensibleElement(org.apache.axiom.om.OMElement extensibleElement)
public ArrayList<org.apache.axiom.om.OMNode> getMetaData()
public void addMetaData(org.apache.axiom.om.OMNode metaData)
public String getName()
public void setName(String name)
name - public void setReferenceParameters(Map<QName,org.apache.axiom.om.OMElement> referenceParameters)
referenceParameters - public String toString()
toString in class Objectpublic void fromOM(org.apache.axiom.om.OMElement eprOMElement)
EndpointReferenceHelper.fromOM(OMElement) instead.
eprOMElement -
public org.apache.axiom.om.OMElement toOM(String nsurl,
String localName,
String prefix)
throws AxisFault
EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead.
nsurl - localName - prefix -
AxisFaultpublic boolean isEquivalent(EndpointReference epr)
epr - The object to compare with
public void writeExternal(ObjectOutput o)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput inObject)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic String getLogCorrelationIDString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||