Inherits System::Object.
Inherited by System::Xml::XmlAttribute, System::Xml::XmlCharacterData, System::Xml::XmlDeclaration, System::Xml::XmlDocument, System::Xml::XmlDocumentFragment, System::Xml::XmlDocumentType, System::Xml::XmlElement, and System::Xml::XmlProcessingInstruction.
Public Types | |
typedef SharedPtr< XmlNode > | Ptr |
An alias for shared pointer to an instance of this class. More... | |
![]() | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
typedef System::Details::SharedMembersType | shared_members_type |
structure to keep list of shared pointers contained in object. More... | |
Public Member Functions | |
virtual ASPOSECPP_SHARED_API | ~XmlNode () |
Destructor. More... | |
virtual ASPOSECPP_SHARED_API XmlNodeType | get_NodeType () const |
Returns the type of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_Name () const =0 |
Returns the qualified name of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_Value () const |
Returns the value of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_LocalName () const |
Returns the local name of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_Prefix () const |
Returns the prefix of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_NamespaceURI () const |
Returns the namespace URI of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_InnerText () const |
Returns the concatenated values of the XML node represented by the current object and all its child nodes. More... | |
virtual ASPOSECPP_SHARED_API String | get_InnerXml () const |
Returns the XML markup representing the child nodes of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API String | get_OuterXml () const |
Returns the XML markup representing the XML node represented by the current object and all its the child nodes. More... | |
virtual ASPOSECPP_SHARED_API bool | get_HasChildNodes () const |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | get_FirstChild () const |
Returns the first child of the node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | get_LastChild () const |
Returns the last child of the node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | get_NextSibling () const |
Returns the next sibling of the node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | get_PreviousSibling () const |
Returns the previous sibling of the node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | get_ParentNode () const |
Returns the parent node of the node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API SharedPtr< XmlDocument > | get_OwnerDocument () const |
virtual ASPOSECPP_SHARED_API SharedPtr< XmlAttributeCollection > | get_Attributes () |
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeList > | get_ChildNodes () |
virtual ASPOSECPP_SHARED_API void | set_Value (String value) |
virtual void | set_Prefix (String) |
Sets the prefix of the XML node represented by the current object. More... | |
virtual ASPOSECPP_SHARED_API void | set_InnerText (String value) |
virtual ASPOSECPP_SHARED_API void | set_InnerXml (String value) |
virtual SharedPtr< XmlElement > | idx_get (String) const |
Returns a shared pointer to the newly constructed XmlElement object. More... | |
virtual SharedPtr< XmlElement > | operator[] (String name) const |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | AppendChild (XmlNode::Ptr child) |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | PrependChild (XmlNode::Ptr new_child) |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | ReplaceChild (XmlNode::Ptr new_child, XmlNode::Ptr old_child) |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | InsertAfter (XmlNode::Ptr new_child, XmlNode::Ptr ref_child) |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | InsertBefore (XmlNode::Ptr new_child, XmlNode::Ptr ref_child) |
virtual ASPOSECPP_SHARED_API void | RemoveAll () |
Removes all child nodes of the XML node reprsented by the current object. More... | |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | RemoveChild (XmlNode::Ptr child) |
virtual ASPOSECPP_SHARED_API String | GetPrefixOfNamespace (const String &namespace_uri) |
virtual ASPOSECPP_SHARED_API String | GetNamespaceOfPrefix (const String &prefix) |
virtual void | WriteContentTo (SharedPtr< XmlWriter > writer) |
virtual ASPOSECPP_SHARED_API void | WriteTo (SharedPtr< XmlWriter > writer)=0 |
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeList > | SelectNodes (String xPath) |
virtual ASPOSECPP_SHARED_API SharedPtr< XmlNodeList > | SelectNodes (String xPath, SharedPtr< XmlNamespaceManager > nsMgr) |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | SelectSingleNode (String xPath) |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | SelectSingleNode (String xPath, SharedPtr< XmlNamespaceManager > nsMgr) |
ASPOSECPP_SHARED_API SharedPtr< System::Collections::Generic::IEnumerator< XmlNode::Ptr > > | GetEnumerator () |
virtual ASPOSECPP_SHARED_API XmlNode::Ptr | CloneNode (bool deep)=0 |
XmlNode::Ptr | Clone () |
xmlNode * | native_node () |
Returns a pointer to the underlying libxml2 xmlNode object. More... | |
![]() | |
ASPOSECPP_SHARED_API | Object () |
Creates object. Initializes all internal data structures. More... | |
virtual ASPOSECPP_SHARED_API | ~Object () |
Destroys object. Frees all internal data structures. More... | |
ASPOSECPP_SHARED_API | Object (Object const &x) |
Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
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 refernce counter. More... | |
ASPOSECPP_SHARED_API void | Lock () |
Implements C# lock() statement locking. Call directly or use LockContext sentry object. More... | |
ASPOSECPP_SHARED_API void | Unlock () |
Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More... | |
virtual ASPOSECPP_SHARED_API bool | Equals (ptr obj) |
Compares objects using C# Object.Equals semantics. More... | |
virtual ASPOSECPP_SHARED_API int | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual ASPOSECPP_SHARED_API String | ToString () ASPOSE_CONST |
Analog of C# Object.ToString() method. Enables converting custom objects to string. More... | |
virtual ASPOSECPP_SHARED_API ptr | MemberwiseClone () const |
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More... | |
virtual ASPOSECPP_SHARED_API const TypeInfo & | GetType () const |
Gets actual type of object. Analog of C# System.Object.GetType() call. More... | |
virtual ASPOSECPP_SHARED_API bool | Is (const TypeInfo &targetType) const |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More... | |
virtual ASPOSECPP_SHARED_API void | SetTemplateWeakPtr (unsigned int argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
template<> | |
bool | Equals (double const &objA, double const &objB) |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Protected Types | |
enum | insert_where { insert_begin, insert_before, insert_after, insert_end } |
Protected Member Functions | |
ASPOSECPP_SHARED_API | XmlNode (xmlNode *node) |
ASPOSECPP_SHARED_API | XmlNode (xmlNode *node, const SharedPtr< XmlDocument > &owner) |
ASPOSECPP_SHARED_API | XmlNode (const SharedPtr< XmlDocument > &owner) |
SharedPtr< XmlElement > | find_child_xml_element_by_name (const String &name, const SharedPtr< XmlDocument > &owner_doc) const |
uint64_t | child_elements_count () const |
bool | can_be_append (XmlNodeType type) const |
insert_where | noralize_place (xmlNode *ref_child, insert_where place) |
void | insert_verified_child_node (const XmlNode::Ptr &child, xmlNode *ref_child, insert_where place) |
void | insert_document_fragment (const XmlNode::Ptr &fragment, xmlNode *ref_child, insert_where place) |
void | reassign_native (xmlNode *node) |
xmlAttr * | get_attribute_by_qname (const String &qname) const |
xmlNs * | find_ns (const std::string &prefix) const |
ASPOSECPP_SHARED_API void | set_Value (const String &text, bool riseEvent) |
Static Protected Member Functions | |
static xmlNs * | make_new_ns (xmlNodePtr parent, const std::string &prefix, const std::string &uri="") |
static void | parse_qname (const std::string &qname, std::string &prefix, std::string &local_name) |
static int | csharp_nodetype_to_libxml (XmlNodeType type) |
static XmlNode::Ptr | create_wrapper (xmlNode *node, const SharedPtr< XmlDocument > &owner, const std::shared_ptr< xmlDoc > &doc=nullptr) |
static SharedPtr< XmlAttribute > | create_wrapper_attr (xmlAttr *attr, const SharedPtr< XmlDocument > &owner) |
static SharedPtr< XmlAttribute > | create_wrapper_attr (xmlNs *ns, const SharedPtr< XmlDocument > &owner, const SharedPtr< XmlElement > &element) |
static SharedPtr< XmlAttribute > | create_wrapper_attr (const String &prefix, const String &local_name, const String &namespace_uri, const SharedPtr< XmlDocument > &owner) |
Protected Attributes | |
std::shared_ptr< xmlDoc > | m_doc |
xmlNode * | m_node |
Pointer to underlying libxml2 xmlNode object. More... | |
WeakPtr< XmlDocument > | m_owner |
Weak poiter to the owning XML document. More... | |
Additional Inherited Members | |
![]() | |
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 TypeInfo & | Type () |
Impleemnts C# typeof(System.Object) construct. More... | |
Represents an XML node. 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.
typedef SharedPtr<XmlNode> System::Xml::XmlNode::Ptr |
An alias for shared pointer to an instance of this class.
|
protected |
Specifies the position in the child nodes list where to insert a node during insertion operation.
|
virtual |
Destructor.
|
protected |
Constructs an instance of XmlNode class that represents the specified XML node.
node | The node to be represented by the object being constructed |
|
protected |
Constructs an instance of XmlNode class that represents the specified XML node and belongs to the specified owner XML document.
node | The node to be represented by the object being constructed |
owner | The XML document to which the XML node represented by the object being constructed should belong. |
|
protected |
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.
owner | An XmlDocument object representing the owner document of the node being constructed |
|
virtual |
Adds the specified XML node at the end of the list of children of the XML node represented by the current object.
child | The XML node to add |
child
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlElement, and System::Xml::XmlDocumentFragment.
|
protected |
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.
type | The type to check |
type
can be a child node of the node represented by the current object, otherwise - false
|
protected |
Returns the number of children of all levels of the XML node represented by the current object.
|
inline |
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).
|
pure virtual |
Returns a copy of the node represented by the current object.
deep | Specifies whether to clone the subtree under the node represented by the current object (true) or only the node itself (false) |
Implemented in System::Xml::XmlDocument, System::Xml::XmlElement, System::Xml::XmlAttribute, System::Xml::XmlDeclaration, System::Xml::XmlDocumentFragment, System::Xml::XmlCharacterData, System::Xml::XmlDocumentType, and System::Xml::XmlProcessingInstruction.
|
staticprotected |
Creates an instance of XmlNode class that represents the specified node and belongs to the specified document.
node | The XML node to be represented by the XmlNode object being created |
owner | The XmlDocument object to which the created XmlNode object should belong |
doc | The xmlDoc object shared among all XmlNodes |
node
node and belongs to owner
document
|
staticprotected |
Creates an instance of XmlAttribute class that represents the specified attribute and belongs to the specified document.
attr | The XML attribute to be represented by the XmlAttribute object being created |
owner | The XmlDocument object to which the created XmlAttribute object should belong |
attr
attribute and belongs to owner
document
|
staticprotected |
Creates an instance of XmlAttribute class that represents an xmlns attribute and belongs to the specified document.
ns | The namespace that the attribute represented by the current object should declare |
owner | The XmlDocument object to which the created XmlAttribute object should belong |
element | The XmlElement object to which the created XmlAttribute object should belong |
ns
and belongs to owner
document
|
staticprotected |
Constructs an XmlAttribute object that represents a detached XML attribute belonging to the specified owner.
prefix | The namespace prefix of the attribute |
local_name | The local name of the attribute |
namespace_uri | The namespace URI associated with the attribute |
owner | The owner document of the attribute |
|
staticprotected |
Converts the specified XML node type represented as an XmlNodeType value to equivalent value defied by libxml2 library.
type | An XmlNodeType value to convert |
type
value
|
protected |
Looks up an XML element with the specified name which is a descandant of the specified XML document.
name | The qualified name of the XML element to find |
owner_doc | The XML document |
|
protected |
Returns a namespace associated with the specified prefix.
prefix | A namespace prefix |
|
protected |
Returns an attribute with the specified qualified name.
qname | The attribute's qualified name |
|
virtual |
Returns an XmlAttributeCollection object containing all attributes of the XML node represented by the current object.
Reimplemented in System::Xml::XmlElement.
|
virtual |
Returns an XmlNodeList object containing all child nodes of the XML node represented by the current object.
|
virtual |
Returns the first child of the node represented by the current object.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Determines if the XML node represented by the current object has child nodes.
Reimplemented in System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns the concatenated values of the XML node represented by the current object and all its child nodes.
Reimplemented in System::Xml::XmlAttribute, System::Xml::XmlDeclaration, System::Xml::XmlProcessingInstruction, and System::Xml::XmlCDataSection.
|
virtual |
Returns the XML markup representing the child nodes of the XML node represented by the current object.
Reimplemented in System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns the last child of the node represented by the current object.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns the local name of the XML node represented by the current object.
Reimplemented in System::Xml::XmlElement, System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
pure virtual |
Returns the qualified name of the XML node represented by the current object.
Implemented in System::Xml::XmlDocument, System::Xml::XmlElement, System::Xml::XmlAttribute, System::Xml::XmlDocumentType, System::Xml::XmlText, System::Xml::XmlCDataSection, System::Xml::XmlProcessingInstruction, System::Xml::XmlComment, System::Xml::XmlDeclaration, and System::Xml::XmlDocumentFragment.
|
virtual |
Returns the namespace URI of the XML node represented by the current object.
Reimplemented in System::Xml::XmlAttribute, System::Xml::XmlElement, and System::Xml::XmlDeclaration.
|
virtual |
Returns the next sibling of the node represented by the current object.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns the type of the XML node represented by the current object.
Reimplemented in System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns the XML markup representing the XML node represented by the current object and all its the child nodes.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns a shared pointer to an XmlDocument object representing an XML document node to which the node represented by the current object belongs.
Reimplemented in System::Xml::XmlDocument.
|
virtual |
Returns the parent node of the node represented by the current object.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns the prefix of the XML node represented by the current object.
Reimplemented in System::Xml::XmlAttribute, System::Xml::XmlElement, and System::Xml::XmlDeclaration.
|
virtual |
Returns the previous sibling of the node represented by the current object.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
virtual |
Returns the value of the XML node represented by the current object.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, System::Xml::XmlElement, and System::Xml::XmlDeclaration.
ASPOSECPP_SHARED_API SharedPtr<System::Collections::Generic::IEnumerator<XmlNode::Ptr> > System::Xml::XmlNode::GetEnumerator | ( | ) |
Returns an enumerator that points to the collection containing child nodes of the node represented by the current object.
|
virtual |
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.
prefix | The prefix whose namespace URI to find |
|
virtual |
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.
namespace_uri | The namespace URI whose prefix to find |
|
inlinevirtual |
Returns a shared pointer to the newly constructed XmlElement object.
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlElement, and System::Xml::XmlAttribute.
|
protected |
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.
fragment | The document fragment to insert |
ref_child | The reference child node; place specifies the insertion position as relative to the position of ref_child child node |
place | Specified the insertion position relative to the position of ref_child |
|
protected |
Inserts the specified node in the list of children of the node represented by the current object at the specified position.
child | A node to insert |
ref_child | The reference child node; place specifies the insertion position as relative to the position of ref_child child node |
place | Specified the insertion position relative to the position of ref_child |
|
virtual |
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.
new_child | The XML node to add |
ref_child | The reference node indicating the position in the list of children next to which node should be inserted |
child
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlElement, and System::Xml::XmlDocumentFragment.
|
virtual |
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.
new_child | The XML node to add |
ref_child | The reference node indicating the position in the list of children next to which node should be inserted |
child
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlElement, and System::Xml::XmlDocumentFragment.
|
staticprotected |
Creates a new namespace.
parent | The element that carries the namespace |
prefix | The prefix to be associated with the namespace; empty string if a default namespace is to be created |
uri | The URI for the namespace |
|
inline |
Returns a pointer to the underlying libxml2 xmlNode object.
|
protected |
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.
ref_child | The reference node relative to which the insertion position is specified |
place | The insertion position relative to the position of reference node |
|
inlinevirtual |
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.
name | The qualified name of the element to return |
name
.
|
staticprotected |
Parses the XML node's qualified name by breaking it into a prefix and a local name.
qname | The qualfied name to parse |
prefix | Output argument; the prefix part of the specified qualified name is assigned to it |
local_name | Output argument; the local name part of the specified qualified name is assigned to it |
|
virtual |
Adds the specified XML node at the beginning of the list of children of the XML node represented by the current object.
new_child | The XML node to add |
child
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlElement, and System::Xml::XmlDocumentFragment.
|
protected |
Replaces the node reprsented by the current object with the specified one.
node | The new node to be represented by the current object |
|
virtual |
Removes all child nodes of the XML node reprsented by the current object.
Reimplemented in System::Xml::XmlAttribute.
|
virtual |
Removes the specified child node of the XML node represented by the current object.
child | The node to remove |
Reimplemented in System::Xml::XmlDocument, and System::Xml::XmlAttribute.
|
virtual |
Replaces the specified the specified child node of the node reprsented by the current object with another one.
old_child | The node to replace |
new_child | The node to replace old_child node with |
|
virtual |
Returns a list of XML nodes that match the specfied XPath expression.
xPath | The XPath expression |
Reimplemented in System::Xml::XmlDocument.
|
virtual |
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.
xPath | The XPath expression |
nsMgr | The XmlNamespaceManager object used to resolve prefixes found in xpath expression |
Reimplemented in System::Xml::XmlDocument.
|
virtual |
|
virtual |
Returns the first XML node that match the specfied XPath expression; any prefixes encountered in xpath
expression are resolved using the specified namespace manager.
xPath | The XPath expression |
nsMgr | The XmlNamespaceManager object used to resolve prefixes found in xpath expression |
Reimplemented in System::Xml::XmlDocument.
|
virtual |
Sets the XML node's inner text by replacing all the child nodes (if any) with the contents of the given string.
value | The inner text to set; all XML markup encountered in this string is escaped |
Reimplemented in System::Xml::XmlDocument, System::Xml::XmlAttribute, and System::Xml::XmlCDataSection.
|
virtual |
Replaces the XML node's inner XML markup with the contents of the specified string.
value | The XML markup to set |
Reimplemented in System::Xml::XmlAttribute.
|
inlinevirtual |
Sets the prefix of the XML node represented by the current object.
Reimplemented in System::Xml::XmlAttribute, and System::Xml::XmlElement.
|
virtual |
Sets the value of the node represented by the current object.
value | The value to set |
Reimplemented in System::Xml::XmlAttribute, and System::Xml::XmlDeclaration.
|
protected |
Sets the value of the XML node represented by the current object and triggers corresponding events.
text | The value to set |
riseEvent | Specifies whether OnNodeChanging and OnNodeChanged events should be triggered |
Saves all children of the XML node represented by the current object to the specified XmlWriter object.
writer | A XmlWriter object to save the chlid nodes to |
Reimplemented in System::Xml::XmlElement, System::Xml::XmlDocument, System::Xml::XmlAttribute, System::Xml::XmlDeclaration, System::Xml::XmlDocumentFragment, and System::Xml::XmlCDataSection.
|
pure virtual |
Saves the XML node represented by the current object to the specified XmlWriter object.
writer | A XmlWriter object to save the node to |
Implemented in System::Xml::XmlElement, System::Xml::XmlDocument, System::Xml::XmlAttribute, System::Xml::XmlDeclaration, System::Xml::XmlDocumentFragment, System::Xml::XmlCDataSection, System::Xml::XmlDocumentType, System::Xml::XmlProcessingInstruction, System::Xml::XmlText, and System::Xml::XmlComment.
|
protected |
XML document to which the XML node represented by the current object belongs.
|
protected |
Pointer to underlying libxml2 xmlNode object.
|
protected |
Weak poiter to the owning XML document.