2#ifndef _aspose_system_security_securityelement_h_
3#define _aspose_system_security_securityelement_h_
6#include "system/string.h"
7#include "system/collections/dictionary.h"
8#include "system/collections/list.h"
List forward declaration.
Definition: list.h:127
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
XML object model for encoding security object. Not implemented. Objects of this class should only be ...
Definition: security_element.h:19
static bool IsValidText(const String &text)
Checks if text is valid.
void AddChild(SecurityElement child)
Adds child tag.
String get_Text()
Gets tag inner text.
SecurityElement(const String &tag)
Constructor.
SecurityElement Copy()
Clones tag.
void AddAttribute(const String &name, const String &value)
Adds attribute to tag.
String Attribute(const String &name)
Gets attribute value.
static String Escape(const String &str)
Escapes characters in XML string.
Definition: security_element.h:76
static bool IsValidAttributeName(const String &name)
Checks if attribute name is valid.
System::Collections::Generic::List< SecurityElement > get_Children()
Gets tag child objects.
void set_Tag(const String &value)
Sets tag name.
void set_Children(System::Collections::Generic::List< SecurityElement > value)
Sets tag child objects.
bool Equal(SecurityElement other)
Checks for parameters equality.
static bool IsValidTag(const String &tag)
Checks if tag is valid.
void set_Attributes(System::Collections::Generic::Dictionary< String, String > value)
Sets tag attributes.
String ToString() const override
Converts tag to string.
String SearchForTextOfTag(const String &tag)
Gets child tag inner text by tag name.
SecurityElement SearchForChildByTag(const String &tag)
Gets child tag by name.
String get_Tag()
Gets tag name.
SecurityElement(const String &tag, const String &text)
Constructor.
void set_Text(const String &value)
Sets tag inner text.
static bool IsValidAttributeValue(const String &value)
Checks if attribute value is valid.
static SecurityElement FromString(const String &xml)
Creates element from XML code.
System::Collections::Generic::Dictionary< String, String > get_Attributes()
Gets tag attributes.
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
String Replace(char_t oldValue, char_t newValue) const
Replaces all occurrences of character in the string.
Definition: db_command.h:9