Arc::WSAEndpointReference Class Reference

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)
WSAEndpointReferenceoperator= (const std::string &address)
XMLNode ReferenceParameters (void)
XMLNode MetaData (void)
 operator XMLNode (void)

Detailed Description

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.


Constructor & Destructor Documentation

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


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:26 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3