System::Xml::XmlSecureResolver class
Contents
[
Hide
]XmlSecureResolver class
Helps to secure another implementation of XmlResolver by wrapping the XmlResolver object and restricting the resources that the underlying XmlResolver has access to.
class XmlSecureResolver : public System::Xml::XmlResolver
Methods
Method | Description |
---|---|
GetEntity(SharedPtr<Uri>, String, const TypeInfo&) override | Maps a URI to an object that contains the actual resource. |
ResolveUri(SharedPtr<Uri>, String) override | Resolves the absolute URI from the base and relative URIs by calling ResolveUri on the underlying XmlResolver. |
set_Credentials(SharedPtr<Net::ICredentials>) override | Sets credentials used to authenticate web requests. |
XmlSecureResolver(const SharedPtr<XmlResolver>&, const String&) | Initializes a new instance of the XmlSecureResolver class with the XmlResolver and URL provided. |
Typedefs
Typedef | Description |
---|---|
Ptr | An alias for shared pointer to an instance of this class. |
Remarks
Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
See Also
- Class XmlResolver
- Namespace System::Xml
- Library Aspose.TeX for C++