Asposecpplib

Represents an attribute associated with an xml element. Objects of this class should only be allocated using System::MakeObject() function. Never create instance 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. More...

Inherits System::Xml::XmlNode.

Public Types

typedef SharedPtr< XmlAttributePtr
 An alias for a shared pointer to an instance of this class. More...
 
- Public Types inherited from System::Xml::XmlNode
typedef SharedPtr< XmlNodePtr
 An alias for shared pointer to an instance of this class. More...
 
- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 

Public Member Functions

XmlNodeType get_NodeType () const override
 Returns the type of the current node. More...
 
String get_Name () const override
 Returns the qualified name of the current attribute. More...
 
String get_LocalName () const override
 Returns the local name of the current attribute. More...
 
String get_InnerText () const override
 Returns the value of the current attribute. More...
 
String get_InnerXml () const override
 Returns the value of the current attribute. More...
 
String get_OuterXml () const override
 Returns the markup of the current attribute in the format [attribute_name]=[attribute_value]. More...
 
String get_Value () const override
 Returns the value of the current attribute. More...
 
bool get_HasChildNodes () const override
 Determines if the current attribute node has children. More...
 
SharedPtr< Schema::IXmlSchemaInfoget_SchemaInfo () override
 
XmlNode::Ptr get_FirstChild () const override
 Always returns null-pointer. More...
 
XmlNode::Ptr get_LastChild () const override
 Always returns null-pointer. More...
 
XmlNode::Ptr get_NextSibling () const override
 Always returns null-pointer. More...
 
XmlNode::Ptr get_PreviousSibling () const override
 Always returns null-pointer. More...
 
XmlNode::Ptr get_ParentNode () const override
 Always returns null-pointer. More...
 
virtual SharedPtr< XmlElementget_OwnerElement () const
 Returns an XmlElement object that represents an XML element that owns the attribute represented by the current object. More...
 
SharedPtr< XmlElementidx_get (String) const override
 Always returns null-pointer. More...
 
String get_Prefix () const override
 Returns the namespace prefix of the attribute represented by the current object. More...
 
String get_NamespaceURI () const override
 Returns the namespace URI of the attribute represented by the current object. More...
 
void set_Value (String value) override
 Sets the value of the attribute represented by the current object. More...
 
void set_InnerText (String value) override
 Sets the value of the attribute represented by the current object. More...
 
void set_InnerXml (String) override
 Does nothing. More...
 
void set_Prefix (String value) override
 Sets the namespace prefix of the attribute represented by the current object. More...
 
void RemoveAll () override
 Does nothing. More...
 
XmlNode::Ptr RemoveChild (XmlNode::Ptr child) override
 Does nothing. More...
 
void WriteContentTo (SharedPtr< XmlWriter > writer) override
 Writes the value of the attribute represented by the current object to the specified XmlWriter. More...
 
void WriteTo (SharedPtr< XmlWriter > writer) override
 Writes the attribute represented by the current object to the specified XmlWriter object. More...
 
XmlNode::Ptr CloneNode (bool deep) override
 NOT IMPLEMENTED. More...
 
- Public Member Functions inherited from System::Xml::XmlNode
virtual String get_BaseURI () const
 NOT IMPLEMENTED. More...
 
virtual SharedPtr< XmlDocumentget_OwnerDocument () const
 Returns a shared pointer to an XmlDocument object representing an XML document node to which the node represented by the current object belongs. More...
 
virtual SharedPtr< XmlAttributeCollectionget_Attributes ()
 Returns an XmlAttributeCollection object containing all attributes of the XML node represented by the current object. More...
 
virtual SharedPtr< XmlNodeListget_ChildNodes ()
 Returns an XmlNodeList object containing all child nodes of the XML node represented by the current object. More...
 
virtual SharedPtr< XmlElementoperator[] (String name) const
 Returns a shared pointer to the XmlElement object representing the child element of the XML node represented by the current object with the specified qualified name. More...
 
virtual XmlNode::Ptr AppendChild (XmlNode::Ptr child)
 Adds the specified XML node at the end of the list of children of the XML node represented by the current object. More...
 
virtual XmlNode::Ptr PrependChild (XmlNode::Ptr new_child)
 Adds the specified XML node at the beginning of the list of children of the XML node represented by the current object. More...
 
virtual XmlNode::Ptr ReplaceChild (XmlNode::Ptr new_child, XmlNode::Ptr old_child)
 Replaces the specified the specified child node of the node reprsented by the current object with another one. More...
 
