public class EndpointReference extends java.lang.Object implements java.io.Externalizable, SafeSerializable
| Constructor and Description |
|---|
EndpointReference()
No-Arg Constructor
Required for Externalizable objects
|
EndpointReference(java.lang.String address) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAnonymousEquivalentURI(java.lang.String anonymousEquivalentURI)
Adds a parameter to the list of anonymous equivalent URIs.
|
void |
addAttribute(org.apache.axiom.om.OMAttribute omAttribute) |
void |
addAttribute(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
java.lang.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(javax.xml.namespace.QName qname,
java.lang.String value) |
void |
fromOM(org.apache.axiom.om.OMElement eprOMElement)
Deprecated.
use
EndpointReferenceHelper.fromOM(OMElement) instead. |
java.lang.String |
getAddress() |
java.util.ArrayList<org.apache.axiom.om.OMAttribute> |
getAddressAttributes() |
java.util.Map<javax.xml.namespace.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
|
java.util.ArrayList<org.apache.axiom.om.OMAttribute> |
getAttributes() |
java.util.ArrayList<org.apache.axiom.om.OMElement> |
getExtensibleElements() |
java.lang.String |
getLogCorrelationIDString()
Get the ID associated with this object instance.
|
java.util.ArrayList<org.apache.axiom.om.OMNode> |
getMetaData() |
java.util.ArrayList<org.apache.axiom.om.OMAttribute> |
getMetadataAttributes() |
java.lang.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(java.io.ObjectInput inObject)
Read the EPR to the specified InputStream.
|
void |
setAddress(java.lang.String address) |
void |
setAddressAttributes(java.util.ArrayList<org.apache.axiom.om.OMAttribute> al) |
void |
setExtensibleElements(java.util.ArrayList<org.apache.axiom.om.OMElement> extensibleElements)
{any}
|
void |
setMetadataAttributes(java.util.ArrayList<org.apache.axiom.om.OMAttribute> al) |
void |
setName(java.lang.String name)
Deprecated.
|
void |
setReferenceParameters(java.util.Map<javax.xml.namespace.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(java.lang.String nsurl,
java.lang.String localName,
java.lang.String prefix)
Deprecated.
use
EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead. |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput o)
Write the EPR to the specified OutputStream.
|
public EndpointReference()
public EndpointReference(java.lang.String address)
address - public static void addAnonymousEquivalentURI(java.lang.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(javax.xml.namespace.QName qname,
java.lang.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 java.util.Map<javax.xml.namespace.QName,org.apache.axiom.om.OMElement> getAllReferenceParameters()
public java.lang.String getAddress()
public void setAddress(java.lang.String address)
address - - xs:anyURIpublic java.util.ArrayList<org.apache.axiom.om.OMAttribute> getAddressAttributes()
public void setAddressAttributes(java.util.ArrayList<org.apache.axiom.om.OMAttribute> al)
public java.util.ArrayList<org.apache.axiom.om.OMAttribute> getMetadataAttributes()
public void setMetadataAttributes(java.util.ArrayList<org.apache.axiom.om.OMAttribute> al)
public boolean isWSAddressingAnonymous()
hasAnonymousAddress()public boolean hasAnonymousAddress()
addAnonymousEquivalentURI(String)public boolean hasNoneAddress()
public void addAttribute(java.lang.String localName,
org.apache.axiom.om.OMNamespace ns,
java.lang.String value)
localName - ns - value - public java.util.ArrayList<org.apache.axiom.om.OMAttribute> getAttributes()
public void addAttribute(org.apache.axiom.om.OMAttribute omAttribute)
omAttribute - public java.util.ArrayList<org.apache.axiom.om.OMElement> getExtensibleElements()
public void setExtensibleElements(java.util.ArrayList<org.apache.axiom.om.OMElement> extensibleElements)
extensibleElements - public void addExtensibleElement(org.apache.axiom.om.OMElement extensibleElement)
public java.util.ArrayList<org.apache.axiom.om.OMNode> getMetaData()
public void addMetaData(org.apache.axiom.om.OMNode metaData)
public java.lang.String getName()
public void setName(java.lang.String name)
name - public void setReferenceParameters(java.util.Map<javax.xml.namespace.QName,org.apache.axiom.om.OMElement> referenceParameters)
referenceParameters - public java.lang.String toString()
toString in class java.lang.Objectpublic void fromOM(org.apache.axiom.om.OMElement eprOMElement)
EndpointReferenceHelper.fromOM(OMElement) instead.eprOMElement - public org.apache.axiom.om.OMElement toOM(java.lang.String nsurl,
java.lang.String localName,
java.lang.String prefix)
throws AxisFault
EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead.nsurl - localName - prefix - AxisFaultpublic boolean isEquivalent(EndpointReference epr)
epr - The object to compare withpublic void writeExternal(java.io.ObjectOutput o)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput inObject)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic java.lang.String getLogCorrelationIDString()
Copyright © 2004-2021 The Apache Software Foundation. All Rights Reserved.