#include <WsdlElement.h>
Public Member Functions | |
WsdlElement (WsdlParser &w) | |
virtual | ~WsdlElement () |
virtual void | print (std::ostream &out) |
Various Getter methods | |
std::string | getName () const |
const std::string | getDocumentation () const |
getExtensibilityElements/getExtensibilityAttributes | |
return the extensibility elements/attributes belonging to a given namespace namspace uri reference to a vector<int>
| |
bool | getExtensibilityElements (const std::string &namespc, std::vector< int > &ids) |
bool | getExtensibilityAttributes (const std::string &namespc, std::vector< int > &ids) |
Various Setter methods | |
void | setName (std::string nam) |
void | addExtElement (int ident) |
void | addExtAttribute (int ident) |
void | setDocumentation (std::string *s) |
Protected Attributes | |
std::string | name_ |
int | id_ |
std::vector< int > | extElems_ |
std::vector< int > | extAttributes_ |
std::string * | doc_ |
WsdlParser & | wParser_ |
Definition at line 38 of file WsdlElement.h.
WsdlPull::WsdlElement::WsdlElement | ( | WsdlParser & | w | ) | [inline] |
WsdlPull::WsdlElement::~WsdlElement | ( | ) | [inline, virtual] |
Definition at line 104 of file WsdlElement.h.
std::string WsdlPull::WsdlElement::getName | ( | ) | const [inline] |
getName
Definition at line 110 of file WsdlElement.h.
References name_.
Referenced by WsdlPull::WsdlParser::getOperation(), WsdlPull::PortType::getOperation(), WsdlPull::PortType::getOperationIndex(), WsdlPull::WsdlInvoker::invoke(), and printPortTypes().
const std::string WsdlPull::WsdlElement::getDocumentation | ( | ) | const [inline] |
bool WsdlPull::WsdlElement::getExtensibilityElements | ( | const std::string & | namespc, | |
std::vector< int > & | ids | |||
) |
Definition at line 39 of file WsdlElement.cpp.
References extElems_, WsdlPull::WsdlExtension::getElementName(), WsdlPull::WsdlParser::getExtensibilityHandler(), and wParser_.
bool WsdlPull::WsdlElement::getExtensibilityAttributes | ( | const std::string & | namespc, | |
std::vector< int > & | ids | |||
) |
Definition at line 58 of file WsdlElement.cpp.
References extAttributes_, WsdlPull::WsdlExtension::getAttributeName(), WsdlPull::WsdlParser::getExtensibilityHandler(), and wParser_.
void WsdlPull::WsdlElement::setName | ( | std::string | nam | ) | [inline] |
void WsdlPull::WsdlElement::addExtElement | ( | int | ident | ) | [inline] |
void WsdlPull::WsdlElement::addExtAttribute | ( | int | ident | ) | [inline] |
void WsdlPull::WsdlElement::setDocumentation | ( | std::string * | s | ) | [inline] |
void WsdlPull::WsdlElement::print | ( | std::ostream & | out | ) | [virtual] |
Reimplemented in WsdlPull::Operation.
Definition at line 25 of file WsdlElement.cpp.
References XmlUtils::dbsp(), extAttributes_, and extElems_.
std::string WsdlPull::WsdlElement::name_ [protected] |
Definition at line 85 of file WsdlElement.h.
Referenced by getName(), WsdlPull::Operation::print(), and setName().
int WsdlPull::WsdlElement::id_ [protected] |
std::vector<int> WsdlPull::WsdlElement::extElems_ [protected] |
Definition at line 87 of file WsdlElement.h.
Referenced by addExtElement(), getExtensibilityElements(), print(), and WsdlElement().
std::vector<int> WsdlPull::WsdlElement::extAttributes_ [protected] |
Definition at line 88 of file WsdlElement.h.
Referenced by addExtAttribute(), getExtensibilityAttributes(), print(), and WsdlElement().
std::string* WsdlPull::WsdlElement::doc_ [protected] |
Definition at line 89 of file WsdlElement.h.
Referenced by getDocumentation(), setDocumentation(), and WsdlElement().
WsdlParser& WsdlPull::WsdlElement::wParser_ [protected] |
Definition at line 91 of file WsdlElement.h.
Referenced by getExtensibilityAttributes(), and getExtensibilityElements().