Qore xml Module 2.1.0
Loading...
Searching...
No Matches
WSDL::Namespaces Class Reference

namespace container class More...

#include <WSDL.qm.dox.h>

Inherits Serializable.

Public Member Methods

string getOutputNamespaceUri (string nsp)
 returns the namespace URI for the given output namespace prefix
 
*hash< auto > getOutputNamespaceHash (*hash< auto > nsh)
 returns a hash of namespace attributes for outgoing SOAP messages
 
*string getTargetNamespaceUri ()
 returns the primary target namespace Uri
 
*string getNamespaceUri (*string nsp)
 returns the namespace URI for the given prefix or the target namespace Uri
 
void pushTargetNamespace (string ns)
 pushes the current target namespace URI on the stack when parsing schemas and sets the current target namespace URI to the current value
 
void popTargetNamespace ()
 restores any previous target namespace URI from the stack to the current target namespace URI
 
void pushDefaultNamespace (string ns)
 pushes the current default namespace URI on the stack when parsing schemas and sets the current default namespace URI to the current value
 
void popDefaultNamespace ()
 restores any previous default namespace URI from the stack to the current default namespace URI
 
string getOutputNamespacePrefix (string ns)
 looks up and registers a namespace if necessary, returns the namespace's prefix
 
string getTargetNamespaceOutputPrefix ()
 returns the output namespace prefix for the target namespace, if any
 
*hash< auto > getReferencedNamespaceMap ()
 returns a hash of namespace prefixes to namespaces URIs actually used
 
bool hasSoap11 ()
 returns True if using SOAP 1.1, False if not
 
bool hasSoap12 ()
 returns True if using SOAP 1.2, False if not
 
*bool isSchema (string ns)
 returns True if if the input namespace prefix refers to the XSD namespace URI
 
string getInputNamespaceUri (string nsa)
 returns the input namespace URI from the input namespace prefix
 
*string tryGetInputNamespaceUri (*string nsa)
 returns the input namespace URI from the input namespace prefix, or NOTHING if not found
 
string translateOutputNamespacePrefix (*string nsa)
 returns the output namespace prefix for the given input namespace prefix
 

Detailed Description

namespace container class

Member Function Documentation

◆ tryGetInputNamespaceUri()

*string WSDL::Namespaces::tryGetInputNamespaceUri ( *string  nsa)

returns the input namespace URI from the input namespace prefix, or NOTHING if not found

Parameters
nsathe input namespace prefix
Returns
the namespace URI or NOTHING if the prefix is not defined
Note
this method does not throw an exception if the prefix is not found

The documentation for this class was generated from the following file: