5#include <xml/xml_node_type.h>
6#include <xml/xml_node.h>
7#include <system/shared_ptr.h>
17class DocumentSchemaValidator;
18class DocumentXPathNavigator;
24class XmlAttributeCollection;
31class XmlUnspecifiedAttribute;
54 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
55 ASPOSECPP_SHARED_RTTI_INFO_DECL();
64 friend class DocumentSchemaValidator;
65 friend class DocumentXPathNavigator;
68 friend class XmlLoader;
69 friend class XmlUnspecifiedAttribute;
70 friend class Schema::XsdBuilder;
202 int32_t get_LocalNameHash();
206 ASPOSECPP_SHARED_API
bool get_IsContainer()
override;
210 ASPOSECPP_SHARED_API
String get_XmlLang()
override;
212 ASPOSECPP_SHARED_API
String get_XPLocalName()
override;
213 bool get_IsNamespace();
228 bool PrepareOwnerElementInElementIdAttrMap();
229 void ResetOwnerElementInElementIdAttrMap(
const String& oldInnerText);
231 ASPOSECPP_SHARED_API
bool IsValidChildType(
XmlNodeType type)
override;
238 #ifdef ASPOSE_GET_SHARED_MEMBERS
239 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
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
Represents a collection of attributes that can be accessed by name or index.
Definition: xml_attribute_collection.h:35
Represents an attribute. Valid and default values for the attribute are defined in a document type de...
Definition: xml_attribute.h:50
virtual bool get_Specified()
Returns a value indicating whether the attribute value was explicitly set.
String get_NamespaceURI() override
Returns the namespace URI of this node.
String get_Value() override
Returns the value of the node.
SharedPtr< XmlNode > InsertBefore(SharedPtr< XmlNode > newChild, SharedPtr< XmlNode > refChild) override
Inserts the specified node immediately before the specified reference node.
void WriteContentTo(const SharedPtr< XmlWriter > &w) override
Saves all the children of the node to the specified XmlWriter.
SharedPtr< XmlDocument > get_OwnerDocument() override
Returns the XmlDocument to which this node belongs.
virtual SharedPtr< XmlElement > get_OwnerElement()
Returns the XmlElement to which the attribute belongs.
SharedPtr< Schema::IXmlSchemaInfo > get_SchemaInfo() override
Returns the post-schema-validation-infoset that has been assigned to this node as a result of schema ...
void set_InnerXml(String value) override
Sets the value of the attribute.
void WriteTo(const SharedPtr< XmlWriter > &w) override
Saves the node to the specified XmlWriter.
String get_Name() override
Returns the qualified name of the node.
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(XmlAttribute, CODEPORTING_ARGS(const String &prefix, const String &localName, const String &namespaceURI, const SharedPtr< XmlDocument > &doc))
SharedPtr< XmlNode > AppendChild(SharedPtr< XmlNode > newChild) override
Adds the specified node to the end of the list of child nodes, of this node.
void set_Value(String value) override
Sets the value of the node.
SharedPtr< XmlNode > ReplaceChild(SharedPtr< XmlNode > newChild, SharedPtr< XmlNode > oldChild) override
Replaces the child node specified with the new child node specified.
void set_InnerText(String value) override
Sets the concatenated values of the node and all its children.
SharedPtr< XmlNode > RemoveChild(SharedPtr< XmlNode > oldChild) override
Removes the specified child node.
String get_BaseURI() override
Returns the base Uniform Resource Identifier (URI) of the node.
void set_Prefix(String value) override
Sets the namespace prefix of this node.
SharedPtr< XmlNode > PrependChild(SharedPtr< XmlNode > newChild) override
Adds the specified node to the beginning of the list of child nodes for this node.
XmlNodeType get_NodeType() override
Returns the type of the current node.
SharedPtr< XmlNode > InsertAfter(SharedPtr< XmlNode > newChild, SharedPtr< XmlNode > refChild) override
Inserts the specified node immediately after the specified reference node.
String get_Prefix() override
Returns the namespace prefix of this node.
SharedPtr< XmlNode > CloneNode(bool deep) override
Creates a duplicate of this node.
String get_LocalName() override
Returns the local name of the node.
XmlAttribute(const String &prefix, const String &localName, const String &namespaceURI, const SharedPtr< XmlDocument > &doc)
Initializes a new instance of the XmlAttribute class.
Represents an XML document. You can use this class to load, validate, edit, add, and position XML in ...
Definition: xml_document.h:100
Represents a single node in the XML document.
Definition: xml_node.h:75
XPathNodeType
Defines the XPath node types that can be returned from the XPathNavigator class.
Definition: xpath_node_type.h:17
XmlSpace
Specifies the current xml:space scope.
Definition: xml_space.h:15
@ Schema
Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas....
@ Xml
Serialize according to the XML 1.0 rules.
XmlNodeType
Specifies the type of node.
Definition: xml_node_type.h:15
Definition: db_command.h:9