5#include <xml/xml_namespace_scope.h>
6#include <xml/ixml_namespace_resolver.h>
7#include <system/collections/ienumerable.h>
8#include <system/array.h>
19template <
typename,
typename>
class Dictionary;
20template <
typename,
typename>
class IDictionary;
21template <
typename>
class IEnumerator;
49 typedef ::System::BaseTypesInfo<BaseType, BaseType1> ThisTypeBaseTypesInfo;
50 ASPOSECPP_SHARED_RTTI_INFO_DECL();
66 typedef NamespaceDeclaration
ThisType;
69 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
77 int32_t previousNsIndex;
79 void Set(
const String& prefix,
const String& uri, int32_t scopeId, int32_t previousNsIndex);
81 NamespaceDeclaration();
152 bool GetNamespaceDeclaration(int32_t idx,
String& prefix,
String& uri);
158 #ifdef ASPOSE_GET_SHARED_MEMBERS
159 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
173 static const int32_t MinDeclsCountForHashtable;
175 int32_t LookupNamespaceDecl(
const String& prefix);
Interface of object providing enumerator on contained elements.
Definition: ienumerable.h:25
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Provides read-only access to a set of prefix and namespace mappings.
Definition: ixml_namespace_resolver.h:29
Resolves, adds, and removes namespaces to a collection and provides scope management for these namesp...
Definition: xml_namespace_manager.h:44
virtual void RemoveNamespace(String prefix, String uri)
Removes the given namespace for the given prefix.
SharedPtr< Collections::Generic::IEnumerator< String > > GetEnumerator() override
Returns an enumerator to use to iterate through the namespaces in the XmlNamespaceManager.
virtual ~XmlNamespaceManager()
virtual String get_DefaultNamespace()
Returns the namespace URI for the default namespace.
virtual void PushScope()
Pushes a namespace scope onto the stack.
virtual bool HasNamespace(String prefix)
Returns a value indicating whether the supplied prefix has a namespace defined for the current pushed...
String LookupNamespace(const String &prefix) override
Returns the namespace URI for the specified prefix.
virtual void AddNamespace(String prefix, String uri)
Adds the given namespace to the collection.
XmlNamespaceManager(const SharedPtr< XmlNameTable > &nameTable)
Initializes a new instance of the XmlNamespaceManager class with the specified XmlNameTable.
SharedPtr< Collections::Generic::IDictionary< String, String > > GetNamespacesInScope(XmlNamespaceScope scope) override
Returns a collection of namespace names keyed by prefix which can be used to enumerate the namespaces...
virtual bool PopScope()
Pops a namespace scope off the stack.
virtual SharedPtr< XmlNameTable > get_NameTable()
Returns the XmlNameTable associated with this object.
String LookupPrefix(const String &uri) override
Finds the prefix declared for the given namespace URI.
Encapsulates the current execution context of the Extensible Stylesheet Language for Transformations ...
Definition: xslt_context.h:121
@ Xml
Serialize according to the XML 1.0 rules.
XmlNamespaceScope
Defines the namespace scope.
Definition: xml_namespace_scope.h:15
Definition: db_command.h:9