Qore xml Module 1.8.2
|
namespace container class More...
#include <WSDL.qm.dox.h>
Inherits Serializable.
Public Member Methods | |
constructor (hash< auto > nsh, *Namespaces nsc, *string targetNamespace) | |
creates the object with the WSDL definitions attribute hash | |
merge (Namespaces nsc) | |
merges namespaces when parsing imported schemas | |
string | getUniquePrefix (string uri, *string default_prefix) |
returns a unique namespace prefix from a URI path string | |
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 | |
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 | |
popTargetNamespace () | |
restores any previous target namespace URI from the stack to the current target namespace URI | |
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 | |
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 | |
string | getTargetNamespaceInputPrefix () |
returns the input 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 | translateOutputNamespacePrefix (*string nsa) |
returns the output namespace prefix for the given input namespace prefix | |
Private Member Methods | |
string | registerNamespaceIntern (string uri, *string default_pfx) |
registers a namespace internally | |
Private Attributes | |
hash< string, string > | ns |
maps output namespace prefixes to namespace URIs | |
hash< string, string > | nsr |
maps namespace URIs to output namespace prefixes | |
hash< string, bool > | xsd_schema |
hash for valid XSD namespaces, maps input namespace prefixes -> True if it refers to an XSD schema | |
hash< string, string > | imap |
hash mapping input namespace prefixes to namespaces URIs | |
hash< string, string > | imapr |
hash mapping input namespace URIs to input namespace prefixes | |
bool | hassoap11 = False |
if True then has SOAP 1.1 | |
bool | hassoap12 = False |
if True then has SOAP 1.2 | |
*string | target_ns |
current target namespace | |
list< auto > | nss = () |
target namespace stack; | |
*string | default_ns |
default namespace for unprefixed definitions | |
list< auto > | dss = () |
default namespace stack; | |
hash< string, XsdBaseType > | base_types |
base type map | |
const | DefaultPrefixes |
maps namespaces to default prefixes | |
namespace container class