#include <NsStack.hpp>
Public Methods | |
NsStack () | |
Constructor for the NsStack. More... | |
void | Add (const std::string &uri, const std::string &prefix) |
Add namesppace prefix for a URI. More... | |
void | Push () |
push an empty map on the stack. More... | |
NsMap* | Peek () |
Get map at the top. More... | |
void | Pop () |
Pop a namespace mapping. More... | |
const std::string | GetPrefix (const std::string &namespaceURI) |
Get a prefix for a given namespace URI. More... | |
const std::string | GetNamespaceURI (const std::string &prefix) |
Get a namespace URI for a prefix. More... | |
Private Attributes | |
std::vector<NsMap> | Ns |
Holds stack elements. More... | |
int | Indx |
Current index of the top. More... |
Namespace stack for building a SOAP Envelop; each namespace prefix has associated namespace URI.
Definition at line 100 of file NsStack.hpp.
|
Constructor for the NsStack.
Definition at line 104 of file NsStack.hpp. |
|
Add namesppace prefix for a URI. Add namesppace prefix mapping for a URI Definition at line 99 of file NsStack.cpp. Referenced by XMLSerializer::RegisterPrefixForURI(), and XMLDeSerializer::RegisterPrefixForURI().
|
|
Get a namespace URI for a prefix. Get a namespace URI for a prefix. Definition at line 169 of file NsStack.cpp. Referenced by XMLDeSerializer::GetQNameFromStr().
|
|
Get a prefix for a given namespace URI. Get a prefix for a given namespace URI Definition at line 153 of file NsStack.cpp. Referenced by XMLSerializer::GetPrefixForURI(), and XMLDeSerializer::QNameToStr().
|
|
Get map at the top. Get map at the top of the stack Definition at line 130 of file NsStack.cpp. Referenced by Add(), and XMLSerializer::Append().
|
|
Pop a namespace mapping. Remove a namespace mapping Definition at line 139 of file NsStack.cpp. Referenced by XMLSerializer::EndElem().
|
|
push an empty map on the stack. push an empty map on the stack Definition at line 118 of file NsStack.cpp. Referenced by XMLSerializer::Append().
|
|
Current index of the top.
Definition at line 126 of file NsStack.hpp. |
|
Holds stack elements.
Definition at line 125 of file NsStack.hpp. |
Copyright © 2001 SL_OpenSource XML Project. All Rights Reserved