#include <WsdlParser.h>
Collaboration diagram for WsdlPull::WsdlParser:
Public Types | |
enum | { NONE, START, DEFINITION, DOCUMENTATION, ANNOTATION, IMPORT, SCHEMA, TYPES, MESSAGE, PART, PORT_TYPE, OPERATION, INPUT, OUTPUT, FAULT, BINDING, EXTENSIBILITY, SERVICE, PORT, END } |
Public Member Functions | |
void | setSchemaPath (const std::string &schemaPath) |
const SchemaParser * | getSchemaParser (int schemaId) const |
Constructors and Destructors | |
WsdlParser (std::istream &in=std::cin, std::ostream &out=std::cout, const std::string &schemaPath=SCHEMADIR) | |
WsdlParser (const std::string &Uri, std::ostream &out=std::cout, const std::string &schemaPath=SCHEMADIR) | |
~WsdlParser () | |
methods used for parsing | |
int | getNextElement () |
int | getEventType () |
Various Getter methods | |
std::string | getNamespace (void) |
std::string | getName () |
const std::string * | getDocumentation () |
const Binding * | getBinding () |
const Binding * | getBinding (const Qname &q) |
bool | getBindings (Binding::cBindingIterator &begin, Binding::cBindingIterator &end) const |
const Service * | getService () |
const Service * | getService (const Qname &q) |
const PortType * | getPortType () |
const PortType * | getPortType (const Qname &q) |
bool | getPortTypes (PortType::cPortTypeIterator &begin, PortType::cPortTypeIterator &end) const |
bool | getOperations (const Qname &portType, Operation::cOpIterator begin, Operation::cOpIterator end) |
const Operation * | getOperation (const Qname &portType, const Qname &q) |
const Message * | getMessage () |
const Message * | getMessage (const Qname &q) |
std::list< const Message * > & | getMessages () |
void | WsdlParser::getSchemaParsers (std::vector< SchemaParser * >::iterator &from, std::vector< SchemaParser * >::iterator &to) |
int | getNumSchemas () const |
const SchemaParser * | getSchemaParser (std::string targetNamespace) const |
bool | status () const |
std::string | wsdlPath () const |
std::ostream & | logger () |
Extensibility handler methods | |
void | addExtensibilityHandler (WsdlExtension *ext) |
WsdlExtension * | getExtensibilityHandler (const std::string &ns) |
WsdlExtension * | getExtensibilityHandler (int extId) |
Miscellaneous methods | |
bool | setFeature (int feature_id) |
|
The various states of the Wsdl Parser |
|
The default constructor for WsdlParser
|
|
|
|
|
|
setSchemaPath Set path to location of XML schema files, used by parser. |
|
getNextElement processes the next Wsdl ELement in the stream and returns the type of the root Wsdl element parsed.
|
|
getEventType returns the type Wsdl element parsed.
|
|
getTargetNamespace
|
|
getName
|
|
getDocumentation Returns the documentation string for the WSDL file This method must be called after
|
|
getBinding .This method must be called after
|
|
getBinding .
|
|
getBindings
|
|
getService .This method must be called after
|
|
getService.
|
|
getPortType .This method must be called after
|
|
getPortType
|
|
getPortTypes
|
|
getOperations
|
|
getOperation
|
|
getMessage .This method must be called after
|
|
getMessage .
|
|
getMessages
|
|
getSchemaParsers
|
|
getNumSchemas
|
|
getSchemaParser
|
|
to query the status of wsdl parsing |
|
|
|
|
|
addExtensibilityHandler Registers an extensibility handler for Wsdl extensibility namespaces
|
|
getExtensibilityHandler returns theextensibility handler for the namespaces
|
|
|
|
setFeature enables one of the features of the parser
|
|
getSchemaParser
|