virtual XmlNode::Ptr InsertAfter (XmlNode::Ptr new_child, XmlNode::Ptr ref_child)
 Adds the specified XML node to the list of children of the XML node represented by the current object at the position next to the position of the specified reference child node. More...
 
virtual XmlNode::Ptr InsertBefore (XmlNode::Ptr new_child, XmlNode::Ptr ref_child)
 Adds the specified XML node to the list of children of the XML document represented by the current object at the position prior to the position of the specified reference child node. More...
 
virtual String GetPrefixOfNamespace (const String &namespace_uri)
 Looks up the closest xmlns declaration for the specified namespace URI that is in scope for the XML node represented by the current object and returns the prefix defined in that declaration. More...
 
virtual String GetNamespaceOfPrefix (const String &prefix)
 Looks up the closest xmlns declaration for the specified prefix that is in scope for the XML node represented by the current object and returns the namespace URI defined in that declaration. More...
 
virtual SharedPtr< XmlNodeListSelectNodes (String xPath)
 Returns a list of XML nodes that match the specfied XPath expression. More...
 
virtual SharedPtr< XmlNodeListSelectNodes (String xPath, SharedPtr< XmlNamespaceManager > nsMgr)
 Returns a list of XML nodes that match the specfied XPath expression; any prefixes encountered in xpath expression are resolved using the specified namespace manager. More...
 
virtual XmlNode::Ptr SelectSingleNode (String xPath)
 Returns the first XML node that match the specfied XPath expression. More...
 
virtual XmlNode::Ptr SelectSingleNode (String xPath, SharedPtr< XmlNamespaceManager > nsMgr)
 Returns the first XML node that match the specfied XPath expression; any prefixes encountered in xpath expression are resolved using the specified namespace manager. More...
 
SharedPtr< System::Collections::Generic::IEnumerator< XmlNode::Ptr > > GetEnumerator ()
 Returns an enumerator that points to the collection containing child nodes of the node represented by the current object. More...
 
XmlNode::Ptr Clone ()
 Returns a copy of the node represented by the current object. The subtree under the node is also copied. This method is equivallent to calling CloneNode(true). More...
 
xmlNode * native_node ()
 Returns a pointer to the underlying libxml2 xmlNode object. More...
 
virtual SharedPtr< XPath::XPathNavigatorCreateNavigator () override
 Creates an instance of XPath::XPathNavigator class for navigating an XML document represented by the current object. More...
 
virtual void Normalize ()
 Puts all XmlText nodes in the full depth of the sub-tree underneath this XmlNode into a "normal" form where only markup (that is, tags, comments, processing instructions, CDATA sections, and entity references) separates XmlText nodes, that is, there are no adjacent XmlText nodes. Not implemented. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Protected Member Functions

 ~XmlAttribute () override
 Destructor. More...
 
 XmlAttribute (xmlAttr *attr, const SharedPtr< XmlDocument > &owner)
 Constructs a new XmlAttribute object that represents the specified attribute in the specified XmlDocument. More...
 
 XmlAttribute (xmlNs *ns, const SharedPtr< XmlDocument > &owner, const SharedPtr< XmlElement > &element)
 Constructs an instance of XmlAttribute class that represents an xmlns attribute and belongs to the specified document. More...
 
 XmlAttribute (const String &prefix, const String &local_name, const String &namespace_uri, const SharedPtr< XmlDocument > &owner)
 Constructs an XmlAttribute object that represents a detached XML attribute belonging to the specified owner. More...
 
bool isDetached () const
 Determines if the XML attribute represented by the current object is detached. More...
 
SharedPtr< XmlAttributeAttachTo (const SharedPtr< XmlElement > &element)
 Attaches the attribute represented by the current object to the specified XML element. More...
 
SharedPtr< XmlAttributeDetachFrom (const SharedPtr< XmlElement > &element)
 Detaches the attribute represented by the current object from the specified XML element. More...
 
- Protected Member Functions inherited from System::Xml::XmlNode
 ~XmlNode () override
 Destructor. More...
 
 XmlNode (xmlNode *node)
 Constructs an instance of XmlNode class that represents the specified XML node. More...
 
 XmlNode (xmlNode *node, const SharedPtr< XmlDocument > &owner)
 Constructs an instance of XmlNode class that represents the specified XML node and belongs to the specified owner XML document. More...
 
 XmlNode (const SharedPtr< XmlDocument > &owner)
 Constructs an instance of XmlNode class that belongs to the specified document. The underlying libxml2 xmlNode object is not created. This constructor is intended to be used by XmlDeclaration class only. More...
 
SharedPtr< XmlElementfind_child_xml_element_by_name (const String &name, const SharedPtr< XmlDocument > &owner_doc) const
 Looks up an XML element with the specified name which is a descandant of the specified XML document. More...
 
uint64_t child_elements_count () const
 Returns the number of children of all levels of the XML node represented by the current object. More...
 
bool can_be_append (XmlNodeType type) const
 Determines if an XML node of the specified type can be added as a child node to the XML node represented by the current object. More...
 
insert_where noralize_place (xmlNode *ref_child, insert_where place)
 Normalizes the indicator of the position where the node is to be inserted by making it consistent with the reference child value and presence of nodes in the list of children of the current node. More...
 
void insert_verified_child_node (const XmlNode::Ptr &child, xmlNode *ref_child, insert_where place)
 Inserts the specified node in the list of children of the node represented by the current object at the specified position. More...
 
void insert_document_fragment (const XmlNode::Ptr &fragment, xmlNode *ref_child, insert_where place)
 Inserts the nodes of the specified document fragment in the list of children of the node represented by the current object at the specified position. More...
 
void reassign_native (xmlNode *node)
 Replaces the node reprsented by the current object with the specified one. More...
 
xmlAttr * get_attribute_by_qname (const String &qname) const
 Returns an attribute with the specified qualified name. More...
 
xmlNs * find_ns (const std::string &prefix) const
 Returns a namespace associated with the specified prefix. More...
 
void set_Value (const String &text, bool riseEvent)
 Sets the value of the XML node represented by the current object and triggers corresponding events. More...
 

Static Protected Member Functions

static const xmlChar * GetNativeValue (const xmlAttr *attr)
 Returns the value of the specified XML attribute. More...
 
- Static Protected Member Functions inherited from System::Xml::XmlNode
static xmlNs * make_new_ns (xmlNodePtr parent, const std::string &prefix, const std::string &uri="")
 Creates a new namespace. More...
 
static int parse_qname (const System::String &qname, std::string &prefix, std::string &local_name)
 Parses the XML node's qualified name by breaking it into a prefix and a local name. More...
 
static int csharp_nodetype_to_libxml (XmlNodeType type)
 Converts the specified XML node type represented as an XmlNodeType value to equivalent value defied by libxml2 library. More...
 
static XmlNode::Ptr create_wrapper (xmlNode *node, const SharedPtr< XmlDocument > &owner, const std::shared_ptr< xmlDoc > &doc=nullptr)
 Creates an instance of XmlNode class that represents the specified node and belongs to the specified document. More...
 
static SharedPtr< XmlAttributecreate_wrapper_attr (xmlAttr *attr, const SharedPtr< XmlDocument > &owner)
 Creates an instance of XmlAttribute class that represents the specified attribute and belongs to the specified document. More...
 
static SharedPtr< XmlAttributecreate_wrapper_attr (xmlNs *ns, const SharedPtr< XmlDocument > &owner, const SharedPtr< XmlElement > &element)
 Creates an instance of XmlAttribute class that represents an xmlns attribute and belongs to the specified document. More...
 
static SharedPtr< XmlAttributecreate_wrapper_attr (const String &prefix, const String &local_name, const String &namespace_uri, const SharedPtr< XmlDocument > &owner)
 Constructs an XmlAttribute object that represents a detached XML attribute belonging to the specified owner. More...
 
template<typename T >
static SharedPtr< T > create_aliasing_wrapper (const SharedPtr< T > &ptr, const SharedPtr< XmlDocument > &document)
 Creates a shared pointer for pointee to an XML-node with aliasing constructor to own a document. More...
 

Protected Attributes

SharedPtr< Details::XmlAttributeBaseImpl > m_attr_pimpl
 Pointer to the implementation of the object representing the XML attribute. More...
 
- Protected Attributes inherited from System::Xml::XmlNode
std::shared_ptr< xmlDoc > m_doc
 XML document to which the XML node represented by the current object belongs. More...
 
xmlNode * m_node
 Pointer to underlying libxml2 xmlNode object. More...
 
WeakPtr< XmlDocumentm_owner
 Weak poiter to the owning XML document. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
- Protected Types inherited from System::Xml::XmlNode
enum  insert_where { insert_begin , insert_before , insert_after , insert_end }
 Specifies the position in the child nodes list where to insert a node during insertion operation. More...
 

Detailed Description

Represents an attribute associated with an xml element. Objects of this class should only be allocated using System::MakeObject() function. Never create instance 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.

Member Typedef Documentation

◆ Ptr

An alias for a shared pointer to an instance of this class.

Constructor & Destructor Documentation

◆ ~XmlAttribute()

System::Xml::XmlAttribute::~XmlAttribute ( )
overrideprotected

