Interface for manipulation of WS-Adressing Endpoint Reference. More...
#include <WSA.h>
Public Member Functions | |
WSAEndpointReference (XMLNode epr) | |
WSAEndpointReference (const WSAEndpointReference &wsa) | |
WSAEndpointReference (const std::string &address) | |
WSAEndpointReference (void) | |
~WSAEndpointReference (void) | |
std::string | Address (void) const |
bool | hasAddress (void) const |
void | Address (const std::string &uri) |
WSAEndpointReference & | operator= (const std::string &address) |
XMLNode | ReferenceParameters (void) |
XMLNode | MetaData (void) |
operator XMLNode (void) |
Interface for manipulation of WS-Adressing Endpoint Reference.
It works on Endpoint Reference stored in XML tree. No information is stored in this object except reference to corresponding XML subtree.
Arc::WSAEndpointReference::WSAEndpointReference | ( | XMLNode | epr | ) |
Link to top level EPR XML node Linking to existing EPR in XML tree
Arc::WSAEndpointReference::WSAEndpointReference | ( | const WSAEndpointReference & | wsa | ) |
Copy constructor
Arc::WSAEndpointReference::WSAEndpointReference | ( | const std::string & | address | ) |
Creating independent EPR - not implemented
Arc::WSAEndpointReference::WSAEndpointReference | ( | void | ) |
Dummy constructor - creates invalid instance
Arc::WSAEndpointReference::~WSAEndpointReference | ( | void | ) |
Destructor. All empty elements of EPR XML are destroyed here too
void Arc::WSAEndpointReference::Address | ( | const std::string & | uri | ) |
Assigns new Address value. If EPR had no Address element it is created.
std::string Arc::WSAEndpointReference::Address | ( | void | ) | const |
Returns Address (URL) encoded in EPR
bool Arc::WSAEndpointReference::hasAddress | ( | void | ) | const |
Returns true if Address is defined
XMLNode Arc::WSAEndpointReference::MetaData | ( | void | ) |
Access to MetaData element of EPR. Obtained XML element should be manipulated directly in application-dependent way. If EPR had no MetaData element it is created.
Arc::WSAEndpointReference::operator XMLNode | ( | void | ) |
Returns reference to EPR top XML node
WSAEndpointReference& Arc::WSAEndpointReference::operator= | ( | const std::string & | address | ) |
Same as Address(uri)
XMLNode Arc::WSAEndpointReference::ReferenceParameters | ( | void | ) |
Access to ReferenceParameters element of EPR. Obtained XML element should be manipulated directly in application-dependent way. If EPR had no ReferenceParameters element it is created.