Destructor.

◆ XmlAttribute() [1/3]

System::Xml::XmlAttribute::XmlAttribute ( xmlAttr *  attr,
const SharedPtr< XmlDocument > &  owner 
)
protected

Constructs a new XmlAttribute object that represents the specified attribute in the specified XmlDocument.

Parameters
attrThe attribute to be represented by the object being created
ownerThe attribute's owner document

◆ XmlAttribute() [2/3]

System::Xml::XmlAttribute::XmlAttribute ( xmlNs *  ns,
const SharedPtr< XmlDocument > &  owner,
const SharedPtr< XmlElement > &  element 
)
protected

Constructs an instance of XmlAttribute class that represents an xmlns attribute and belongs to the specified document.

Parameters
nsThe namespace that the attribute represented by the current object should declare
ownerThe XmlDocument object to which the created XmlAttribute object should belong
elementThe XmlElementDocument object to which the created XmlAttribute object should belong

◆ XmlAttribute() [3/3]

System::Xml::XmlAttribute::XmlAttribute ( const String prefix,
const String local_name,
const String namespace_uri,
const SharedPtr< XmlDocument > &  owner 
)
protected

Constructs an XmlAttribute object that represents a detached XML attribute belonging to the specified owner.

Parameters
prefixThe namespace prefix of the attribute
local_nameThe local name of the attribute
namespace_uriThe namespace URI associated with the attribute
ownerThe owner document of the attribute

Member Function Documentation

◆ AttachTo()

SharedPtr<XmlAttribute> System::Xml::XmlAttribute::AttachTo ( const SharedPtr< XmlElement > &  element)
protected

Attaches the attribute represented by the current object to the specified XML element.

Parameters
elementThe XML element to attach the current attribute to
Returns
A pointer the self

◆ CloneNode()

XmlNode::Ptr System::Xml::XmlAttribute::CloneNode ( bool  deep)
overridevirtual

NOT IMPLEMENTED.

Exceptions
NotImplementedExceptionAlways

Implements System::Xml::XmlNode.

◆ DetachFrom()

SharedPtr<XmlAttribute> System::Xml::XmlAttribute::DetachFrom ( const SharedPtr< XmlElement > &  element)
protected

Detaches the attribute represented by the current object from the specified XML element.

Parameters
elementThe XML element to detach the current attribute from
Returns
A pointer to the self

◆ get_FirstChild()

XmlNode::Ptr System::Xml::XmlAttribute::get_FirstChild ( ) const
inlineoverridevirtual

Always returns null-pointer.

Reimplemented from System::Xml::XmlNode.

◆ get_HasChildNodes()

bool System::Xml::XmlAttribute::get_HasChildNodes ( ) const
inlineoverridevirtual

Determines if the current attribute node has children.

Returns
Always false

Reimplemented from System::Xml::XmlNode.

◆ get_InnerText()

String System::Xml::XmlAttribute::get_InnerText ( ) const
inlineoverridevirtual

Returns the value of the current attribute.

Reimplemented from System::Xml::XmlNode.

◆ get_InnerXml()

String System::Xml::XmlAttribute::get_InnerXml ( ) const
overridevirtual

Returns the value of the current attribute.

Reimplemented from System::Xml::XmlNode.

◆ get_LastChild()

XmlNode::Ptr System::Xml::XmlAttribute::get_LastChild ( ) const
inlineoverridevirtual

Always returns null-pointer.

Reimplemented from System::Xml::XmlNode.

◆ get_LocalName()

String System::Xml::XmlAttribute::get_LocalName ( ) const
overridevirtual

Returns the local name of the current attribute.

Reimplemented from System::Xml::XmlNode.

◆ get_Name()

String System::Xml::XmlAttribute::get_Name ( ) const
overridevirtual

Returns the qualified name of the current attribute.

Implements System::Xml::XmlNode.

◆ get_NamespaceURI()

String System::Xml::XmlAttribute::get_NamespaceURI ( ) const
overridevirtual

Returns the namespace URI of the attribute represented by the current object.

Reimplemented from System::Xml::XmlNode.

◆ get_NextSibling()

XmlNode::Ptr System::Xml::XmlAttribute::get_NextSibling ( ) const
inlineoverridevirtual

Always returns null-pointer.

Reimplemented from System::Xml::XmlNode.

◆ get_NodeType()

XmlNodeType System::Xml::XmlAttribute::get_NodeType ( ) const
inlineoverridevirtual

Returns the type of the current node.

Reimplemented from System::Xml::XmlNode.

◆ get_OuterXml()

String System::Xml::XmlAttribute::get_OuterXml ( ) const
inlineoverridevirtual

Returns the markup of the current attribute in the format [attribute_name]=[attribute_value].

Reimplemented from System::Xml::XmlNode.

◆ get_OwnerElement()

virtual SharedPtr<XmlElement> System::Xml::XmlAttribute::get_OwnerElement ( ) const
virtual

Returns an XmlElement object that represents an XML element that owns the attribute represented by the current object.

◆ get_ParentNode()

XmlNode::Ptr System::Xml::XmlAttribute::get_ParentNode ( ) const
inlineoverridevirtual

Always returns null-pointer.

Reimplemented from System::Xml::XmlNode.

◆ get_Prefix()

String System::Xml::XmlAttribute::get_Prefix ( ) const
overridevirtual

Returns the namespace prefix of the attribute represented by the current object.

Reimplemented from System::Xml::XmlNode.

◆ get_PreviousSibling()

XmlNode::Ptr System::Xml::XmlAttribute::get_PreviousSibling ( ) const
inlineoverridevirtual

Always returns null-pointer.

Reimplemented from System::Xml::XmlNode.

◆ get_SchemaInfo()

SharedPtr<Schema::IXmlSchemaInfo> System::Xml::XmlAttribute::get_SchemaInfo ( )
overridevirtual

Reimplemented from System::Xml::XmlNode.

◆ get_Value()

String System::Xml::XmlAttribute::get_Value ( ) const
overridevirtual

Returns the value of the current attribute.

Reimplemented from System::Xml::XmlNode.

◆ GetNativeValue()

static const xmlChar* System::Xml::XmlAttribute::GetNativeValue ( const xmlAttr *  attr)
staticprotected

Returns the value of the specified XML attribute.

Parameters
attrThe attribute to retrieve the value of
Returns
A pointer to the beginning of null-terminated UTF-8 string representing the value of the attribute attr

◆ idx_get()

SharedPtr<XmlElement> System::Xml::XmlAttribute::idx_get ( String  ) const
inlineoverridevirtual

Always returns null-pointer.

Reimplemented from System::Xml::XmlNode.

◆ isDetached()

bool System::Xml::XmlAttribute::isDetached ( ) const
protected

Determines if the XML attribute represented by the current object is detached.

Returns
True if the attribute is detached, otherwise - false

◆ RemoveAll()

void System::Xml::XmlAttribute::RemoveAll ( )
inlineoverridevirtual

Does nothing.

Reimplemented from System::Xml::XmlNode.

◆ RemoveChild()

XmlNode::Ptr System::Xml::XmlAttribute::RemoveChild ( XmlNode::Ptr  child)
inlineoverridevirtual

Does nothing.

Parameters
childIGNORED
Returns
Null-pointer

Reimplemented from System::Xml::XmlNode.

◆ set_InnerText()

void System::Xml::XmlAttribute::set_InnerText ( String  value)
inlineoverridevirtual

Sets the value of the attribute represented by the current object.

Parameters
valueThe value to set

Reimplemented from System::Xml::XmlNode.

◆ set_InnerXml()

void System::Xml::XmlAttribute::set_InnerXml ( String  )
inlineoverridevirtual

Does nothing.

Reimplemented from System::Xml::XmlNode.

◆ set_Prefix()

void System::Xml::XmlAttribute::set_Prefix ( String  value)
overridevirtual

Sets the namespace prefix of the attribute represented by the current object.

Parameters
valueThe namespace prefix to set

Reimplemented from System::Xml::XmlNode.

◆ set_Value()

void System::Xml::XmlAttribute::set_Value ( String  value)
overridevirtual

Sets the value of the attribute represented by the current object.

Parameters
valueThe value to set

Reimplemented from System::Xml::XmlNode.

◆ WriteContentTo()

void System::Xml::XmlAttribute::WriteContentTo ( SharedPtr< XmlWriter writer)
overridevirtual

Writes the value of the attribute represented by the current object to the specified XmlWriter.

Parameters
writerThe XmlWriter object to write to

Reimplemented from System::Xml::XmlNode.

◆ WriteTo()

void System::Xml::XmlAttribute::WriteTo ( SharedPtr< XmlWriter writer)
overridevirtual

Writes the attribute represented by the current object to the specified XmlWriter object.

Parameters
writerThe XmlWriter object to write to.

Implements System::Xml::XmlNode.

Member Data Documentation

◆ m_attr_pimpl

SharedPtr<Details::XmlAttributeBaseImpl> System::Xml::XmlAttribute::m_attr_pimpl
protected

Pointer to the implementation of the object representing the XML attribute.